How do Irun SmartProperties in bulk on a list of files?


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 may be only partially present.


 


You want to apply and create properties using the SmartProperties input mask. To do this, you must open each room, run SmartProperties, and then save the document.


 


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

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

The step to perform is to run the SmartProperties-Auto macro (located in the SmartProperties installation directory). This macro automatically launches the SmartProperties tool with the templates you have defined in SmartProperties (for parts, assemblies, or drawings), then saves the document. To run this macro, select the suggested method (if you are running one of your own macros, you will need to specify the argument for execution here).

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

  • SOLIDWORKS "Part" files.
  • Documents containing the "Supplier" property with a value of "Visiativ."

We want the SmartProperties-Auto macro to run on these documents.


 


This macro launch event is open to any macros you create yourself.

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\).