NXOpen.UF.Ugmgr.EncodePartFilename

Ugmgr.EncodePartFilename()

Refer to UF_UGMGR_encode_part_filename for documentation.

Signature: EncodePartFilename(partNumber, partRevision, partFileType, partFileName)

Parameters:
  • partNumber (str) – Part number.
  • partRevision (str) – Part revision.
  • partFileType (str) – Part file type. Should be NULL, the empty string “”, “master”, “specification” or “manifestation”. Note that “master”, “specification”, and “manifestation” must be spelt using lower-case letters only.
  • partFileName (str) – Part file name. Only required if the part_file_type is “specification” or “manifestation”.
Returns:

Encoded form of part file name. Declare this parameter with array size MAX_FSPEC_BUFSIZE.

Return type:

list of str

License requirements: None