Post Processor Get Operation

Post Processor Get Operation

Anonymous
Not applicable
1,135 Views
4 Replies
Message 1 of 5

Post Processor Get Operation

Anonymous
Not applicable

Is there any way to obtain the name of the current operation in a post cps file? For example, "2D Contour".

0 Likes
Accepted solutions (1)
1,136 Views
4 Replies
Replies (4)
Message 2 of 5

Steinwerks
Mentor
Mentor
Accepted solution

Yes, the section that pulls the title of the toolpath is this one:

 

  if (hasParameter("operation-comment")) {
    var comment = getParameter("operation-comment");
    if (comment) {
      writeComment(comment);
    }
  }
Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks, that did it. Is there documentation somewhere on parameters?

0 Likes
Message 4 of 5

Steinwerks
Mentor
Mentor

@Rob_Lockwood did the legwork here and put down just about everything I believe: https://forums.autodesk.com/t5/fusion-360-computer-aided/community-resource-expressions-list/m-p/722...

 

You can always use the dump.cps post processor too to find quick things to reference, and it can be very handy once you know what to search for in the output (hint: don't post too much, it gets overwhelming).

Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
Message 5 of 5

alexhurrallnielsen
Explorer
Explorer

Is there anyway to prevent the post processor from posting the Operation title? I run a Fadal and when I drip feed to the machine it won't ignore the title. 

0 Likes