Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to change units in a prt file

How to change units in a prt file

How to change units in a prt file

I'm new to UG and did a model in inches instead of mm.  Is there an easy way to change that?

RE: How to change units in a prt file

I got this directly from "Gateway". You must open a command prompt window (PROGRAM-UNIGRAPHICS-UNIGRAPHICS TOOLS-COMMAND PROMPT).

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.
 Sets current directory as the source
-d <dirname>
 Sets the directory <dirname> as the source
 Converts to inch units
 Converts to metric units
-o <dirname>
 Sets the directory <dirname> as the destination
 Traverses subdirectories
 Converts UDFs (user defined features)
 Converts only UDFs (user defined features)
 Exports the annotated expressions to a <filename>.exp_txt file
 Converts entire assembly

RE: How to change units in a prt file

Lawrence Morauski wrote a program called Convert Part, which is freely available I beleive on the UGS bulitin board (newsgroup). You can also get it here http://www.vickers.de/ugconv.htm.
It is an excelent tool.

DL Engineering Services

specializing in CAD Design Consultation Services

RE: How to change units in a prt file

The converter worked great.  Now everything is in the correct units, just 25.4 times bigger than I want it!!

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

hmm, the link to UGCONV tool (http://www.vickers.de/ugconv.htm) doesn't seem to work.  Can anyone share the tool, or point out another location to get it?


RE: How to change units in a prt file

...nevermind the above post.  Link is actually working.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close