In SOLIDWORKS, you can only name new documents; once they are saved, you must create a new file in order to rename a document.

This setting allows you to manage the automatic naming of SOLIDWORKS documents using a property value, even if the open document has already been saved.


 


  • Filter:

Filters allow you to specify which file types this option applies to. To do this, click the "Filter" button. For example, if the "Assembly" type is not checked, SmartProperties will ignore the renaming options.

 


  • " Display a message if the document cannot be renamed."

If the document has already been saved, the file name cannot be changed. By checking this option, a reminder message will appear whenever the document's naming property is changed using SmartProperties.


 


  • " Create a new file when the property changes."

To rename a SOLIDWORKS document, you must create a new document. This option will create a new document with the new name. In this example, we are testing the "Description" property.

There are two possible options:

    • " In the current directory."

The file will be created in the same folder as the document to which SmartProperties is being applied. A message confirming that the file has been saved will appear. If the " Save as" option is checked, a copy of the document will be created with a new name without replacing the active document.


 


    • " Select file location " is checked, so the other two options are grayed out. When the property changes, this dialog box will appear when you confirm SmartProperties (see Save As).


 



In the case of an assembly, you can duplicate that assembly—and all of its components—when the SmartProperties dialog box is validated and a name value is detected.

So we'll identify the favorite that was previously created in ProjectManager and configured to meet your needs.

We also specify which SmartProperties of the mask we want to retain when duplicating it.






  • " Automatically save to this folder."

This option will save new documents to the specified folder when the " Force Save " option is checked.

It also allows you to specify the default save location for the new file when using the "Select File Location" dialog box.

Instead of specifying a location with it is possible to retrieve the value of a property using the '' character.$in front of the property name.


 


  • The following option allows you to rename structural steel assemblies by retrieving the value of a property. You can also rename the bodies associated with the part.