[Closed] Finding out property names
This is probably a very easy (or very stupid) question for most of you, but I’m a complete beginner to maxscript, and I’m in a bit of a rush to get this done, so any help would be much appreciated.
I need to create a script that takes all the selected objects in a scene, and alters particular properties to a set value.
My problem is finding out the names of the properties of each object I need to change. Is there a simple way of finding out, or is it just guesswork?
The objects are all PowerNURBS objects imported from Rhino. For each one, I need to change the face distance % of the viewport mesh, and tick the ‘Weld/Smooth’ checkbox. Which would be no problem at all if I knew how to access them. How can I go about finding out?
Cheers,
John
getPropNames, hasProperty, getProperty, setProperty, isProperty
I think that is what you are looking for.
you can also try to set this values manually and get the properties names and syntax on the macro recorder. i said “try” because i don´t know if the recorder sees those properties. i think yes.