To Configure Automatically Created Drawings
You can define the layout of automatically created drawings for components and then save them in a drawing_setup.txt file. This file can be found in the following locations:
• In the installation directory: <afx_install_dir>/parts/AFX-component-type. In this case the file is valid for all components of this type.
• In a folder of the component library. For example: <afx_install_dir>/parts/profiles/steel_beams_mm. In this case the file 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. For example: <afx_install_dir>/parts/profiles/steel_beams_mm/i_beam_drawing_setup.txt. In this case the file is valid only for the element specified in the prefix.
File structure of the drawing_setup.txt File
The structure of the drawing_setup.txt is the following:
DRAWING_TEMPLATE_NAME drawing_template
DRAWING_FORMAT_NAME efx_a3
GENERAL_VIEW +YZ
TOP_VIEW 1
RIGHT_VIEW 1
BOTTOM_VIEW 1
• DRAWING_TEMPLATE_NAME — Defines what template drawing to use for the component drawing.
• DRAWING_FORMAT_NAME — Defines which drawing format to use for the component drawing.
• GENERAL VIEW — Defines the name of a component view to use as the general view on the drawing.
• 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 pro_format_dir and drawing_setup_file are set correctly in Creo Parametric Options.
Parent topic