hexagon logo

Tip object

Hi,

I am trying to get A angle of tip for script.

From help:
"Tip.A
Returns the A angle of the tip. Read-only Double."

I have no clue how to retrieve data. How I can A angle of current tip?
Parents Reply Children
  • This is for pc dmis itself. At the moment I do have:
    [If Cmd.Type = SET_ACTIVE_TIP Then
    ProbeAngle1 = right(left(Cmd.GetText (ID, 0),instr(1,Cmd.GetText (ID, 0),"B")-1),(len(left(Cmd.GetText (ID, 0),instr(1,Cmd.GetText (ID, 0),"B")-1))-instr(1,left(Cmd.GetText (ID, 0),instr(1,Cmd.GetText (ID, 0),"B")-1),"A")))
    ...]

    It doing job but if I could replace this "right(left(Cmd.GetText (ID, 0),instr(1,Cmd.GetText (ID, 0),"B")-1),(len(left(Cmd.GetText (ID, 0),instr(1,Cmd.GetText (ID, 0),"B")-1))-instr(1,left(Cmd.GetText (ID, 0),instr(1,Cmd.GetText (ID, 0),"B")-1),"A")))" by one command it would be easier to reed.