NXOpen.UF.Part.New¶
-
Part.
New
()¶ Refer to UF_PART_new for documentation.
Signature:
New(partName, units)
Parameters: - partName (str) – Name of the new part. This part name must be unique for the session. The leaf name for two parts in the same session can not be the same.
- units (int) – Specifies either English or Metric units. 1 = Metric 2 = English
Returns: Tag of the created part or NULL_TAG if there is an error.
Return type: License requirements: None