Jump to content
Developer Wiki and Function Reference Links ×

Script to select objects with field values based on a list


Recommended Posts

Hey folks

 

I'm stuck on a project and need some help.  I'm sure I'm missing something basic....

I'm creating a list of objects from a current selection then making a list of all of the field values of a particular record field that I have attached to the objects.  I can't figure out how to turn that list of values into a list of objects that the list matches.  What am I missing here?  Sub question - Am I on the correct track here (I'm pretty sure I'm missing something)?

 

image.thumb.png.0bbf5c64f5ed56e49a96399c2f137f48.png

Link to comment

OK, so I've worked on this some more and it looks like I've figured most of this out, but I'm still not getting the results I want....  It looks like the only selection that is made is the final string in the list, not all objects whose records match all strings in the list.  Any ideas?  This may be the same issue I'm having with the other post I have out there made yesterday.

image.thumb.png.a9085ad5dd8850da888324a4764f7445.png

I've attached the file that I'm using that has the symbols that I'm using as a dataset.

Any help here would be greatly appreciated.

Thanks

Test script for Lighting Selection.vwx

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