hi!
i have an assembly with some sub-assemblies like this:
assy1
-->assy2
-->assy3
i have done some macros that work when assy2 and assy3 are the root(i want to say at the top of the feature manager).
so when assy2 is a sub-assembly, how can i do to transforms to bethe root?
sorry for my bad english but i can´t explain better.
the only way that i know is to open each component and the run themacro.
i have tried also with swchildcomp.getmodeldoc but with thisfunction you get an "imaginary modeldoc". i am a bit confused. cananybody help me?
thank you very much!SolidworksApi macros
i have an assembly with some sub-assemblies like this:
assy1
-->assy2
-->assy3
i have done some macros that work when assy2 and assy3 are the root(i want to say at the top of the feature manager).
so when assy2 is a sub-assembly, how can i do to transforms to bethe root?
sorry for my bad english but i can´t explain better.
the only way that i know is to open each component and the run themacro.
i have tried also with swchildcomp.getmodeldoc but with thisfunction you get an "imaginary modeldoc". i am a bit confused. cananybody help me?
thank you very much!SolidworksApi macros
