Rule Type: File Name File Name rules set the naming convention for new versions of the model. Parent topicRule Types and Examples Rule Type: Configuration Rule Type: Custom Properties Rule Type: Dimension Rule Type: Features File Name Example: Appending a Value To append a value to the name of the master file: Create a form with an input field called CreatedBy. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, click Inputs > CreatedBy and click OK. The formula shown in the rules list:CreatedBy File Name Example: Renaming the Master File Based on Input Values To rename the master file based on an input value: Create a form with an input field called InputValueForName. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, type "*" &. Click Inputs > InputValueforName. The formula shown in the rules list:"*" & InputValueForName If you rename the master file based on two input values, create two input fields and adjust the formula in the rule: "*" & InputValueForName1 & " and " & InputValueForName2 File Name Example: Appending a Value for Required Files To append a value to the master file name if the file is required: Select the model for which you want to create the rule. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, click Logic > IF( , , ) In the IF field, construct the condition that determines when the file is needed. In the Then field, select the input value used to name the file. In the Otherwise field, type the action required when the file is not required (Suppress, Hide, or Delete) . The formula shown in the rules list:IF( Condition = FileRequired , InputValueForName , "Suppress") Click OK.
Rule Type: File Name File Name rules set the naming convention for new versions of the model. Parent topicRule Types and Examples Rule Type: Configuration Rule Type: Custom Properties Rule Type: Dimension Rule Type: Features File Name Example: Appending a Value To append a value to the name of the master file: Create a form with an input field called CreatedBy. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, click Inputs > CreatedBy and click OK. The formula shown in the rules list:CreatedBy File Name Example: Renaming the Master File Based on Input Values To rename the master file based on an input value: Create a form with an input field called InputValueForName. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, type "*" &. Click Inputs > InputValueforName. The formula shown in the rules list:"*" & InputValueForName If you rename the master file based on two input values, create two input fields and adjust the formula in the rule: "*" & InputValueForName1 & " and " & InputValueForName2 File Name Example: Appending a Value for Required Files To append a value to the master file name if the file is required: Select the model for which you want to create the rule. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, click Logic > IF( , , ) In the IF field, construct the condition that determines when the file is needed. In the Then field, select the input value used to name the file. In the Otherwise field, type the action required when the file is not required (Suppress, Hide, or Delete) . The formula shown in the rules list:IF( Condition = FileRequired , InputValueForName , "Suppress") Click OK.
File Name Example: Appending a Value To append a value to the name of the master file: Create a form with an input field called CreatedBy. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, click Inputs > CreatedBy and click OK. The formula shown in the rules list:CreatedBy
File Name Example: Renaming the Master File Based on Input Values To rename the master file based on an input value: Create a form with an input field called InputValueForName. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, type "*" &. Click Inputs > InputValueforName. The formula shown in the rules list:"*" & InputValueForName If you rename the master file based on two input values, create two input fields and adjust the formula in the rule: "*" & InputValueForName1 & " and " & InputValueForName2
File Name Example: Appending a Value for Required Files To append a value to the master file name if the file is required: Select the model for which you want to create the rule. Click Rules to open the Rules pane. Under Edit, select the check box for File Names and click Edit Rules. Double-click the file name or click Build. In the DriveWorksXpress Rule Builder dialog box, click Logic > IF( , , ) In the IF field, construct the condition that determines when the file is needed. In the Then field, select the input value used to name the file. In the Otherwise field, type the action required when the file is not required (Suppress, Hide, or Delete) . The formula shown in the rules list:IF( Condition = FileRequired , InputValueForName , "Suppress") Click OK.