In SOLIDWORKS, it is only possible to name new documents, once they are saved, a new file must be created in order to rename a document.

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 :

The filters allow you to define on which type of file you apply this option. To do this you must go through the button ''filter''. For example if the type ''Assembly'' is not checked SmartProperties will not take into account 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 must create a new document. This option will create a new document with the new name.  In this example we test the property ''Description''.

Two possible options:

    • ''In the current directory''.

The file will be created in the same directory as the document on which SmartProperties is applied. A confirmation message of the file saving is displayed. If the option ''Save copy-subIf the "Copy" box is checked, a copy of the document is created with a new name without replacing the active document.


 


    • ''Select the location of the fileIf the ''Property'' is checked then the other two options are grayed out. When the property changes, this dialog box will appear when validating SmartProperties (see  Save as).


 


  • ''Automatically save in this directory''.

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

It also allows you to predefine the directory where the new file will be saved when using the dialog box ''Select file location''.

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


 


  • The following option allows to rename the weldment folders by retrieving the value of a property.