How to run Bulk SmartProperties 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 only partially present.


 


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


 


This can be a long and tedious process if the project contains a large number of parts.

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

The operation to be performed is the launch of the SmartProperties-Auto macro (available in the 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 proposed method (if you're 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 wish to process :

  • SOLIDWORKS "Part" documents.
  • Documents containing the "Supplier" property 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 you can personally create.

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