Jump to content
Sign in to follow this  

Calling Fields in Spotlight

Recommended Posts

I am working on a plug in that, in, part, calls upon the parameters of the lighting device and light position objects in spotlight.

When I call:

SelectObj(('Light Position Obj'.'Position Name' = Destination));

I can select objects that have been created since the creation of the plug-in, but it returns NIL for any position that was created before the plug-in, even if there are search criteria that match.

Any thoughts on why?

Thanks in advance,


Share this post

Link to post

I tried the same thing and it worked on objectscreated before the script was first ran.

I don't know how your setting the "Position" field, but if you were to type Destination with an accidental space before or after it your vectorscript won't select that object.

Just a thought...Good Luck


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.

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