×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

Changing the system of units in "Relations" code

Changing the system of units in "Relations" code

Changing the system of units in "Relations" code

(OP)
Hi all,

I'm wondering if it is possible to switch from a system of units to another by programming in the "Relations" menu. I know I can write "If" commands and so on, but is there a system variable that specifies the system of units and that I could change in the Relations code?

Thanks in advance.

RE: Changing the system of units in "Relations" code

You can't switch from a system units to another thru relations. But you can define some variables and multiply/divide with it your part dimensions.

The setup units from ProE can't be used in your case?

-Hora

RE: Changing the system of units in "Relations" code

(OP)
Hora,

Yes, I can use the Setup, but the reason for which I asked the question is that I would like to write a simple code in "Relations", from which my students could change the system of units by setting a variable to 0 or 1, for example. And then the part (a gear tooth) would be updated (either Imperial or Metric). I have a gear tooth in imperial units, and I wanted to turn it into parametric dimensions. But it is not absolutely necessary, it would have been cool! So, they will have to use the Setup menu.

Thanks!

RE: Changing the system of units in "Relations" code

In this case, only a pro/toolkit custom application can do what do you want.


-Hora

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!


Resources