Type of counter ‘’Advanced‘’


 


Format of counter ‘’Cumulative‘’.


The cumulative counter makes it possible to create a counter by associating several formats of counter.



  • The icon  allows to add a counter



Once the counter created, to click on ‘’To add‘’.



It is possible to add ‘’X‘’ counters. The counter is added below first and the outline of the following value is put up to date.



  • The icon  allows 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…


Format of counter ‘’Automatic‘’.


 


The automatic counter makes it possible to create counters starting from a value of property SOLIDWORKS or an attribute EPDM.


  • To use an automatic counter it is necessary:


To define the name of the counter thanks to the properties SOLIDWORKS or EPDM.

 


To define the counter to be used, simple or cumulative counter.


 

  • Definition of the automatic counter.


This parameter makes it possible to define, thanks to variables, the name of the counter. This name will make it possible to identify the automatic counter to increment (if there exists) or to create it with the values by default defined in the type of counter (simple or cumulative).

One finds the list of the automatic counters, created with their value, while clicking on the button   :


 


The button   allows to define the property.


 



  • To define the counter to be used.


To define a simple counter or a cumulative counter.



Example of counter ‘’ Automatique' ‘.


In this example of automatic counter one uses the property ‘’ Projet' ‘ with one cumulative counter.


With the utility BatchProperties I create a property ‘’ Compteur' ‘ by using the automatic counter created.




In the three selected folders, the files parts contain the property ‘’ Projet' ‘ with a different value.


Setting of the automatic counter used in this example:


 


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


  • In the files parts of the folder ‘’230-PowerPrint‘’, the value of the property Project is ‘’230‘’.


Result on the files:



  • In the files parts of the folder ‘’240 ProjectManager‘’, the value of the property Project is ‘’240‘’.


Result on the files:



  • In the files parts of the folder ‘’290 SmartBom‘’, the value of the property Project is ‘’290‘’.


Result on the files:



To check the counters created, the button should be used   .



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