Jump to content
shodkin

Assign Default values to the "User Field 1, 2 , 3 etc"

Recommended Posts

Hi

 

Is it possible to assign a default value to a User Field variable, so that every time an Lighting Device is inserted the User Field is pre-populated with a certain value, in the same way that weight, wattage etc are?

 

We use a database system to manage our internal stock levels and it would be really handy if we could generate a report for each event which, along with the lighting devices name etc, also outputs our asset number for the devices we are using? 

 

 

 

Share this post


Link to post

Are the data you want to put into the user fields unique to a fixture or just that fixture type?

 

Share this post


Link to post

The fixture type, so an ETC Source 4 19 Degree would be 10201, a 26 degree would be 10202, a 36 would be 10203 etc

Share this post


Link to post

The quick answer is no.  The fields in the Light Info Record that is attached to the symbols for each light are matched to fields in the Lighting Device parameters.  There are not user field record fields in the Light Into Record.  If you were to add them, the Lighting Instrument insertion tool wouldn't know to copy them.  It would be possible to write a vectorscript to insert a value into a user field based on the Instrument Type value of the Lighting Device.  This command would need a file to look up the values and a user interface for you to edit the file.  How much is it worth to you?

Share this post


Link to post

@shodkin Take a look at "Additional default records"

https://app-help.vectorworks.net/2020/eng/index.htm#t=VW2020_Guide%2FSetup%2FSpotlight_preferences_Lighting_devices_Parameters_pane.htm

If you create a record with filed names matching a parameter of the lighting device (i.e. User Filed 1) and attach the record to the symbol, the lighting will copy these values into the lighting device when inserted.

 

  • Like 4

Share this post


Link to post
7 hours ago, klinzey said:

@shodkin Take a look at "Additional default records"

https://app-help.vectorworks.net/2020/eng/index.htm#t=VW2020_Guide%2FSetup%2FSpotlight_preferences_Lighting_devices_Parameters_pane.htm

If you create a record with filed names matching a parameter of the lighting device (i.e. User Filed 1) and attach the record to the symbol, the lighting will copy these values into the lighting device when inserted.

  

 

Very cool.  Who knew.

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.


 

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