inch to mm convert
inch to mm convert
(OP)
I have my right click menu set like this
"C:\Program Files\Siemens\NX 11.0\nxbin\ug_convert_part.exe" -mm -y "%1"
When I try to convert an assembly, is works about half the time
I'm trying to convert the main assembly and all parts and sub assemblies under it from inch to metric
Is this the correct command to do that or should I be using the "directory" switch
Thanks
brian
"C:\Program Files\Siemens\NX 11.0\nxbin\ug_convert_part.exe" -mm -y "%1"
When I try to convert an assembly, is works about half the time
I'm trying to convert the main assembly and all parts and sub assemblies under it from inch to metric
Is this the correct command to do that or should I be using the "directory" switch
Thanks
brian
Brian Marchand-owner
BRM Design
NX 11.0
16G Ram - Nvidia Quadro K4000
Win 7 Pro x64





RE: inch to mm convert
Does your load options always work if you run the "convert_part" on any assembly ?
I.e, can you load any assembly without touching/changing the load options ?
Regards,
Tomas
RE: inch to mm convert
www.nxjournaling.com
RE: inch to mm convert
And the assembly tree is saved inside the assembly part
So why needed to consider load option
RE: inch to mm convert
Brian Marchand-owner
BRM Design
NX 11.0
16G Ram - Nvidia Quadro K4000
Win 7 Pro x64
RE: inch to mm convert
Brian says that he wants to "convert the main assembly and all parts and sub assemblies under it "
I.e many files should be converted, not only the top assembly.
For the UG_Convert_part.exe to find these other parts, it will use the default "load_options.def" ( unless overridden in the command string)
Many NX users use different directories for different projects, and have standard parts in other directories.
Then you must set the load options for the session.
Regards,
Tomas
RE: inch to mm convert
I think so because I seen journals that walk
depth in the assembly structure and report
the assembly tree.
so in which load option they related.
Thank you again.
RE: inch to mm convert
They use the assembly open loaded option.
RE: inch to mm convert
I'm stil confused
in the usage help theire is no option for load option
usage: ug_convert_part [options]
options:
[-in <filename>] converts file <filename> to inches
[-mm <filename>] converts file <filename> to millimeters
[-d] sets the current directory as the source
[-d <dirname>] sets directory <dirname> as the source
[-o <dirname>] sets existing directory <dirname> as the destination
[-s] traverses subdirectories
[-u] converts udf files
[-uo] converts udf files only
[-x] exports the expressions of the converted part
[-y] converts entire assembly
RE: inch to mm convert
Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
RE: inch to mm convert
So when using the _y option
their must be a nx session opened.
if no nx session in working
ug convert part _y won't work.
is this true.
RE: inch to mm convert
The ug_convert_part executable knows where to search for the NX Assembly Load Options. If, for any reason you need to change the Assembly Load Options, you need to do it from within NX so an assembly file could be opened and know how/where to look for the components in the assembly.
We are talking about 2 separate programs, really - it's just that when you run/execute ug_convert_part, it uses/borrows some of the NX defaults like the load options so the NX files can be opened in the background, converted and saved. That's all.
Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
RE: inch to mm convert
OK that's remove my confusion thank you very much.
RE: inch to mm convert
Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
RE: inch to mm convert
Regards,
Brian Marchand-owner
BRM Design
NX 11.0
16G Ram - Nvidia Quadro K4000
Win 7 Pro x64