Attribute.assignTo


assignTo("All", [assignInfo])

assignTo(obj, [assignInfo])

assignTo(array, [assignInfo])

assignTo(set, [assignInfo])

assignTo(type, name, [assignInfo])

assignTo(obj, obj, [assignInfo])

assignTo(array, array, [assignInfo])

assignTo(set, set, [assignInfo])

assignTo(type, name, type, name, [assignInfo])

Assigns this attribute to the object(s) given Optionally also pass in assignment data giving extra details about the assignment, such as loadcase, local coordinates, load factor etc. There are two ways to call this function. For most attributes only a single object, ObjectSet, or array is required, and the attribute will be assigned to that. However, for interface mesh, it is necessary to indicate both masters and slaves at the same time. Thus, two objects, ObjectSet, or arrays must be given. In the case of ObjectSet and arrays, the same number of objects must be given in each, and the master slave pairing will be assumed from the order. E.g. item 1 in the first array will be the master of item 1 in the second array, and so on. The assignment info, if given, must always be last.

objDatabaseMemberThe target as an object
arrayarray of DatabaseMemberAn array of objects to form target
setObjectSetA set of objects to form target
typestring or longType of object to form target, e.g. "volume"
namestring or longName(s) of object to form target, e.g. "1T5"
assignInfoAssignmentInformation regarding the assignment
Return valueIFObjectSetthe set of objects affected by the command (i.e. successful assignments)

See also deassignFrom

Back to Attribute

Back to Overview