NXOpen.UF.Motion.AskAttachmentsOfType

Motion.AskAttachmentsOfType()

Refer to UF_MOTION_ask_attachments_of_type for documentation.

Signature: AskAttachmentsOfType(entityTag, type, subtype)

Parameters:
  • entityTag (Tag) – The motion entity to get attachments for.
  • type (int) – The type of attachments to retrieve. See uf_object_types.h for definition of motion object types.
  • subtype (int) – The subtype of attachments (if applicable) to retrieve. See uf_object_types.h for definition of motion object subtypes.
Returns:

A Tuple

Return type:

A tuple consisting of (numAttachments,attachments)

numAttachments(int): The number of attachment objects.

attachments(list of Tag): The array of attached objects.

License requirements: None