isDeformable <node>
Returns true if the node's object is deformable. Available in 3ds Max 2008 and higher.
What are deformable objects?
A deformable object is an object with points that can be modified. Internally, these points can be stored in any form the object wants. They are accessed through a virtual array interface with methods to get and set the 'i-th' point.
This abstraction layer allows 3ds Max to apply the same modifiers to the various Geometry classes like Editable Meshes, Editable Poly, Splines, Patches, and Nurbs without specific knowledge of the internal structures of these classes. The modifier simply operates on points provided by the object using the virtual array interface methods, but these points can be vertices, Bezier spline knots and tangents, Patch knots and tangents, and so on.
See the simpleMod Scripted Plugin for a scripted modifier that can operate on points in this manner by implementing the 'on map <index> <point> do'
handler.
While isDeformable might return true for some nodes, this does not necessarily mean that they can be deformed. For example, all legacy particle systems like Snow, Superspray, and Blizzard return true, but are not affected by deformations, while all geometry primitives return false, but can be deformed.
The method simply wraps the SDK method and returns the value provided by the object when asked wether it is deformable or not.
FOR EXAMPLE:
for g in geometryClass.classes do ( try ( o = execute (g as string +"()") if isDeformable o then format "% is Deformable.\n" g else format "% is NOT Deformable.\n" g )catch(format "Failed To Create %\n" g) )
numPoints <node>
Returns the number of deformable points for the node's object. Available in 3ds Max 2008 and higher. Previously, available in the Avguard Extensions.
getPointPos <node> <index>
Returns the position of the indexed point for the node's object. Position is returned in current coordinate system. Available in 3ds Max 2008 and higher. Previously, available in the Avguard Extensions.