Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional sketch geometry using logic

Status
Not open for further replies.

Luke4b

Automotive
Jun 3, 2016
7
GB
I want to add some logic to a model so that part of a sketch has either a line or an arc drawn dependent on the value of a parameter. So if 'Parameter' > 1 then draw as a line else draw as an arc. Either the arc or line need a tangency condition at one end and a coincident condition at the other.

Alternatively I could have two copies of the sketch, one with an arc, one with a line and have catia activate and use as the input for the following revolute operation based upon the parameter.

I've come across some examples of using the KWA rules and fog laws to affect values based upon this type of logic but have not found if it's possible to effect what type of geometry is drawn in this way. Can this be done?

 
Replies continue below

Recommended for you

you have to create both entities and use logic to activate / deactivate them

Eric N.
indocti discant et ament meminisse periti
 
Thanks, I wasn't quite sure how to do that either but I've figured it out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top