AnsweredAssumed Answered

How to extrude multiple sketch regions?

Question asked by Brandon Massoni on Jan 20, 2015
Latest reply on Jan 22, 2015 by Simon Turner

I have selected multiple regions within a sketch and now need to extrude them. If I pause the API, I can easily extrude via normal methods, but how do I get the API to extrude for me?

 

This is the line of code I am asking about. To test the code, you need to have selected a face on your part. It will then attempt to draw a silhouette on a sketch before extruding.

 

     Set swFeat = swFeatureMgr.FeatureExtrusion2(True, False, False, 0, 0, 0.001, 0.001, False, False, False, False, 1.74532925199433E-02, 1.74532925199433E-02, False, False,      False, False, False, True, True, 0, 0, False)

 

Thanks in advance,

Brandon

Outcomes