×
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

Can't divide by expression inside scetch

Can't divide by expression inside scetch

Can't divide by expression inside scetch

(OP)
So I have this wonderfull scetch and I am trying to use a percentage of the OD to keep the distance the same when I change the OD.

My OD expression is p46=4.114

What I would like to do is p178=(4.114/p46)*.99

Why when I try to do this it gives me an error that says "Dimension error" "The units of the formula are not consistent with the units specified.

Thanks!

RE: Can't divide by expression inside scetch

Brian
I don't understand why you don't use p178=p46*0.99

RE: Can't divide by expression inside scetch

(OP)
Velto,

The reason I can't use p178=p46*0.99 is because I am reverse engineering something. So my initial value of p46=4.114

I am then going to change p46 so p46 in the end might be 5

If I use p178=p46*99 for p46=5 my answer would be 4.95, but my value should be 1.203 using p178=(4.114/p46)*.99 as that is about a 20% increase.

Hopefully I explained that ok.

RE: Can't divide by expression inside scetch

OK, it appears that with your approach, you're trying to make p178 a quotient, and as such it can NOT have any units.  The problem is that when you're inside the Sketcher, ALL of the Expressions associatied with Dimensions will have a Dimensionality of either Length or Angle, which means that they will have units associated with them.  That being the case, you can't set a Length/Angle Expression (such as p178) equal to some constant divided by another Length/Angle Expression (such as p46) which also has units, because the 'units' won't match, hence the error message that you're getting.

What you're going to have to do is go into the Expression Editor and create an expression which has a Dimensionality of 'Constant', something like XXX = (4.114/p46)*.99, and then set p178 equal to XXX (BTW, it's OK for an expression that requires units to be set equal to an expression that has NO units).

Give that a try as I think it will solve your problem.

John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

RE: Can't divide by expression inside scetch

(OP)
John,

Thanks!!

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