A variable can be assigned a value using a SmartCounter from a TaskProperties operation; simply drag and drop a Counter operation.


  


Simply select the variable you want to assign a value to and the counter you want to populate with that variable.


 

 

By default, when using the "Counter" type, a single number is generated for the document.

To assign a counter number to each configuration in the file, check the option: Assign a new number


 


For example, by using a "Simple Counter":

 


  • Option not checked:



  • Option checked:



Please note that the order in which the numbers are assigned may differ from the order displayed by PDM


You can find more information about configuring SmartCounter here: SmartCounter


During processing, the assigned counter value will be the same for all tabs of the processed file (all configurations for a SOLIDWORKS file).

For example, the same counter value will be found for both the @ configuration and the Default configuration.


Configuration @:


 


Default Configuration:


 


Similarly, if the counter value is set in the first configuration (@ for a SOLIDWORKS file), it will not be overwritten in that configuration and will not be applied to the other configurations; the task report will display this information.