NXOpen.UF.Ugmgr.AssignAlternatePartId¶
-
Ugmgr.
AssignAlternatePartId
()¶ Refer to UF_UGMGR_assign_alternate_part_id for documentation.
Signature:
AssignAlternatePartId(partTag, context, idType)
Parameters: - partTag (Tag) – Tag of part to assign alternate ID.
- context (str) – Context for which an alternate numberis being requested.
- idType (str) – ID type of part for which number isbeing requested. May be NULL.
Returns: A Tuple
Return type: A tuple consisting of (altItemId,altRevId,modifiable)
altItemId(str): Alternate Item ID. The string mustfreed after use with UF_free().
altRevId(str): Alternate Revision ID. The string mustfreed after use with UF_free().
modifiable(bool): Boolean; is the alternate ID allowedto be modified?
License requirements: None