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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
associationType (at) | unicode | ||
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) | unicode | ||
|
|||
booleanData (bd) | bool | ||
|
|||
delete (delete) | bool | ||
|
|||
doubleData (dbd) | float | ||
|
|||
int64Data (lid) | int64 | ||
|
|||
intData (ind) | int | ||
|
|||
longDataName (ldn) | unicode | ||
|
|||
rescan (res) | bool | ||
|
|||
reset (rst) | bool | ||
|
|||
shape (sh) | bool | ||
|
|||
shortDataName (sdn) | unicode | ||
|
|||
stringData (sd) | unicode | ||
|
|||
typeId (id) | int | ||
|
Derived from mel command maya.cmds.polyBlindData
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.polyBlindData( 'pPlane1.vtx[2]', 'pPlane1.vtx[8]', id=9001, associationType='vertex', ldn='bdFloat', dbd=234 )