Value >Collections > Collection Types > PathName Values |
PathNames provide the mechanism for naming objects in the 3ds Max scene. See also Pathname Literals . Pathname values are mappable.
Returns center of bounding box of all objects in pathname.
Returns maximum corner of bounding box.
Returns minimum corner of bounding box.
Returns number of objects in set. This property is only valid for wild-carded pathnames, i.e., a pathname that could contain more than one scene object.
Accesses member of collection. Indexes start at 1.
Converts pathname collection to an array
This function yields the result true if the object has been deleted and false if it still exists in the scene.
Using the function only makes sense in situations where references to 3ds Max objects are held in variables or arrays or passed as parameters and you want to determine whether the object has been deleted from the scene.
Performing an operation on a deleted 3ds Max object referenced in a variable or array otherwise generates an exception.
Any kind of 3ds Max object can be tested in this way, scene objects, modifiers, controllers, materials, etc.
MAXScript lets you set up a 'working level' in the 3ds Max scene hierarchy that affects pathnames and coordinate systems and object creation. You do this with a <level_expr> , one of the many context expressions that are described in Context Expressions.