ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Submitted by JokerMartini on Fri, 2014-03-07 17:25
How can I write a recursive function to find a specific property such as 'bend' and once I find the first instance of the property I return the value and stop searching.
fn findProperty node prop:#bend =
(
local found = off, result
for p in getPropNames node while found where (found = (p == prop))do result = (getProperty node prop)
result
)
Comments
...
bga