hexagon logo

Help basic script

will it be possible to put a picture on a button?
will it be possible with a basic scrip to run another basic script ?
If possible how can I do it?
Parents

  • I am trying to create a dot with the vb.net code this and the beginning of what I want to do.
    but this is generating many errors.
    Can someone help me with these errors?


    ' Create vectorpoints
    Set cmd = PCDCommands.Add(602, True) ' 602 is vectorpoint
    cmd.Marked = True
    'Featurename is "sourcefeaturename-hitnumber" -> PLANE1-1
    retval = cmd.PutText(PCDCommand.ID & "-" & Fcntr, ID, 0) ' name our vectorpoint


    End Class


    Maybe change the minus sign “-“ to the underscore keystroke “_”


    cmd.Marked = True
    'Featurename is "sourcefeaturename_hitnumber" -> PLANE1_1
    retval = cmd.PutText(PCDCommand.ID & "_" & Fcntr, ID, 0) ' name our vectorpoint
    


    Sometime pcdmis treats the minus sign as a math operator.

    That’s all I have.

    Good luck.


Reply

  • I am trying to create a dot with the vb.net code this and the beginning of what I want to do.
    but this is generating many errors.
    Can someone help me with these errors?


    ' Create vectorpoints
    Set cmd = PCDCommands.Add(602, True) ' 602 is vectorpoint
    cmd.Marked = True
    'Featurename is "sourcefeaturename-hitnumber" -> PLANE1-1
    retval = cmd.PutText(PCDCommand.ID & "-" & Fcntr, ID, 0) ' name our vectorpoint


    End Class


    Maybe change the minus sign “-“ to the underscore keystroke “_”


    cmd.Marked = True
    'Featurename is "sourcefeaturename_hitnumber" -> PLANE1_1
    retval = cmd.PutText(PCDCommand.ID & "_" & Fcntr, ID, 0) ' name our vectorpoint
    


    Sometime pcdmis treats the minus sign as a math operator.

    That’s all I have.

    Good luck.


Children
No Data