Skip to main content
15-Moonstone
May 21, 2026
Question

NCL_file_name auto insert to Gcode as seq name?

  • May 21, 2026
  • 1 reply
  • 22 views

hello experts can some one advice how to Add / auto insert NCL_file_name in to Gcode as seq name when post processing the CL file to generate G-code?  see pic to understand

 

regards

 

fisa

1 reply

Michael_Bourque
10-Marble
May 21, 2026

I was looking for a PPRINT option for NCL_FILE but it does not exist. As far as I know there is not a way to do this within Creo. But it might be possible with the post with a custom macro.

Michael Bourque
asifcad15-MoonstoneAuthor
15-Moonstone
May 21, 2026

sir thanks for you reply yes you are right i also checked Pprint option but in personalize parameter setup i can select NCL_FILE_NAME which is reflect in comments section of g code file..

 

%
N1 ( / PART NAME : 28V-GEN-LEFT-PLATE)
N2 ( / DATE TIME : 21-MAY-26 15:51:01)
N3 ( / SET_NAME : N/A)
N4 ( / NC SEQUENCE NAME : 12-SPD-L-PLATE-CSK-8)
N5 ( / Z MINIMUM TOOL TRAVEL : -1.000000)
N6 ( / Z MAXIMUM TOOL TRAVEL : 40.000000)
N7 ( / NCL_FILE : O0006)
N8 ( / TOOL_TYPE : SPOT DRILL)
N9 ( / CUTTER_DIAM : 12.000000)
N10 T1 M06
N11 S3500 M03
N12 G0 G43 Z040.000 H1
N13 X-025.450 Y-094.800
N14 G83 X-025.450 Y-094.800 Z-001.000 Q1.2 R1. F150.
N15 X072.550
N16 Y114.200
N17 X-025.450
N18 G80
N19 G0 Z040.000
%
but as you see there is no seq number generated what i need .i need NCL-FILE_NAME auto insert as seq number when post process CL file 

Michael_Bourque
10-Marble
May 21, 2026

Try post UNCX01.P11 and you will notice it already puts out the NCL file and version;

%
O0123
(G:\My Drive\Cad Files\Creo\V12\myconfig\123.ncl.4)
(05/21/26-13:31:16)
( / PART NAME : PRACTICE2)
( / DATE TIME : 21-MAY-26 13:30:48)
( / SCALE : N/A)
( / TRANSLATE : N/A)
( / ROTATE : N/A)
( / SET_NAME : N/A)
( / OPERATION NAME : OP010)

Michael Bourque