MAXScript Extensions > MAXScript Extensions for Cloth >

# Cloth : Modifier

    Cloth - superclass: modifier; super-superclass:MAXWrapper - classID:#(1740754247, 2005071992)

The Cloth modifier implements the main element of the Cloth system introduced in 3ds Max 8. It provides access to all simulation parameters and controls the actual simulation process.

Constructors:

    Cloth...
    Clothfx...

Properties:

## Object

    <Cloth>.showCurrentState BooleanClass default: false -- boolean; Show_Current_State

Get/Set the state of the Show Current State checkbox in the Object rollout.

    <Cloth>.showTargetState BooleanClass default: false -- boolean; Show_Target_State

Get/Set the state of the Show Target State checkbox in the Object rollout.

    <Cloth>.showEnabledSolidCollision BooleanClass default: false -- boolean; Show_Enabled_Solid_Collision

Get/Set the state of the Show enabled solid collision checkbox in the Object rollout.

    <Cloth>.showEnabledClothCollision BooleanClass default: false -- boolean; Show_Enabled_Cloth_Collision

Get/Set the state of the Show enabledselfcollision checkbox in the Object rollout.

## Simulation Parameters Rollout

    <Cloth>.scaleFloat default: 2.54 -- float; cm_per_unit

Get/Set the Scale value in cm/unit.

    <Cloth>.useGravit yBooleanClass default: true -- boolean; Use_Gravity

Controls the state of the Gravity checkbutton.

    <Cloth>.gravity Float default: -980.0 -- animatable; float

Get/Set the Gravity value.

    <Cloth>.timestep Float default: 0.02 -- animatable; float; time_step

Get/Set the Step value.

    <Cloth>.subsample Integer default: 1 -- animatable; integer

Get/Set the Sub sample value.

    <Cloth>.startFrame Integer default: 0 -- integer; start_frame

Get/Set the Start Frame value.

    <Cloth>.enableEndFrame BooleanClass default: false -- boolean

Controls the state of the End Frame checkbox. When set to true, the end frame will be used.

    <Cloth>.endFrame Integer default: 100 -- integer; End_Frame

Get/Set the End Frame value.

    <Cloth>.selfCollision BooleanClass default: false -- animatable; boolean; self_collision

Controls the state of the Self Collision checkbox. When set to true, the cloth will calculate self-collisions.Animatable.

    <Cloth>.clothclothMethod Integer default: 0 -- animatable; integer; Cloth_Cloth_Method

Get/Set the Self-Collision value.

    <Cloth>.checkIntersections BooleanClass default: false -- boolean; Check_Intersections

Controls the state of the Check Intersections checkbox. When set to true, the cloth will check for self-intersections.

    <Cloth>.solidCollision BooleanClass default: true -- animatable; boolean; solid_collision

Controls the state of the Solid Collision checkbox. When set to true, the collision will be calculated as solid.

    <Cloth>.useSewingSpring sBooleanClass default: true -- boolean; Use_sewing_springs

Controls the state of the Use Sewing Springs checkbox. When set to true, the sewing springs will be used.

    <Cloth>.showSewingSprings BooleanClass default: true -- boolean; Show_sewing_springs

Controls the state of the Show Sewing Springs checkbox. When set to true, the sewing springs will be shown.

    <Cloth>.simOnRender BooleanClass default: false -- boolean; Simulate_on_Render

Controls the state of the Sim On Render checkbox. When set to true, the simulation will be performed before rendering.

    <Cloth>.simPriorityInteger default: 1 -- integer; Sim_Priority

Get/Set the Simulation Priority value.When Sim On Render is enabled, this value defines the priority of the Cloth simulation to determine the order in which the simulations will be performed.

    <Cloth>.advancedPinching BooleanClass default: false -- animatable; boolean; Advanced_Pinching

Controls the state of the Advanced Pinching checkbox.

    <Cloth>.showTension BooleanClass default: false -- boolean; Show_Tension

Controls the state of the Tension checkbox. When set to true, shows the tension of the cloth using colors.

    <Cloth>.tensionScale Float default: 1.0 -- float; Tension_Scale

Get/Set the Tension Scale value used when. showTension is set to true. Corresponds to the Tension spinner.

    <Cloth>.relativeVelocity Float default: 0.0 -- animatable; float; Relative_Velocity_Adjustment

