Jump to content
Sign in to follow this  
MSLD

Vectorscript for Spotlight preferences

Recommended Posts

Does anyone know of a listing of the spotlight preferences?

I'm trying to make a basic script, e.g:

Setpref(11,true); to turn on layer colors

I want to be able to turn on and off the 'modify the lighting device color'

but I don't know what preference # it is, and can't find a listing in the VS guide.

Anyone know?

Share this post


Link to post

There is not preference number, the information is contained in a hidden record.

"__NNA_SL_Pref_Record"

You may need to set the following fields:

'ModifyColor' {bool}

'UseDeviceColor' {bool}

'ChangeFill' {bool}

'ChangePen' {bool}

If you change the settings you will either need to reset all the lighting devices or at a minimum call LDevice_ClearCache() depending on which settings are changed.

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...