Page 1 of 1

How to count all parts?

Posted: Thu Jun 24, 2021 6:43 am
by piotr1951
Is there variable for it so I could add it to job report?

Re: How to count all parts?

Posted: Thu Jun 24, 2021 11:26 am
by David_Lelen01
try @PartsCut@. You can go to help -> click debug log and then run a job report and it will show all of the available variables for the job report and in what sections of the report.

Looking at the log, it appears @PartsCut@ just counts the number of duplicate parts, not the total number of all parts in the job so that may not be what you want.

Re: How to count all parts?

Posted: Thu Jun 24, 2021 11:00 pm
by mancavedweller
In addition to what David suggested there is a post processor function "OnNewPart()".

You could use that to increment a custom variable.

Of course you are getting into post processor modification / programming and Davids method is easier.

Re: How to count all parts?

Posted: Fri Jun 25, 2021 6:52 pm
by SeanP
Also a really usefull feature in dev version is info in status bar, in 'view toolpaths' mode and selecting the part it will show total parts for job, parts and duplicates.
Then if you select the operation for that part it shows cut length & how many pierces.
Using nesting mode and selecting operation box tels you job cut distance and total pierces.
Very useful!
SC1.jpg
SC1.jpg (228.16 KiB) Viewed 4269 times