"Failed to invoke function 'onSection'" when post processing from Fusion

Autodesk Support

Feb 3, 2025


Products and versions covered


Issue:

Users reported that the following appears when post processing from Fusion:

  • The NC Program reads: 

"Error: Failed to invoke function 'onSection'."

Failed to invoke function 'onSection' message in NC Program 

  • Hovering over the Error next to the NCProgram shows the following:
"Parameters
Invalid NC Program"
Parameters Invalid NC Program when hovering over NC Program 
  • The message appears in the bottom right of Fusion:

"NC code failed to post"

NC code failed to post immediately shows in bottom right corner
  • The program Error Log shows the following:
Failed to invoke 'onSection' in the post configuration shows in error log
Error: Failed to post process. See below for details.
Error: Failed to invoke function 'onSection'.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to invoke function 'onClose'.
Error: Failed to invoke 'onClose' in the post configuration.
Error: Failed to execute configuration.
Stop time: Tue Aug 11 06:43:08 2020
Post processing failed.
 
 
 

Causes:

Incorrect setup axis aligned. 

Solution:

Check the following

  • Download and use the recent version of Post Processor from the Fusion post library.  
  • Check Post processor is configured for 5 axis machining or only for 3 axis.
  • Make sure that the WCS is set correctly for Milling or Turning or a Mill-Turn machine.

If posting a 4-axis operation

  • Ensure the Machine's rotary axis is configured correctly. See Defining the direction of a rotary axis in Fusion
  • Ensure that all Tool Orientation selection(s) are possible for the 4th axis machine / post processor.
    • For example, a Z-axis Tool Orientation selection must be either; a surface parallel to the rotary axis, or an edge perpendicular to the rotary axis. Anything off of that physically requires 5 axis to get to that orientation.
  • Consider setting up a machine configuration

If posting through Mill/Turn post (such as Haas ST-35 L)

For a milling program check the following settings before posting.

  1. Go to Post Properties.
  2. Under Configuration, Turn On Got Live Tooling.
  3. Post the program now.

Products:

Fusion;


Was this information helpful?


Need help? Ask the Autodesk Assistant!

The Assistant can help you find answers or contact an agent.


What level of support do you have?

Different subscription plans provide distinct categories of support. Find out the level of support for your plan.

View levels of support