Teamcenter Integration Refile Utility  NX10.0.3 // Created 30.11.2015

-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

-i[nput_list]=<filename>
  list of specifications of parts to refile.
  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 Tc folder listing parts to refile

-k[eep_volume]=<yes|no>
 use original volume for refiled parts

-h[elp]
 produces this message

-d[rawings] =<update>
 update drawings

-non[_masters]=<yes|no>
 automatically refile non-master parts

-out[put_file]=<filename>
 file to write failure information to

-log[_file]=<filename>
 file to write log information to

-part=<part spec>
 specification of single part to refile.
 Part name should be in the @DB/<Item ID or Part Identifier>/<rev_id> format,
 where Part Identifier is fnd0partIdentifier property on Item

-bypass=<yes|no>
 use bypass privilege if necessary

-resume[_from]
 line number of input list to start processing from

-update_mod[_props]=<yes|no>
 update last modifying user/date on dataset

-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

-refile_released=<yes|no>
 refile parts with release status

-structure_sync=<no|from_teamcenter|from_ug>
 synchronize structures during refile

-force_structure_sync=<yes|no>
 force synchronize structures during refile as requested by -structure_sync

-transforms_source=<from_teamcenter|from_ug>
 source of transforms if different from -structure_sync argument

-allow_null_transform
 used with -structure_sync=from_teamcenter and -transforms_source=from_teamcenter
 to allow transforms from Teamcenter to be null

-sync_arrangements=<yes|no>
 synchronize arrangement data if consistent with other structure sync settings

-read_mapped_attri[butes]=<yes|no>
 read mapped attributes if consistent with other structure sync settings

-generate_trueshape=<yes|no>
 generate True Shape occupancy data without refiling parts

-record_part_data=<yes|no>
 record part data (Bounding Box, Mass Properties) without refiling parts

-record_altrep_notes=<yes|no>
 record AltRep occurrence notes without refiling parts

-compression=<compress|uncompress>
 compresses|uncompresses the part(s) when refiling

-y
 fully load assembly and refile components
 that are not at the current version of NX

-force_refile
 used with the -y switch to force all components to be refiled

-cleanu[p]=<yes|no> perform part cleanup before refiling

-anon[ymize]=<yes|no>
 removes user and program version strings from part history

-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

-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.

-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=<attribute_name>
 remap the callout references in drawing to <attribute_name>

-synchronize_callout_to_teamcenter=<normal|force_skip_one_level>
 update the Find No. in Teamcenter based on the CALLOUT value on the
 NX part occurrences

-debug=<yes|no>
 dump the debug information during refile.

-convert_units_to_mm
 convert the refiled part from inches to millimeters

-convert_units_to_in
 convert the refiled part from millimeters to inches

-recreate[_missing_stock_components]
 for Routing assemblies, re-creates any missing stock as component components

#New: NX10
-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.
 Please check your settings in 'NX Customer Defaults' Gateway -> Line Widths -> Tab:Presentation/Conversion

#New: NX10.0.3 24.11.2015
-use_default_load_option_file
 uses specified default load options, this cannot be used along with -y option, -y
 option takes precedence if set

#New: NX10.0.3 24.11.2015
-refile_specified_non_master_only
 used with -input_list option to refile only specified non-master while processing
 the non-master parts form the input list
