How do I replace compnents via API?
I am using PDMWorks - I can find all assemblies using a given part
I want to replace PartA with PartB
is see this example - but it requires a selected component
how can I select a component in an assembly if I know its name?
= swAssy.ReplaceComponents(sFileName, "", True, True)
SolidworksApi macros
I am using PDMWorks - I can find all assemblies using a given part
I want to replace PartA with PartB
is see this example - but it requires a selected component
how can I select a component in an assembly if I know its name?
= swAssy.ReplaceComponents(sFileName, "", True, True)
SolidworksApi macros