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

Synopsis

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

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

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
delete(delete) boolean createedit
Specifies that this will remove the blind data if found
reset(rst) boolean createedit
Specifies that this command will reset the given attribute to default value
rescan(res) boolean createedit
Enables a rescan of blind data nodes for cached information
shape(sh) boolean createedit
For object association only, apply blind data to the shape(s) below this node instead of the node itself
typeId(id) int createedit
Specifies the typeId of the BlindData type being created
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.
longDataName(ldn) string createeditmultiuse
Specifies the long name of the data that is being modified by this command.
shortDataName(sdn) string createeditmultiuse
Specifies the short name of the data that is being modified by this command.
doubleData(dbd) float createeditmultiuse
Specifies the data type is a floating point double value
intData(ind) int createeditmultiuse
Specifies the data type is an integer value
int64Data(lid) int64 createeditmultiuse
Specifies the data type is an 64-bit integer value
stringData(sd) string createeditmultiuse
Specifies the data type is a string value
booleanData(bd) boolean createeditmultiuse
Specifies the data type is a boolean logic value
binaryData(bnd) string createeditmultiuse
Specifies the data type is a binary data value

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 have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

cmds.polyBlindData( 'pPlane1.vtx[2]', 'pPlane1.vtx[8]', id=9001, associationType='vertex', ldn='bdFloat', dbd=234 )