I want to build a Circular array feature by using the FeatureCircularPattern5 method. And the codes as the picture 1 show.
However, when I run it, I can't build it.
Then I move the method to an child sub, the sub shows as follows, and call it by using the code "阵列()" .
The feature was successfully created.
So, I want to know why I can't use this method directly, I don't want to use this child sub.
Can anyone help me?
SolidworksApi/macros