Get/set the relative velocity adjustment value. Not exposed to the UI. Animatable.

    <Cloth>.timeScale Float default: 1.0 -- animatable; float; Time_Scale

Get/set the time scale value. Not exposed to the UI.Animatable.

    <Cloth>.weldMethod Integer default: 1 -- integer; Weld_Method

Get/set the index of the welding method radio buttons.

Possible values are:

0 -Verts

1 -Normals(default)

Available in 3ds Max 2010 and higher.

    <Cloth>.ignoreBackfacing BooleanClass default: false -- boolean; Ignore_Backfacing

Get/set the state of the Ignore Backfacing option.

    <Cloth>.simOnMouseDown BooleanClass default: true -- boolean; Sim_on_Mouse_Down

Get/set the state of the Simulate On Mouse Down option.

### ParamBlock2Parameters:

The following properties are accessible as properties of the Cloth Object ParamBlock2 accessed using the method. getObjectParamBlock() exposed by the ClothOps Mixin Interface. This Parameter Block is associated with a scene object that has a Cloth Modifier applied to it. There is one ReferenceTarget:ParamBlock2 for each object the Cloth Modifier it applied to.

The same ParamBlock2 can be accessed as a property of the Cloth Modifier. The name of the property consists of the name of the scene node followed by "_properties"

FOR EXAMPLE
    thePB2 = $MyCloth.cloth.getObjectParamBlock $MyCloth
    thePB2.Cache_File

    --which is equivalent to

    $MyCloth.cloth.MyCloth_properties.Cache_File

#### Selected Object Rollout - Cache

    <Cloth><ParamBlock2>.cacheFile (Cache_File) : string

Get/Set the name of the cache file.

    <Cloth><ParamBlock2>.forceUnc (Force_UNC_path) : boolean

Get/Set the state of the Force UNC Path checkbox. When set to true, a UNC path will be used for the cache file.

    <Cloth><ParamBlock2>.exportCacheAs (Extra_Cache) : boolean

Get/Set whether to export the cache.

    <Cloth><ParamBlock2>.overWriteCache (Overwrite_Cache_File) : boolean

Get/Set whether to overwrite the cache file.

    <Cloth><ParamBlock2>.extraCacheFile (Extra_Cache_File) : string

Get/Set the extra cache file name.

    <Cloth><ParamBlock2>.overWriteExtraCache: boolean

Get/Set whether to overwrite the extra cache file.

#### Selected Object Rollout - Property Assignment

    <Cloth><ParamBlock2>.method (Properties_Application_Method) : integer

Get/Set the material properties application method.

Corresponds to the radio buttons in the Property Assignment Group of controls.

Possible values are:

0 -Interpolate(default)

1 -Texture Map

    <Cloth><ParamBlock2>.bias (Property_Bias) : float

Get/Set the material interpolation bias. Corresponds to the spinner/slider in the Property Assignment Group of controls.

    <Cloth><ParamBlock2>.objectMap (Object_Map) :texturemap

Get/Set the Texture Map.

    <Cloth><ParamBlock2>.objectMapChannel (Object_Map_Channel) :integer

Get/Set the Mapping Channel.

#### Selected Object Rollout - Bend Map

    <Cloth><ParamBlock2>.useBendMap (Use_Bend_Map) : boolean

Enable/Disable the use of the Bend map. Corresponds to the checkbox in front of the Bend Map value in the Bend Map group of controls in the Selected Object Rollout.

    <Cloth><ParamBlock2>.bendMapStrength (Bend_Map_Strength) : float

Get/Set the Bend map strength. Corresponds to the Bend Map value spinner in the Bend Map group of controls in the Selected Object Rollout.

    <Cloth><ParamBlock2>.bendMapSource (Bend_Map_Source) : integer

Get/Set the Bend map source. Corresponds to the radio buttons in the Bend Map group of controls in the Selected Object Rollout.

Possible values are:

0 -Vertex color(default)

1 -Map Channel

2 -Texture Map

    <Cloth><ParamBlock2>.bendMapChannel (Bend_Map_Source_Vertex_Color_Channel) : integer

