Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

IIf Equation Problem...

wmahaffey

New member
I've been trying to create an embedded IIf equation for pipe flanges. I want the outer diameter to be dependent on the inner diameter. My equation seems to work fine until I make the dependant dimension '10', and then it all falls apart. Here is an example:


This equation will work fine:


D2@Sketch1 = (IIf("D1@Sketch1">"12", 16, (IIf("D1@Sketch1">"11", 14, 12))))


While this equation will not work:


D2@Sketch1 = (IIf("D1@Sketch1">"12", 16, (IIf("D1@Sketch1">"10", 14, 12))))


If anybody knows what the problem is, please let me know.
 

Sponsor

Articles From 3DCAD World

Back
Top