AnsweredAssumed Answered

Api - change reference configuration in drawing

Question asked by Marco Nawijn on Oct 28, 2016
Latest reply on Nov 2, 2016 by Nilesh Patel

I have an assembly with multiple configurations. I have also the drawing of the default configuration with a couple of views (of the parts) and also a isometric view of the whole assembly. When I change the configuration in the assembly file, the parts in the drawing change too (they get other dimensions) except the isometric view. To have this updated, I must do it manually, activating the respectively view and changing the reference configuration.

I would like to create a macro that changes this configuration. It would be part of a bigger macro that generates drawings for each configuration of the assembly.

Strange is that if a try to record a macro with the process of changing the reference configuration and I run it then, it will not work. What I noticed is that in the recorded macro is used the method ChangeRefConfigurationOfFlatPatternView...which doesn't work.

Did you guys struggled with something similar?