script for select object by any information in user Defined properties

script for select object by any information in user Defined properties

a.am1
Enthusiast Enthusiast
2,817 Views
1 Reply
Message 1 of 2

script for select object by any information in user Defined properties

a.am1
Enthusiast
Enthusiast

Hi All

Good day

 

There is 3ds max script for select object by any information in user Defined properties ?

 

1.png

0 Likes
Accepted solutions (1)
2,818 Views
1 Reply
Reply (1)
Message 2 of 2

Swordslayer
Advisor
Advisor
Accepted solution

With proper user properties, yes. For example (property name is case sensitive):

 

select (for obj in objects where getUserProp obj "COLOR" == 123 collect obj)

Note that it won't work in your case since you use colon instead of equal sign for the value assignment in the user properties. The name value would also need quotes to be treated as string.

0 Likes