Hide Table of Contents

File Name Examples

To append a value to the name of the master file:

  1. Create a form with an input field called CreatedBy.

  1. Open the Rules tab.

  2. For Action, select Edit File Name Rules, and click Next.

  1. Double-click the file name   for which you want to build the rule.

  2. Select CreatedBy from the Inputs tab.  

  3. Click Next the return to the rule list.

The formula shown in the rules list:

Createdby

To rename the master file based on an input value:

  1. Create a form with an input field called InputValueforName.

  2. Open the Rules tab.

  3. For Action, select Edit File Name Rules, and click Next.

  4. Double-click the model for  which you want to build the rule.

  5. In the rule window, type "*" &.

  6. Select InputValueforName from the Inputs tab.  

  7. Click Next.

The formula shown in the rules list:

"*" & InputValueForName

To rename the master file based on two input values:

  1. Create a form with input fields called InputValueforName1 and InputValueforName2.

  2. Open the Rules tab.

  1. For Action, select Edit File Name Rules, and click Next.

  1. Double-click the file name for which you want to build the rule.

  2. In the rule window, type "*" &.

  3. Select InputValueforName1 from the Inputs tab.  

  4. In the rule window (after the first form value entry), type &" and " &

  5. Select InputValueforName2 from the Inputs tab.  

  6. Click Next.

The formula shown in the rules list:

 "*" & InputValueForName1 & " and " & InputValueForName2

To append a value to the master file name if the file is required.

  1. Select the model for which you want to create the rule.

  2. Open the Rules tab.

  3. For Action, select Edit File Name Rules, and click Next.

  1. Double-click the file name for which you want to build the rule.

  2. Select the required file name from the rule list.

  3. Select If from the Logic tab.

  4. Build the IF statement:

    • 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 not required (Suppress, Hide or Delete).

  1. Click Next.

The formula shown in the rules list:

IF ( Condition = FileRequired , InputValueForName , "Suppress")



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   File Name Example
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.