Run Parametric & Rerun Parametric ( Modeling )

Tool summary :

  • One of two tools for running parametrics that can add members, materials, bolts, holes, welds or metadata to the 3D model.
  • Run Parametric can be used in SDS2 Site Planning to run parametrics that, for example, set custom properties or provide information about members or materials. You cannot run a parametric that adds materials or modifies materials.
  • See (on this page):

Also see :

  • Modeling (where Run Parametric and Rerun Parametric are tools)
  • A solid form (display member in before you Run Parametric )

model > parametric > | model -- parametric | parametrics | python & parametrics


Some files you can run in an SDS2 review station :

These are found in the macro/examples folder that is used by your current version of this program.

StatusAndCustomProperty_ModelToModelTransfer_v5.py allows you to write and read the Member Status Review settings, and the DesignData member custom properties settings from one project to a copy of that project. This might be used, for example, if you are using this program on a copy of a master Job, and you want to update that master Job with revised settings that you entered to the copy.

StatusOnlyModelToModelStatusTransfer.py is similar to the StatusAndCustomProperty_ModelToModelTransfer_v5.py parametric, but transfers Member Status Review settings only.

7.2 Create_RFI_v1.py runs Create RFI and populates the appropriate RFI custom property fields when the DesignData flavor of member custom properties is used.

model > parametric > | model -- parametric | parametrics | python & parametrics | top


Step-by-step instructions for Run Parametric :

Run Parametric can be used in Modeling to run a parametric file. In an SDS2 review station , you cannot run a parametric that adds materials or modifies materials, but are limited to parametrics that, for example, generate construction lines or provide information on attributes of members or materials.

1 . Before using this tool:

1a : You may want to open the parametric with WordPad or a similar program to read any special instructions contained in the parametric file. Lines marked with the pound symbol (#) are comments or special instructions.

1b : Depending on the parametric you are running, you may want to display members in a solid form , or you may want to Open a particular view.

1c : You can Run a parametric with Units("metric") in the startup code even when imperial " Units " are set in Drawing Presentation . Also, the reverse is true -- you can run an imperial parametric in a metric Job. However, to prevent rounding errors you may want to redo the parametric so that its units match the " Units " set in Drawing Presentation .

2 . To invoke Run Parametric , use any one (1) of the following methods:

Method 1 : Choose Model > Parametric > Run .

Method 2 : Click the icon represented above .

Method 3 : Use a keyboard shortcut (if one has been set up).

3 . The Open window appears. If you have not yet Run any parametrics during this session of Modeling , the Open window displays the contents of the file folder specified in the output configuration for User and Site Options > Output > " Parametrics ." However, if that output configuration is set to report viewer , the Open window displays the macro directory found in your current Job . If you have previously Run parametrics during your current session of Modeling , the Open window displays the contents of the file folder from which the last parametric was Run .

3a : Select the file that you want, then press the " Open " button.

Tip: The Open window defaults to showing files with a .py extension. Choose to show " All Files " if the Parametric macro you want to load does not have a .py extension.

4 . The parametric macro begins to be run. One (1) of the following happens:

Possibility 1 : The report viewer ( Output-Request Summary window) opens. This window indicates that an illegal entry exists in the parametric macro or that you did something to cause the macro to run incorrectly. For example, in this program you get the message " Param.StationError: Invalid station for addition of material " if the parametric attempted to add material. Press the " OK " button. Everything remains as it was before step 1.

Possibility 2 : The parametric did what it was designed to do (for example, added construction lines or reported back particular member or material attributes). The mouse bindings that were active before step 1 become active again.

model > parametric > | model -- parametric | parametrics | python & parametrics | top


Rerun Parametric :

Rerun Parametric runs the same Python script that was last run, in your current session of Modeling , using Run Parametric .

1 . Click the Rerun Parametric icon.

Rerun Parametric

Tip: You can use Toolbar Configuration to place this icon on your toolbar.

2 . One of following happens:

Possibility 1 : If you just did a Run Parametric or any number of subsequent Rerun Parametric operations, that same script that you selected (in step 3 of Run Parametric ) will automatically be selected and begin to run again.

Possibility 2 : If you have not yet done a Run Parametric operation since starting Modeling , you will be prompted to select a parametric to run. Follow the instructions for Run Parametric , beginning with step 3 .

model > parametric > | model -- parametric | parametrics | python & parametrics | top