Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

parametrically control state of sketch components, not just dimensions 1

Status
Not open for further replies.

abeschneider

Mechanical
Joined
Sep 25, 2003
Messages
189
Location
US
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)
 
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
 
This sounds like something that Knowledge Fusion might accomplish....not sure though.

Tim Flater
Senior Designer
Enkei America, Inc.
 
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?
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top