Interface: CreaseSetManager

NEW in 3ds Max 2016: The CreaseSetManager Core Interface provides methods to create and manage Crease Sets.

   

Interfaces > Core Interfaces > CreaseSetManager

 

   

Core Interfaces - Quick Navigation

Properties:

No properties exposed.

   

Methods:

<bool>CreaseSetManager.GetNumCreaseSets <&integer>count
count is Out parameter

Writes the number of Crease Sets into the by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetCreaseContainerName <index>index <&TSTR>name
name is Out parameter

Writes the name of the indexed Crease Container specified by the first argument into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.CanSetCreaseContainerName <index>index

Returns True if the name of the indexed Crease Container can be set.

Returns False if the name cannot be set, for example, because the index is out of range.

   

<bool>CreaseSetManager.SetCreaseContainerName <index>index <string>name

Sets the name of the indexed Crease Container specified by the first argument to the string provided by the second argument.

Returns True on success, False if the name cannot be set. For example, when the index is out of range.

   

<bool>CreaseSetManager.GetCreaseName <index>index <&TSTR>name
name is Out parameter

Writes the name of the indexed Crease specified by the first argument into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.CanSetCreaseName <index>index

Returns True if the name of the indexed Crease can be set.

Returns False if the name cannot be set. For example, when the index is out of range.

   

<bool>CreaseSetManager.SetCreaseName <index>index <string>name

Sets the name of the indexed Crease specified by the first argument to the string provided by the second argument.

Returns True on success, False if the name cannot be set. For example, when the index is out of range.

   

<bool>CreaseSetManager.GetCreaseType <index>index <&integer>type
type is Out parameter

Writes the type of the indexed Crease specified by the first argument into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetCreaseEntityCount <index>index <&integer>count
count is Out parameter

Writes the number of crease entities of the indexed Crease specified by the first argument into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetCreaseValue <index>index <time>time <&float>value <&interval>interval
value is Out parameter
interval is In and Out parameter

Writes the value and interval of the indexed Crease specified by the first argument at the time specified by the second argument into the third and fourth by-reference Out parameters.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.CanSetCreaseValue <index>index

Returns True if the value of the indexed Create can be set, False otherwise.

   

<bool>CreaseSetManager.SetCreaseValue <index>index <time>time <float>value

Sets the value of the indexed Crease specified by the first argument at the time specified by the second argument to the third argument.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetCreaseColor <index>index <&color>color
color is Out parameter

Writes the color of the indexed Crease specified by the first argument into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.CanSetCreaseColor <index>index

Returns True if the color of the indexed Crease can be set, False otherwise.

   

<bool>CreaseSetManager.SetCreaseColor <index>index <color>color

Sets the color of the indexed Crease specified by the first argument to the value passed as the second argument.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetNodelistAll <&node array>nodetab
nodetab is Out parameter

Writes the list of all nodes into the by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetNodelistSingle <index>index <&node array>nodetab
nodetab is Out parameter

Writes the list of nodes with the indexed Crease into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.GetValidity <time>time <&interval>interval
interval is Out parameter

Writes the validity interval at the time given by the first parameter into the second, by-reference Out parameter.

Returns True on success, False on failure.

   

<bool>CreaseSetManager.CanSetCreaseColorVisibility <index>index

Returns True if the color visibility of the indexed Crease can be set, False otherwise.

   

<bool>CreaseSetManager.GetCreaseColorVisibility <index>index

Returns the color visibility of the indexed Crease as a Boolean value.

   

<bool>CreaseSetManager.SetCreaseColorVisibility <index>index
<bool>state

Sets the color visibility of the indexed Crease specified by the first argument to the Boolean value passed as the second argument.

Returns True on success, False on failure.

   

Actions:

No actions exposed.

   

Interface: visualMSCA

   

Properties:

No properties exposed.

   

Methods:

<Interface>CreaseSetManager.createForm()

   

<Interface>CreaseSetManager.createFormFromFile <filename>fileName

   

Actions:

No actions exposed.

   

See Also