×
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

parametrically control state of sketch components, not just dimensions

parametrically control state of sketch components, not just dimensions

parametrically control state of sketch components, not just dimensions

(OP)
Is it possible to parametrically control the state of sketch components?

For example, could I write a logical rule that would convert a line to/from reference based on some other part of the model?

Or another example, could I write a logical rule that would activate/deactivate a line based on some other occurence in the model?

This kind of functionality is definitely possible in Catia V5, using the Knowledge Advisor workbench...  I haven't been able to figure out how to do this in UG, but I'd be very happy if I could!  (by the way, UG NX3 & NX4 on Win XP 32bit)

RE: parametrically control state of sketch components, not just dimensions

You could do this sort of thing with 2 sketches.
The first containing the driving dimensions.
eg if you had a box with a length and a width.
The second sketch contains the geometry you want to exist or not exist depending on the first sketch.
You can then use edit>feature>suppress by expression to suppress or unsuppress the second sketch using your logical rule. The expression created wants to be = 0 to suppress or 1 to unsuppress.
You could then use an if else statement in your expression to control the value.

Hope that helps.

Mark Benson
CAD Support Engineer

RE: parametrically control state of sketch components, not just dimensions

This sounds like something that Knowledge Fusion might accomplish....not sure though.

Tim Flater
Senior Designer
Enkei America, Inc.
www.enkei.com

RE: parametrically control state of sketch components, not just dimensions

(OP)
Mark,
Thanks for your reply - I can see how the "Suppress By Expression" can be useful.

But that function won't allow the turning on/off of an individual component (say, a line) WITHIN a sketch.  It only controls the suppression of the ENTIRE sketch...  Is there another solution?

RE: parametrically control state of sketch components, not just dimensions

I've not found a way of doing an individual line yet but I'm only using NX3 so far.
The 2 sketch technique will work though.  You just put the line you want to turn on/off in the second sketch and turn the whole 2nd sketch on/off using suppress by expression thus leaving your geometry in the 1st sketch alone.
You can tie 2 sketches together geometrically in exactly the same way you would if the geometry was all in 1 sketch the only difference would be 2 sketch features in your feature tree.
The suppression expression can be controled by sketch 1 to supress sketch 2 (containing only the line/lines you want to be turned on/off)
hope that makes more sense.

Mark Benson
CAD Support Engineer

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