Jump to content
Sign in to follow this  
George Cocea

Viewport > advanced properties > black & white only - preference

Recommended Posts

I searched the VW vectorscript appendix for the viewport > advanced properties >

black & white only preference assigned number but I could not find a listing.

I attached a screen capture of the dialog window for info clarity.

Does anybody know if there is a preference available for this option. I want to

create a toggle preference script for this option.

TIA,

George

Share this post


Link to post

Pat,

Thank you, it does not seem to work. BTW, I am using

this single line vs to clarify what I did with the info you provided.

SetPref(1030, NOT GetPref(1030));

George

Share this post


Link to post

Unfortunately it is not a pref.

Try

SetObjectVariableBoolean(FSActLayer,1030, Not GetObjectVariableBoolean(FSActLayer,1030));

Since it is an object variable, you need to provide a handle to the object. FSActLayer is a handle to the first selected object on the active layer.

Regards,

Pat

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...