ScriptSpot

Forum topic · Scripts Wanted

Solidbody seeker

By bones404 · 2012-12-18

Description

In order to make the visibility track work in 2013 the object to be turned on and off muyst be a mesh, the track will not work on solidbodies. I can't find a standard feature to select solidbodies anywhere in the program, I believe this needs to have a script to do the job (my current animation has 4500 objects tha came out of Inventor, I have no idea which are meshes and which are solidbodies.

Comments (3)

Solution

bones404 · 2012-12-20

Simple and elegant, thanks.

Body_Object

Anubis · 2012-12-20

for obj in geometry where classOf obj == Body_Object do format "% is solid body\n" obj.name

sicolet · 2013-07-31

new to scripting. how would i add the geometries that it found to a selection and then do something to that selection. I am trying to edit display setting of all body objects. The script i have now I can only do by first selecting manually all of the body objects (pain). The internal body object utility just crashes max but I found if i run a max script it works. any ideas how to collect all body objects to a selection and then run an action like. $.DisplayRadioVDS = 1