×
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

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

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

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

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

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

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.

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