How to change units in a prt file
How to change units in a prt file
(OP)
I'm new to UG and did a model in inches instead of mm. Is there an easy way to change that?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
How to change units in a prt file
|
How to change units in a prt fileHow to change units in a prt file(OP)
I'm new to UG and did a model in inches instead of mm. Is there an easy way to change that?
Red Flag SubmittedThank you for helping keep Eng-Tips Forums free from inappropriate posts. Reply To This ThreadPosting in the Eng-Tips forums is a member-only feature.Click Here to join Eng-Tips and talk with other members! |
ResourcesWhat is rapid injection molding? For engineers working with tight product design timelines, rapid injection molding can be a critical tool for prototyping and testing functional models. Download Now
The world has changed considerably since the 1980s, when CAD first started displacing drafting tables. Download Now
Prototyping has always been a critical part of product development. Download Now
As the cloud is increasingly adopted for product development, questions remain as to just how cloud software tools compare to on-premise solutions. Download Now
|
RE: How to change units in a prt file
At the operating system prompt, type:
ug_convert_part -mm|-in -[o s u uo x y] [-o <dirname>] <part_name>|-d <dirname>
Options in brackets are not required. Options separated by the pipe character `|' mean that you must provide either the option before the pipe or the option after the pipe, but not both. The first set of options, -mm | -in, denotes the units you are converting to, and are not optional. You must either use -mm to convert to millimeters or -in to convert to inches.
d
Sets current directory as the source
-d <dirname>
Sets the directory <dirname> as the source
-in
Converts to inch units
-mm
Converts to metric units
-o <dirname>
Sets the directory <dirname> as the destination
-s
Traverses subdirectories
-u
Converts UDFs (user defined features)
-uo
Converts only UDFs (user defined features)
-x
Exports the annotated expressions to a <filename>.exp_txt file
-y
Converts entire assembly
RE: How to change units in a prt file
It is an excelent tool.
-Derek
DL Engineering Services
specializing in CAD Design Consultation Services
www.dl-engineering.com
RE: How to change units in a prt file
Thanks to both and Mr. Morauski!
RE: How to change units in a prt file
I found the same dilemma! However, I am working with unparameterized features. In my case I was able to select all, use TRANSFORM-->SCALE and then scale it back the 25.4. Worked like a charm. Don't know what you would do for parametric features unless you wanted to go to EXPRESSIONS and scale each expression by 25.4??
Good luck.
RE: How to change units in a prt file
Thanks!
RE: How to change units in a prt file