How run SmartProperties in bulk on a file list?


When you retrieve a project from a supplier, or if you have created a project containing a number of parts, the properties assigned to the document may not be present, or at least they may be partially present.


 


You want to apply and create properties with the SmartProperties. To do this, you must open each of the parts and run SmartProperties then save the document.


 


This manipulation can be long and tedious if the project contains a lot of parts.

You can do this automatically on a list of documents with the Integration.

The operation to be planned is the launching of the SmartProperties-Auto macro (present in the installation directory of SmartProperties). This macro automatically launches the SmartProperties with the masks you have defined in SmartProperties (for parts, assemblies or drawings), then save the document. To execute this macro, select the method proposed (if you are executing one of your own macros, this is where you specify the argument for execution).

For our example, from the list of selected documents, we want to process :

  • SOLIDWORKS "Part" type documents.
  • Documents containing the property "Supplier" with a value equal to "Visiativ".

On these documents we want the SmartProperties-Auto macro to be executed.


 


This macro launch operation is open to all macros that you can personally create.

This action can also be loaded, you will find the file (SmartProperties in Batch.mcact) in the myCADtools installation folder (C:\Program Files\Visiativ\myCADtools\Integration\Samples\fr\).