Number of Objects

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Number of Objects

Postby CADdy » Mon Jan 10, 2022 11:45 am

Hi all,

I have a G-code file that contains a total of 154173 lines (including comments and blank lines). When I load this file into UCCNC, the Field number 894 (Diagnostics_totalnumberofobjects) shows 154461 objects. How is this number derived?

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm

Re: Number of Objects

Postby cncdrive » Mon Jan 10, 2022 12:27 pm

The total number of object derived from the UCCNC's internal structure array which is generated from the g-code file.
For example this line:
M3 M8
contains 2 macros, so that is 2 objects for the UCCNC.
cncdrive
Site Admin
 
Posts: 5159
Joined: Tue Aug 12, 2014 11:17 pm

Re: Number of Objects

Postby CADdy » Mon Jan 10, 2022 7:37 pm

Thank you Balazs for your explanation!

Peter
CADdy
 
Posts: 148
Joined: Sun Sep 17, 2017 2:26 pm


Return to Macros

Who is online

Users browsing this forum: No registered users and 6 guests

cron