hexagon logo

Example code for graphic view manipulation

Hello,

Can anybody provide any example code for graphic view manipulation?


For example,

  • Switch the view direction to Top, Right and Isometric
  • Toggle grid view
  • Toggle graphic items such as probe

Thank you in advance.

Best Regards,
Aki

Parents Reply
  • Thank you for your reply.

    As for the probe visiblity, Ctrl+Y seems not working on my environment, I will check the further settings.

    In my unserstanding, Define Viewset command save the current view with a viewset name.
    I could not find the viewset modifiers to change them programmatically...

    Set DmisCommand = DmisCommands.Add(VIEWSET, TRUE)
    DmisCommand.Marked = TRUE
    ' Set ID  = Viewset1
    retval = DmisCommand.PutText ("Viewset1", ID, 0)

    Anyway, I appreciate your comment.

Children