Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.

Synopsis

polyBlindData [-associationType string] [-binaryData string] [-booleanData boolean] [-delete] [-doubleData float] [-int64Data int64] [-intData int] [-longDataName string] [-rescan] [-reset] [-shape] [-shortDataName string] [-stringData string] [-typeId int]

polyBlindData is undoable, NOT queryable, and editable.

Command creates blindData types (basically creates an instance of TdnPolyBlindData). When used with the query flag, it returns the data types that define this blindData type. This command is to be used create a blindData node *and* to edit the same.. The associationType flag *has* to be specified at all times.. This is because if an instance of the specified BD typeId exists in the history chain but if the associationType is not the same, then a new polyBlindData node is created.. For object level blind data, only the object itself must be specified. A new compound attribute BlindDataNNNN will be created on the object. Blind data attribute names must be unique across types for object level blind data. So, the command will require the following to be specified: - typeId, - associationType - longDataName or shortDataName of data being edited. - The actual data being specified. - The components that this data is to be attached to.

Return value

stringName of nodes created

Keywords

Polygon, blinddata, assign, command

Related

blindDataType, polyQueryBlindData

Flags

associationType, binaryData, booleanData, delete, doubleData, int64Data, intData, longDataName, rescan, reset, shape, shortDataName, stringData, typeId
Long name (short name) Argument types Properties
-associationType(-at) string createedit
Specifies the dataTypes that are part of BlindData node being created. Allowable associations are "object" for any object, and "vertex" "edge" and "face" for mesh objects. Other associations for other geometry types may be added.
-binaryData(-bnd) string createeditmultiuse
Specifies the data type is a binary data value
-booleanData(-bd) boolean createeditmultiuse
Specifies the data type is a boolean logic value
-delete(-del) createedit
Specifies that this will remove the blind data if found
-doubleData(-dbd) float createeditmultiuse
Specifies the data type is a floating point double value
-int64Data(-lid) int64 createeditmultiuse
Specifies the data type is an 64-bit integer value
-intData(-ind) int createeditmultiuse
Specifies the data type is an integer value
-longDataName(-ldn) string createeditmultiuse
Specifies the long name of the data that is being modified by this command.
-rescan(-res) createedit
Enables a rescan of blind data nodes for cached information
-reset(-rst) createedit
Specifies that this command will reset the given attribute to default value
-shape(-sh) createedit
For object association only, apply blind data to the shape(s) below this node instead of the node itself
-shortDataName(-sdn) string createeditmultiuse
Specifies the short name of the data that is being modified by this command.
-stringData(-sd) string createeditmultiuse
Specifies the data type is a string value
-typeId(-id) int createedit
Specifies the typeId of the BlindData type being created

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

polyBlindData -id 9001 -associationType "vertex" -ldn "bdFloat" -dbd 234 pPlane1.vtx[2] pPlane1.vtx[8];