Counter format  "Cumulative".

The cumulative counter allows you to create a counter by combining several counter formats.



  • The icon   allows you to add a counter



Once the counter is created, click on  "Add.".



It is possible to add several counters. The counter is added below the first one and the preview of the next value is updated.



  • The icon   allows you to add text to the counter.




This counter will evolve as follows:


A01-Text; A02-Text; A03-Text ...... A100-Text; B01-Text; B02-Text; etc...


Counter format "Automatic".


 


The automatic counter allows you to create counters from a SOLIDWORKS property value or a PDM attribute.


  • To use an automatic counter you need to :


Define the name of the counter with the SOLIDWORKS or PDM properties.

 


Define the counter to be used, simple or cumulative counter.


 

  • Definition of the automatic counter.


This parameter allows you to define the name of the counter using variables. This name will allow to identify the automatic counter to be incremented (if it exists) or to create it with the default values defined in the counter type (simple or cumulative).

The list of automatic counters, created with their values, can be found by clicking on the button :


 


The button   is used to define the property.


 



  • Define the counter to use.


Define a simple counter or a cumulative counter.



Example of "Automatic" counter.


In this example of an automatic counter we use the property   "Project."   with a cumulative counter.


With the tool BatchProperties   I create a property  "Counter"   using the created automatic counter.




In the three selected folders, the part files contain the property  "Project."   with a different value.


Setting of the automatic counter used in this example:


 


During the application, three counters will be created, with the same settings (see image above). One for each value of the Project property.


  • In the parts files of the  "230-PowerPrint"the value of the Project property is  230.


Result on files :



  • In the parts files of the "240 ProjectManager"the value of the Project property is 240


Result on files :



  • In the parts files of the "290 SmartBom"the value of the Project property is 290


Result on files :



To check the created counters, use the button  .



In this list, we find the name of the three counters created and the last value used by each counter.