Get/Set the texture map channel when bendMapSource is set to 1. Corresponds to the Map Channel value in the Bend Map group of controls in the Selected Object Rollout.

    <Cloth><ParamBlock2>.bendMap (Bend_Map) : texturemap

Get/Set the texture map to use as Bend Map. Corresponds to the map button in the Bend Map group of controls in the Selected Object Rollout.

### GroupParameters:

The following properties are accessible in Vertex Groups. By default, no Vertex Groups exist, resulting in an error message

-- Runtime error: Couldn't find a previously defined paramblock in Cloth

Be sure to create a vertex group before accessing vertex group parameters.

You caneither use the . getGroupParamBlock() method exposed by the ClothOps Mixin Interface documented later on this page oraccess the properties by specifying theReferenceTarget:ParamBlock2 as a property of the Cloth modifier.In this case, you might have to use the aliases given in brackets.

FOR EXAMPLE
    theGroupRT = $MyCloth.cloth.getGroupParamBlock()
    theGroupRT.Active

    --which is equivalent to

    $MyCloth.cloth.group01.Active

    <Cloth>.<Group>.groupName(Group_Name) : string

Get/Set the group name.

#### Group -Constraint Parameters:

    <Cloth>.<Group>.ConstraintIsActive (Active): boolean

Get/Set whether the constraint is active or not. Corresponds to the On checkbox in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.ConstraintIsSoft (Is_Soft): boolean

Get/Set whether the constraint is soft. Corresponds to the Soft checkbox in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.ConstraintOffset (Offset): float

Get/Set the constraint offset.Corresponds to the Offset spinner in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.OffsetRelative (Offset_is_Relative): boolean

Get/Set whether the constraint is relative (true) or absolute (false).Corresponds to the rel checkbox in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.constraintStrength (Strength): float

Get/Set the constraint strength.Corresponds to the Strength spinner in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.useVertexColors (Use_Vertex_Colors): boolean

Get/Set whether the constraint strength uses the vertex colors. Corresponds to the vc checkbox in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.constraintDamping (Damping): float

Get/Set the constraint damping.Corresponds to the Damping spinner in the Group Parameters rollout > Constraint Parameters group of controls.

    <Cloth>.<Group>.assigner_type (AssignerType) : integer

Get/Set the assigner type.

Possible values are:

0 -1-to-1

1 -Blob

Corresponds to the radio buttons in the Group Parameters rollout.

    <Cloth>.<Group>.useRadius (Use_Radius) : boolean

Get/Set whether to use the radius value. Corresponds to the Radius checkbox in the Group Parameters rollout.

    <Cloth>.<Group>.radius: float

Get/Set the radius value. Corresponds to the Radius spinner in the Group Parameters rollout.

#### Group - Behavior Properties

    <Cloth>.<Group>.useGroupBehavior (Use_Group_Behavior) : boolean

Get/Set the BehaviorSettings checkbox in the behavior group of controls.

    <Cloth>.<Group>.groupsolidCollision (Grp_Solid_Collision): boolean

Get/Set whether the to process solid collisions in the group.

    <Cloth>.<Group>.groupselfCollision (Grp_Self_Collision): boolean

Get/Set whether the to process self collisions in the group.

    <Cloth>.<Group>.Layer: integer

Get/Set the Layer value in the behavior group of controls.

    <Cloth>.<Group>.keepShape (Keep_Shape) : boolean

Get/Set whether to try to keep the shape. Corresponds to the Keep Shape checkbox in the Group Parameters rollout, behavior group of controls.

    <Cloth>.<Group>.keepShapeFactor (Keep_Shape_Factor) : float

Get/Set the Bend % value in the behavior group of controls.

    <Cloth>.<Group>.keepShapeEdgeLengthsFactor (Keep_Shape_Edge_Lenghts_Factor) : float

Get/Set the Stretch % value in the behavior group of controls.

    <Cloth>.<Group>.useGroupProperties (Use_Group_Properties) : boolean

Get/Set whether to use the group properties.Corresponds to the Use These Propertiescheckbox in the Group Parameters rollout.

#### Group - Simulation Parameters

    <Cloth>.<Group>.UbendResistance (U_Bend_Resistance) : float

Get/Set the bend resistance along U. Corresponds to the UBend spinner in the Group Parameters rollout.

    <Cloth>.<Group>.VbendResistance (V_Bend_Resistance) : float

