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 the center of the bounding box of all objects in pathname.
Returns the maximum corner of the bounding box.
Returns the minimum corner of the bounding box.
Returns the number of objects in set. This property is only valid for wild-carded pathnames (a pathname that can contain more than one scene object).
Accesses the member of collection. Indexes start at 1.
Converts the pathname collection to an array
This function yields the result as 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.
Otherwise, performing an operation on a deleted 3ds Max object referenced in a variable or array generates an exception.
Any kind of 3ds Max object can be tested in this way such as, scene objects, modifiers, controllers, materials, and others.
MAXScript lets you set up a 'working level' in the 3ds Max scene hierarchy that affects pathnames and coordinate systems, and object creation. You can do this with a <level_expr> , one of the many context expressions that are described in Context Expressions.