Jump to content

Calling Fields in Spotlight


LDJMiller

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,

Jason

Link to comment

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

Fuge

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