Get/Set the bend resistance along V. Corresponds to the Bend spinner in the Group Parameters rollout.

    <Cloth>.<Group>.uBendCurve (U_Bend_Curve) : float

Get/Set the bend curve along U. Corresponds to the UB-Curve spinner in the Group Parameters rollout.

    <Cloth>.<Group>.vBendCurve (V_Bend_Curve) : float

Get/Set the bend curve along V.Corresponds to the VB-Curve spinner in the Group Parameters rollout.

    <Cloth>.<Group>.UstretchResistance (U_Strech_Resistance) : float

Get/Set the stretch resistance along U. Corresponds to the U Stretch spinner in the Group Parameters rollout.

    <Cloth>.<Group>.VstretchResistance (V_Stretch_Resistance) : float

Get/Set the stretch resistance along V. Corresponds to the V Stretch spinner in the Group Parameters rollout.

    <Cloth>.<Group>.UCompressionResistance (U_Compression_Resistance) : float

Get/Set the compression resistance along U.

Corresponds to the UCompress spinner in the Group Parameters rollout.

Available in 3ds Max 2010 and higher.

    <Cloth>.<Group>.UCompressionResistance (U_Compression_Resistance) : float

Get/Set the compression resistance along V.

Corresponds to the VCompress spinner in the Group Parameters rollout.

Available in 3ds Max 2010 and higher.

    <Cloth>.<Group>.shearResistance (Shear_Resistance) : float

Get/Set the Shear resistance.Corresponds to the Shear spinner in the Group Parameters rollout.

    <Cloth>.<Group>.density: float

Get/Set the cloth Density.Corresponds to the Density spinner in the Group Parameters rollout.

    <Cloth>.<Group>.thickness: float

Get/Set the cloth thickness.Corresponds to the Thickness spinner in the Group Parameters rollout.

    <Cloth>.<Group>.clothClothForce (Cloth_cloth_force) : float

Get/Set the cloth-cloth force. Corresponds to the Repulsion spinner in the Group Parameters rollout.

    <Cloth>.<Group>.stretchDamping (Stretch_Damping) : float

Get/Set the stretch damping. Corresponds to the Damping spinner in the Group Parameters rollout.

    <Cloth>.<Group>.airDamping (Air_Resistance) : float

Get/Set the airresistance value.Corresponds to the Air Res . spinner in the Group Parameters rollout.

    <Cloth>.<Group>.dynamicFriction (Dynamic_Friction) : float

Get/Set the dynamic friction.Corresponds to the Dyn Fric . spinner in the Group Parameters rollout.

    <Cloth>.<Group>.staticFriction (Static_Friction) : float

Get/Set the static friction.Corresponds to the Static Fric. spinner in the Group Parameters rollout.

    <Cloth>.<Group>.clothClothFriction (Cloth_cloth_Friction) : float

Get/Set the cloth-cloth friction. Corresponds to the Self Fric. spinner in the Group Parameters rollout.

    <Cloth>.<Group>.uScale (U_Scale) : float

Get/Set the scale along U.Corresponds to the U Scale spinner in the Group Parameters rollout.

    <Cloth>.<Group>.vScale (V_Scale) : float

Get/Set the scale along V.Corresponds to the V Scale spinner in the Group Parameters rollout.

    <Cloth>.<Group>.seamForce (Seam_Force) : float

Get/Set the seam force. Corresponds to the Seam Force spinner in the Group Parameters rollout.

    <Cloth>.<Group>.collisionDepth (Collision_Depth) : float

Get/Set the collision offset. Corresponds to the Depth spinner in the Group Parameters rollout.

    <Cloth>.<Group>.collisionOffset (Collision_Offset) : float

Get/Set the collision offset. Corresponds to the Offset spinner in the Group Parameters rollout.

    <Cloth>.<Group>.Plasticity: float

Get/Set the Plasticity value. Corresponds to the Plasticity spinner in the Group Parameters rollout.

    <Cloth>.<Group>.Stickiness: float

Get/Set the Plasticity value.

Corresponds to the Cling spinner in the Group Parameters rollout.

Available in 3ds Max 2010 and higher.

    <Cloth>.<Group>.Pressure (Pressure) : float

Get/Set the Pressure value.

