Routing Configurations and Macros
Routing Configurations and Macros
(OP)
I am writing a macro to take account for stock pipe sizes. I have successfully written a macro that will cycle through configurations, pull the annotated dimension and assign properties and fill in data accordingly. The problem arose when it finally came time to test on a routed pipe file. I am getting an error regarding the List property of an array.
I am creating an array of the configuration names to cycle through using:
This works for none routed files. Is there a special way that SolidWorks defines its routed configurations? And is there a way to get them and put them into an array?
I am creating an array of the configuration names to cycle through using:
CODE
ConfigNames = ModelDoc2.GetConfigurationNames
This works for none routed files. Is there a special way that SolidWorks defines its routed configurations? And is there a way to get them and put them into an array?





