#Doc: 22.05.2023/J.Fes
#Doc: Content below created via "C:\Program Files\Siemens\NX2212\NXBIN\part_utility.exe" -help

-------------------------------------------------------------------------------------------------------------
Use -managed_mode=<yes|no> option to narrow down the help.

-------------------------------------------------------------------------------------------------------------
Part Utility with -managed_mode=yes options are:
-------------------------------------------------------------------------------------------------------------

Login Options:
--------------
  -u[ser]=<user>               To specify Teamcenter user name
  -g[roup]=<group>             To specify Teamcenter group name
  -p[assword]                  To specify Teamcenter password
  -pf=<filename>               File to specify the Teamcenter password

Input Part Options:
-------------------
  -part=<part spec>            Specification of single part to process.
                               Part name should be in the @DB/<Item ID or Part Identifier> / <rev_id> format,
                               where Part Identifier is fnd0partIdentifier property on Item
  -i[nput_list]=<filename>     List of specifications of input parts.
                               Part name should be in the @DB/<Item ID or Part Identifier>/<rev_id> format,
                               where Part Identifier is fnd0partIdentifier property on Item
  -f[older]=<foldername>       Name of folder listing input parts
  -folder_user=<username>      Name of user whose folder to use
  -resume                      Line number of input list to start processing from

Functional Options:
-------------------
  -d[rawings]=<update>         Update drawings 
  -structure_sync              Synchronize structures between NX and Teamcenter. Default <no> 
     =<no|from_teamcenter|from_ug>
  -transforms_source           Source of transforms if different from -structure_sync argument.Default <from_ug>
     =<from_teamcenter|from_ug>
  -sync_arrangements=<yes|no>  Synchronize arrangement data if consistent with 
                               other structure sync settings.Default <no> 
  -cleanu[p]=<yes|no>          Perform part cleanup before operation. Default <no> 
  -anon[ymize]=<yes|no>        Removes user and program version strings from part history. Default <no> 
  -force_read_jt               Force to read from a JT dataset even if a master dataset exists 
  -convert_mcs=<filename>      Convert mating conditions to assembly constraints and output report 
  -regen_lw                    Force all lightweight bodies in the specified part to be regenerated.
                               By default the faceting parameters previously used to create each body will be
                               used again.This option is now being done by default for parts saved 
                               before NX7.5. 
  -regen_lw_def_tol            Similar to regen_lw however this flag will not use the 
                               faceting parameters on the existing body but the default faceting parameters 
                               will be utilized instead. 
  -remap_drawing_callouts      Remap the callout references in drawing to <attribute_name>
     =<attribute_name>
  -synchronize_callout_to_teamcenter=          Update the Find No.in Teamcenter based on the CALLOUT value on the 
     <normal|force_skip_one_level>             NX part occurrences 
  -convert_units_to_mm         Convert the part from inches to millimeters 
  -convert_units_to_in         Convert the part from millimeters to inches 
  -convert_line_widths                 Converts all legacy line width in the specified parts to use new line widths. 
                                       Conversion is done based on the Legacy Line Width Conversion part preference. 
  -recreate[_missing_stock_components] For Routing assemblies, re-creates any missing stock as component components 
  -create_drawing_snapshot             Creates snapshot data of the part for its drawings 
  -generate_trueshape=<yes|no> Generate True Shape occupancy data. Default <no> 
  -record_part_data=<yes|no>   Record part data (bounding box & mass 
                               properties as well as properties to allow Active Workspace to filter search 
                               results based on part / assembly / drawing, interpart links, 
                               product interfaces, user defined features, reference components, 
                               suppressed components, constraints, arrangements, geometry overrides, 
                               position overrides, and parts list).Default <no> 
  -record_altrep_notes=<yes|no>        Record AltRep occurrence notes. Default <no> 
  -update_matl_specification=<yes|no>  Updates the material specification table associated with UGMASTER or UGALTREP 
                                       without changing the last modified date. Default <no> 
  -h[elp]                      Produces this message 