Corresponds to the Pressur spinner in the Group Parameters rollout.

Available in 3ds Max 2010 and higher.

    <Cloth>.<Group>.PressureDamping (Pressure_Damping) : float

Get/Set the Pressure Damping value.

Corresponds to the Press. Damp spinner in the Group Parameters rollout.

Available in 3ds Max 2010 and higher.

    <Cloth>.<Group>.anisotropic: boolean

Get/Set whether to simulate the cloth as anisotropic. Corresponds to the Anisotropic checkbox in the Group Parameters rollout.

    <Cloth>.<Group>.useEdgeSprings (Use_Edge_Springs) : boolean

Get/Set whether to use Edge Springs.Corresponds to the UseEdge Springs checkbox in the Group Parameters rollout.

    <Cloth>.<Group>.useSolidDepthOffset (Use_Solid_Depth_Offset) : boolean

Get/Set the state of the Use Cloth Depth/Offset checkbox.

    <Cloth>.<Group>.useSolidFricion (Use_Solid_Friction) : boolean

Get/Set whether to use solid friction or not. Not exposed to the UI.

#### Group- Soft SelectionProperties

    <Cloth>.<Group>.useSoftSelection (Use_Soft_Selection) : boolean

Enable/Disable Soft Selection.

    <Cloth>.<Group>.softselUseEdgeDistance (Use_Edge_Distance) : boolean

Enable/Disable the use of Soft Selection distance.

    <Cloth>.<Group>.softselEdgeDist (Edge_Distance) : integer

Get/Set the Soft Selection Edge Distance value.

    <Cloth>.<Group>.softselAffectBackfacing (Affect_Backfacing) : boolean

When set to true, soft-selection affects vertices if back-facing faces.

    <Cloth>.<Group>.softselFalloff (Falloff) : world units

Get/Set the Soft Selection Falloff value.

    <Cloth>.<Group>.softselPinch (Pinch) : float

Get/Set the Soft Selection Pinch value.

    <Cloth>.<Group>.softselBubble (Bubble) : float

Get/Set the Soft Selection Bubble value.

#### Group -Texture Map Properties

    <Cloth>.<Group>.useTextureMap (Use_Texture_Map) : boolean

Get/Set whether to use the Texture map or not. Corresponds to the Use TextureMapcheckbox in the Group Parameters rollout.

    <Cloth>.<Group>.texture (TextureMap) : texmap

Get/Set the Texture map to use. Corresponds to the TextureMap button in the Group Parameters rollout.

    <Cloth>.<Group>.mapChannel (Map_Channel) : integer

Get/Set the map channel to use. Corresponds to the MapChannel spinner in the Group Parameters rollout.

    <Cloth>.<Group>.map (Map_Channel_Type) : integer

Get/Set whether to use the specified Map channel or the Vertex Color channel. Corresponds to the Mapping Channel radio buttons in the Group Parameters rollout.

#### Group - Other Properties

    <Cloth>.<Group>.frictionVelocityCutoff (Friction_Velocity_Cutoff) : float

Get/Set the friction velocity cutoff.Default is 30.0.

    <Cloth>.<Group>.matID (Constraint_MatID) : integer

Get/Set the Constraint Material ID.

Cloth Interfaces:

    Interface:clothOps

Note

The clothOps Interface is a Mixin Interfaceexposed by the Cloth Modifier and is NOT a global interface.

The methods listed below can be accessed as methods of the Cloth Modifier itself without specifying the clotOps prefix.

Sometimes the methods require the node to be passed as argument because the modifier could be instanced across multiple nodes and MAXScript needs to know which node to use. See example below:

