▆ Reporting Parameters: Checking a library’s default parameter set
Initial Situation: A company wants to determine how well its models adhere to the parameters defined as company standards.
Considerations:
·Who creates the report? Administrator ⭢ Task list for current model or in batch mode.
·Which parts are to be used for the report? All models in a library folder ⭢ Task list in batch mode
·Which model data are to be queried? All values of the parameters included in the default parameter set. ⭢ Task Report Parameter. The parameter set from the start model can be used.
·Which report type is needed? SQLite database or CSV file ⭢ Report Definition
Implementation:
Creating a task list in menu item
(see screenshot)
1.Create a template for reports in the section Resources selecting the task Report Definition or by clicking the plus icon within a report task.
a.Specify a file name, e. g.:
%env:TEMP%\@date@_MDL_data.csv
b.Select a storage location: When using the Batch Mode, select Client as storage location.
2.Create the task Report Parameter using the model filter Assembly und Part.
a.Import the parameter set from the current model: To do so, open the default startup model in Creo Parametric.
⭢ All parameter names are imported as a list.
Creating a batch list in menu item 
3.Create a batch list with an include rule. In the rule, specify the path to the folder containing the models whose parameters are to be included in the report.
Executing a task list in menu item 
4.Set the batch mode to the batch list that you created.
5.Run the report using Run Immediately (F5).

Tip: If you set a global user variable for your company name in the section Resources, the name can be used as a variable in the file name, e. g. C:\TEMP\Creo\REPORTS\@date@_%user:COMPANY_NAME%_MDL.csv. |