Tutorial 1 - Using AutoCAD parametric blocks
Launch FormulaCAD and select “Component Definitions” from the “List” menu.
Select “File / Parent Component Definition 2D” from the New Menu.
You may be presented with a screen which asks you to select a work order. Select “Demo Order for Demo Customer”
Make entries as below in the component definition screen.
Go to Component tab and click Browse. Select the file “TIE-ROD.dwg” from the samples folder.
When you select it, following will be shown:
Click on the tie-rod block in the bottom left corner and the block preview will be shown if available. Click on the parameters tab.
FormulaCAD maps parameters in the block with the parameters in the component definition. Red means all parameters have not been mapped. Attributes are also shown in the list but they can be mapped or unmapped.
Click Copy Unmapped to local parameters.
TRL, TRD and TR_REG were copied to the list of local parameters. FormulaCAD now finds the mapping and hence the color turns green.
Now go over to the Parameters tab. The three parameters will be listed. Edit each one of them using the “Edit” button and enter formulas so that the screen looks like the following:
Now Press the Test Component button at the bottom left.
The CAD Maker window will be shown:
In the background, a new AutoCAD drawing is created.
If you select the geometry, you will the model has been updated with new values.