In SOLIDWORKS, it is only possible to name new documents; once they have been saved, a new file must be created before a document can be renamed.

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


 


  • Filter :

Filters allow you to define the type of file to which you wish to apply this option. To do this, click on the "Filter" button. For example, if the ''Assemblage'' type is unchecked, 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, you can display a message reminding you of this. will be displayed when the document naming property changes with SmartProperties.


 


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

To rename a SOLIDWORKS document, you need to create a new document. This option will create a new document with the new name. In this example, we test the ''Description'' property.

Two possible options:

    • ''In the current directory''.

The file will be created in the same directory as the document to which SmartProperties is applied. A message confirming that the file has been saved is displayed. If the option ''Save copy-asWhen '' is ticked, a copy of the document is created with a new name, without replacing the active document.


 


    • ''Select file locationIf '' is checked, the other two options are grayed out. When the property changes, this dialog box will appear during SmartProperties validation (see Save as).


 


  • ''Automatically save in this directory''.

This option will save new documents in the directory specified when the '' option is selected.Force registrationis checked.

It also allows you to predefine the directory where the new file will be saved 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 weldment folders by retrieving the value of a property.