I'm trying to get the code linked below to work on a multi-body part with structural members and plates. When I select the Structural Member feature in the FeatureManager Tree and run the code swSelMgr.GetSelectedObject6(1, 0) returns null. The code therefore fails at For Each name In names as names is empty.
Get Custom Properties for Weldment Cut-list Item Example (VBA)
Although I'm running 2013 SP5 the GetSelectedObject6 method does exist, so I'm not sure what else could be at fault.
SolidworksApi macros