Macro Components Database View
Edit the library data of components in a database view.
You can add a component to the library by adding a row to the database and setting the component data. Add a row to the database by selecting Add row before or Add row after from the right-click menu. You can also copy the active row by selecting Copy Row. Edit the fields of the row to match the new component.
Tab: General
- Description
- Type a description in the text field.
- Type
- Select a component type from the list, for example 10 Miscellaneous
- Set
- Select a group from the list, for example STD.
- Code
- Type a code for the component for material collection.
- Form
- A component may have variable parameters, for example dimension or code, the values of which can be selected by the user when the component is added. A database view is required for the parameter selection. Database views are defined using Forms. Creating a Form is described in section one of the Vertex System Administrator's Guide.
- AutoParamEdit
- When this check box is selected, the database view defined in the Form field is opened when the user selects a component with the Vertex Browser. When this check box is not selected, default values defined on the Parameters tab are set for the component parameters, and the component is ready to be added immediately after being selected in the browser. In such a case the database view will not open until the user selects the function Editing Parameters. An application development program is required to generate 3D and 2D geometry according to user-defined parameters. Creating an application development program is customer-specific adaptation work.
Tab: Files
On the Files tab you can define the model and drawing files for a component, or, if necessary, the application development programs that are used to generate the 2D and 3D geometry.
- Initializer
- A component may have parameters that require certain initial values from the user before it can be defined, for example a dimension of a component can be defined by selecting two points in the model window or the drawing window of a building. The Initializer is required to define initial values. It is an application development program. The creation of an application development program is described in the Vertex application development tool guide. The parameter values calculated by the Initializer are, for their part, required in the application development program that is used to generate the 2D or 3D geometry of the component.
- 2D Drawing
- Select AUTOMATIC from the list to have the program automatically create a drawing from a top projection.
- 3D Accurate
- Type the name of the file in the text field, for example comp_accurate.vxm. The file must have been saved in the ../custom/complibs/macro_custom folder.
- 3D Coarse
- Type the name of the file in the text field, for example comp_coarse.vxm. The file must have been saved in the ../custom/complibs/macro_custom folder.
Tab: Parameters
- Additional parameters
- If the component is variable, you can define the values of the variable dimensions on the Parameters tab. Type the labels and values of the variable parameters in the Additional parameters field. Separate the parameters from each other using the vertical bar character, for example:
Tab: Browser
On the Browser tab you can define the name of the Vertex Browser directory from which the component is selected when it is added.
- Browser path
- Define the folder from which the component can be selected in the browser. Do either of the following:
- Thumbnail ID
- Select whether to create a thumbnail image for the component based on the 2D or the 3D drawing.
- Browser Upd
- When you have defined the component data, click the Browser Upd button to make the program add the directory and the component to the directory tree of the browser and create an image to be used as the thumbnail for the component. Depending on the value of the Thumbnail ID field, the 2D drawing or the 3D model of the drawing opens momentarily in a separate window.