Jump to content

Setting Viewport Class Overrides


Sam Jones

Recommended Posts

Is it possible to set the visibility of a class in a viewport with vector script.  I would want to create a class override and set the visibility of the class to either visible or not visible.  It seems possible to set all sorts of class attributes but not visibility.

Also, is is possible to set the viewports "Adjust flipped text" setting?

Hoping this is possible, and I am maintaining my inability to search the function reference with any skill.

  • Like 1
Link to comment

You should be able to set the "Adjust Flipped Text" setting using SetObjectVariableBoolean(viewportHandle,1029,TRUE/FALSE).

 

No worries about the function reference, it's a tricky thing to navigate.  There's so many things you can do using object variables, but it involves poring through the appendices.  I've gotten pretty good at using Ctrl+F to find what I'm looking for.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...