Add-On Options:
---------------
  -non[_masters]=<yes|no>      Automatically process non-master parts.Default <yes> 
  -bypass=<yes|no>             Use bypass privilege if necessary. Default <yes> 
  -update_mod[_props]=<yes|no> Update last modifying user/date on dataset 
  -k[eep_volume]=<yes|no>      Use original volume for output parts. Default <yes> 
  -set_new_dataset_o[wner]     Sets the ownership of new datasets to be either that 
                               of the owning item - rev or multi - CAD jt dataset 
  -allow_released=<yes|no>     Process parts with release status. Default <no> 
  -force_structure_sync=<yes|no>               Force synchronize structures 
                                               as requested by - structure_sync.Default <no> 
  -allow_null_transform                Used with -structure_sync used with -structure_sync=from_teamcenter 
                                       and -transforms_source = from_teamcenter to allow transforms 
                                       from Teamcenter to be null 
  -compression=<compress|uncompress>   Compresses|uncompresses the part(s) 
  -y                           Fully load components that are not at the current version of NX 
  -force_operate               Used with the -y switch to force all components to be operated on 
  -mc_parts_only                       Used in conjunction with convert_mcs to specify only convert 
                                       parts which contain mating conditions 
  -mc_dry_run                          Used in conjunction with convert_mcs to do the mating condition 
                                       conversion and generate the conversion report without saving any parts. 
  -mc_dont_load_referenced_geometry    Used in conjunction with convert_mcs to 
                                       not load geometry referenced by the mating conditions being converted. 
                                       Note this will bypass constraint conversion checking.
  -debug=<yes|no>              Print debug information. Default <no>
  -use_default_load_option_file        Uses specified default load options.
                                       This cannot be used along with - y option, -y option takes precedence if set 
  -specified_non_master_only           Used with -input_list option to process 
                                       Only specified non - master while processing the non - master parts from the input list 
  -env                                 Specify customer environment 
  -out[put_file]=<filename>    File to write failure information to 
  -log[_file]=<filename>       File to write log information to in case of failure 
------------------------------------------------------------------------------------------------------------- 
Part Utility with -managed_mode=no options are:
------------------------------------------------------------------------------------------------------------- 

Input Part Options:
-------------------
  <filename>                   Processes file <filename>.
  -d                           Convert all parts/UDFs in current directory.
  -d <dirname>                 Convert all parts/UDFs in directory <dirname>.

Functional Options:
-------------------
  -u                           Processes UDF files.
  -uo                          Processes UDF files only.
  -uc                          Uncompresses the part(s) when processing.
  -co                          Compresses the part(s) when processing.
  -us                          Updates the assembly structure to include
                               any changes in lower level sub-assemblies.
  -dwg_update                  Force update all drawings without any fixup. 
  -cleanup                     Perform part cleanup. 
  -anonymize                   Removes user and program version strings from
                               part history.
  -convert_mcs <filename>      Converts mating conditions to assembly
                               constraints. Logs a constraint conversion
                               report to <filename>.
  -ts                          Generates True Shape data only.
  -regen_lw                    Force all lightweight bodies in the specified
                               part to be regenerated. The faceting parameters
                               previously used to create each body will be
                               used again. Note: For assembly level
                               representations the regeneration operation
                               will be executed only if the source component
                               parts are loaded. The -y switch can be used to
                               ensure the components are loaded. This option is now
                               done by default for parts saved prior to NX7.5.
  -regen_lw_def_tol            Same as -regen_lw except that with this option
                               the faceting parameters on the existing body
                               will be ignored and the default system or user
                               specified (if defined in the customer defaults)
                               faceting parameters will be utilized.
  -convert_line_widths         Converts all legacy line width in the specified parts
                               to use new line widths. Conversion is done based on 
                               the Legacy Line Width Conversion part preference.
  -create_drawing_snapshot     Creates snapshot data of the part for its drawings.
  -[h]elp                      Prints the help message and usage details.
  -recreate_missing_stock_components For Routing assemblies this option will re-create
                                     any missing stock as component components.

Add-On Options:
---------------
  -c                           Creates components if necessary during upgrade.
  -r                           Prints part_utility (NX) release.
  -s                           Traverses subdirectories.
  -nop                         Do not change file owner and protection. 
  -ndates                      Do not change file modified date and
                               accessed date.
  -y                           Fully load assembly, and processes components
                               that are not at the current version of NX.
  -f                           Used with the -y switch to force all components
                               to be processed.
     -mc_parts_only                      Used in conjunction with convert_mcs
                                         to specify only parts which
                                         contain mating conditions.
     -mc_dry_run                         Used in conjunction with convert_mcs
                                         to do the mating condition conversion
                                         and generate the conversion report
                                         without saving any parts.
     -mc_dont_load_referenced_geometry   Used in conjunction with convert_mcs
                                         to not load geometry referenced
                                         by the mating conditions being
                                         converted. Note this will bypass
                                         constraint conversion checking.
  -l                           Logs a short report to the syslog.
  -l <filename>                Logs a short report to the syslog and <filename>.
  -ll                          Logs an extended report to the syslog.
  -ll <filename>               Logs an extended report to the syslog
                               and <filename>.
  -o <filename>                Sets new file <filename> as the destination.
  -o <dirname>                 Sets existing directory <dirname> as
                               the destination.

