Creo Advanced Framework > Configuring Creo Advanced Framework > To Configure Automatically–Created Drawings
  
To Configure Automatically–Created Drawings
You can define the layout of automatically created drawings for components and then save them in a file named drawing_setup.txt. This file can be found in the following locations:
In the installation directory: <afx_install_dir>/parts/AFX-component-type, <afx_install_dir>/parts/profiles, <afx_install_dir>/parts/connectors, etc. In this case the file is valid for all components of this type.
In a folder of the component library (i.e.<afx_install_dir>/parts/profiles/steel_beams_mm). In this case it is valid for all components located in this folder.
In a folder of the component library with an element name as a prefix before drawing_setup.txt, (i.e. <afx_install_dir>/parts/profiles/steel_beams_mm/i_beam_drawing_setup.txt). In this case it is valid for the specific element only.
The drawing_setup.txt file looks like this:
DRAWING_TEMPLATE_NAME drawing_template
DRAWING_FORMAT_NAME efx_a3
GENERAL_VIEW +YZ
TOP_VIEW 1
RIGHT_VIEW 1
BOTTOM_VIEW 1
A line with DRAWING_TEMPLATE_NAME defines if and what template drawing to use for the component drawing.
A line with DRAWING_FORMAT_NAME defines which of the drawing formats to use for the component drawing.
A line with GENERAL VIEW defines the name of a component view to use as general view on the drawing.
A line with TOP_VIEW, TOP_TOP_VIEW, BOTTOM_BOTTOM_VIEW, RIGHT_VIEW or LEFT_VIEW defines a projected view to be created. The number defines a distance factor between the projected view and the general view.
Make sure that config.pro options pro_format_dir and drawing_setup_file have been properly set up.