FOR EXAMPLE
    $MyObject.modifiers[#Cloth].numberVertices $MyObject
    --or
    $MyObject.Cloth.numberVertices $MyObject
    --which is equivalent to
    $MyObject.Cloth.clothOps.numberVertices $MyObject

Methods:

    <paramBlock2>getObjectParamBlock <node>node

Returns the parameter block Reference Target of the specified node.

    <paramBlock2>getGroupParamBlock <string>groupname

Returns the parameter block Reference Target of the specified named group. This can be used to access the Group parameters.

    <integer>numberVertices <node>node

Returns the number of vertices in the cloth

    <void>selectVertices <bitArray> sel <node> node

Selects the vertices specified by the bitArray in the supplied node.

    <bitArray>getSelectedVertices <node> node

Returns the selected vertices in the supplied node as bitArray.

    <void>makeConstraint <string>groupname <string> type <node> target_node

Makes a constraint from the given group using the specified type and target node.

    <integer>makePointGroup <bitArray> vertex_sel <node>node <string> name

Creates a Point Groupwith the supplied name from the vertices specified by the bitArrayin the supplied node.

    <void>deletePointgroup <string> groupname

Deletes the Point Group with the supplied name.

    <void>initPointgroup <string> groupname

Initializes the Point Group with the supplied name.

    <void>detachPointgroup <string> groupname

Detaches the Point Group with the supplied name.

    <void>makeGroupConstraint <string> groupname <string> target_group

Constrains the Point Group with the supplied name to the target group with the supplied name.

    <void>simulate <boolean> show_dialog

Starts the simulation. If the parameter is true, shows the simulation dialog.

    <void>simulateLocal <integer> stop_condition <float> param <boolean> damped

Starts a local simulation.

    <void>stopLocalSimulation()

Stops the local simulation.

    <void>eraseSimulation()

Erases the current simulation. Corresponds to pressing the "Erase Simulation" button in the Cloth modifier's UI.

    <void>truncateSimulation()

Truncates the current simulation. Corresponds to pressing the "Truncate Simulation" button in the Cloth modifier's UI.

    <void>setInitialState <node>node

Sets the current cloth state as the initial state. Corresponds to pressing the "Set Initial State" button in the Cloth modifier's UI.

    <void>resetState <node>node

Resets the cloth state. Corresponds to pressing the "Reset State" button in the Cloth modifier's UI.

    <void>delObjectCache <node>node

Deletes the Object Cache. Corresponds to pressing the "Delete Object Cache" button in the Cloth modifier's UI.

    <void>setObjectType <node> node <integer> type <boolean>updateSim

Sets the object type of the specified node to the type specified by the integer parameter. If updateSim is true, updates the simulation.

Possible type integer values are:

0 -Inactive

1 -Collision Object

2 -Cloth

    <integer>getObjectType <node>node

Returns the object type of the specified node as integer.

Possible return values are:

0 -Inactive

1 -Collision Object

2 -Cloth

    <void>setObjectProperty <node> node <string> property <fpvalue by value> value

Sets the object property specified by the string name to the supplied value in the specified node.

    <stringarray>showObjectProperties()

Returns an array of strings containing all supported object property names.

    <void>grabState <node> node

Grabs the state of the cloth. Corresponds to pressing the "Grab State" button in the Cloth modifier's UI.

    <void>addForceField <node>node

Adds the specified Space Warp force to the list of Cloth Forces.

    <void>removeForceField <node>node

Removes the specified Space Warp force from the list of Cloth Forces.

    <void>flagParticles <bitArray>sel

For internal use only.

    <void>exportCache <node> node <string> filename

Exports a cache file for the specified node to the given file name.

    <void>importCache <node> node <string> filename

Imports a cache file for the specified node from the given file name.

    <void>loadCache <node> node

Loads the cache for the specified node.

    <void>loadAllCaches()

Loads all caches.

    <void>saveCache <node>node

Saves the cache for the specified node.

    <void>saveExtraCache <node>node

Saves an extra cache for the specified node.

    <void>saveAllCaches()

Saves all caches.

    <void>saveAllExtraCaches()

Saves all extra caches.

    <integer>makeTear <bitArray> vertex_sel <node> node <string> name

Creates a tear in the node specified as second argument defined by the vertex selection specified by the bitArray passed as first argument and named as the string passed as third argument.

Returns the index of the tear.

Available in 3ds Max 2010 and higher.

    <void>clearTears <node> node

Clears all tears in the specified node.

Available in 3ds Max 2010 and higher.

    <fpvalue> getObjectProperty <node> node <string> property

Returns the value of the node's property.

The first argument specifies the node to get the property from.

The second argument specifies the name of the property as a string.

The return value depends on the property's type.

Available in 3ds Max 2011 and higher.

#### See Also

- Garment_Maker : Modifier

- MAXScript Extensions for Cloth

- Modifier Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods