I have a own drawing template for sheet metal parts. So it is possible to put predefined flat pattern view into template?
Sorry it is still a limitation.
I am trying to do this as well. Has anyone figured this out? We have a ton of sheet metal parts I would love to drop into a multi sheet drawing template with standard views on page one and flat pattern view on page two.
Macro might be a way to do that but I've not tried/checked that.
One possible method (if your configuration name is always the same - more complicated if they are not) is to create a drawing template with a model in it that defines the views you want (including the flat pattern view). In the model that you want to create a new drawing for, create a derived configuration using the base name of the parent configuration appended with -flatSM-FLAT-PATTERN. Set this configuration to show the part in its flattened state. Save and close the model (you can leave it open but then you will need to answer a pop up message). Now browse to your "drawing template" in the file open dialog and select the drawing but do not open it. Click the reference button and change the model the drawing is looking at to be your new model. Now open the drawing.
I only tested this theory a couple of times and it worked well for a simple (1-2 bend) sheet metal part.
I have seen that you can add macros embedded into part files, but I will have to dig to see if it can be done in a drawing file.
Sorry you can not embed a macro in drawing but can make the macro to run when you start a new drawing.
Retrieving data ...