×
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

Conditional sketch geometry using logic

Conditional sketch geometry using logic

Conditional sketch geometry using logic

(OP)
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?

RE: Conditional sketch geometry using logic

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

Eric N.
indocti discant et ament meminisse periti

RE: Conditional sketch geometry using logic

(OP)
Thanks, I wasn't quite sure how to do that either but I've figured it out.

RE: Conditional sketch geometry using logic

You could use a KWA reaction that executes only when the user changes 'Parameter' and then the code activates/deactivates the line/arc depending on the value.

Drew Mumaw
www.textsketcher.com
www.drewmumaw.com

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