AnsweredAssumed Answered

FeatureCut4 Method (IFeatureManager)

Question asked by Rob Edwards on Mar 3, 2019
Latest reply on Mar 3, 2019 by Artem Taturevych

Hello everyone


So it took me a lot longer than I hoped to get this working, but it's raised a question.


I was struggling to work out what Marks I should apply to my selections as I didn't see anything in the help

2018 SOLIDWORKS API Help - FeatureCut4 Method (IFeatureManager) I used the macro recorder.

The macro recorder gives me marks of

0 for the Sketch

32 for the From

1 for the Up To

16 for the Direction


and a value of 4 for T1

What's strange is there is no 4 in the helpfile I presume it's the obsolete swEndCondUpToSurface

2018 SOLIDWORKS API Help - swEndConditions_e Enumeration


When I use swEndCondUpToSelection as recommended the feature gets created but is incorrect, with my end condition becoming my start condition

and the Direction1 ComboBox is empty!


It works fine if I use what the help file tells me not to use.



Am I wrong or is the help wrong?

What's the secret to knowing what Marks you should use?


Thanks for Looking and All the Best