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!

Extrude input needs to be changed based upon expression value out of multiple sketches available. 1

Status
Not open for further replies.

Maddy02

Mechanical
Joined
Feb 14, 2013
Messages
114
Location
IN
Hi,

Is there any chances where based upon a value of an expression extrusion input sketch needs to be changed.
i.e for ex if I have 5 sketches, an expression "Sketch No = 1"
-> When the expression Sketch_No value is 1 then Sketch_000 should be selected for extrusion
-> likewise if the Sketch_No value is 2 then Sketch_001 should be selected.

Thanks and Regards,
Maddy

Regards,
Maddy

 
If there is only extrude created from this sketch an no other features on top of this extrude, then there is an easy way of doing somthing similar with Suppress By Expression command (see the attachd movie and the NX9 file).
I didn't create with replacing the sketch. I just created a couple of extrude bodies and suppress them with expression.
If there are some additional detailed features (blends, chamfers, holes, etc.) on those extrudes, then I would have to create all those featutes on each extrude.
But then again, if there is only one extrude and I am just replacing the sketch for this extrude (with Reattach command), then lots of subsequent features will fail anyway and I will have to fix them manually.

Hope that this 'suppress by expression' option will help somehow.
 
 http://files.engineering.com/getfile.aspx?folder=8194a61d-02bb-48d1-8a94-21477c64e2c4&file=suppress_by_expression.7z
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top