After the most recent update I've gotten and error with trying to post. I can use the same post on a computer that hasn't been updated yet and it works fine. Where do I look to start digging into it?
Solved! Go to Solution.
Solved by GeorgeRoberts. Go to Solution.
Hello,
Thanks for posting. Looking at your error it seems to be the endTablePosition variable you're using in onClose within the post processor. I'm not sure why this is working on another computer, i'd need to see the post to determine what is causing this variable to be undefined
Would you mind sharing a copy of the post?
Many thanks
George Roberts
Manufacturing Product managerPerfect, thanks!
I notice you have endTablePosition as a property. To access this, you should use properties.endTablePosition. To fix your error, change this line:
writeBlock(gMotionModal.format(0), gFormat.format(53), "X" + xyzFormat.format(endTablePosition) + "Y" + xyzFormat.format(0) + "Z" + xyzFormat.format(0));
To this:
writeBlock(gMotionModal.format(0), gFormat.format(53), "X" + xyzFormat.format(properties.endTablePosition) + "Y" + xyzFormat.format(0) + "Z" + xyzFormat.format(0));
Hope this helps!
George Roberts
Manufacturing Product managerI've had a similar problem;
Information: Configuration: Test Post
Information: Vendor: Benjamen S. Hadley.
Information: Posting intermediate data to '/Users/BIM2010/Desktop/HWC05'
Error: Failed to post process. See below for details.
...
Start time: Wed Aug 1 07:44:02 2018
Post processor engine: 4.2.1 42050
Configuration path: /Users/BIM2010/Autodesk/Fusion 360 CAM/Posts/TestMill.cps
Include paths: /Users/BIM2010/Autodesk/Fusion 360 CAM/Posts
Configuration modification date: Wed Aug 1 07:41:24 2018
Output path: /Users/BIM2010/Desktop/HWC05
Checksum of intermediate NC data: 7b611746aecc170586e8c9b6be7340b5
Checksum of configuration: dfe463a9fc73d5bf713913b9abc33968
Vendor url: benjamenhadley@yahoo.com.au
Legal: Copyright (C) 2012-2018 by Autodesk, Inc.
Generated by: Fusion 360 CAM 2.0.4343
...
###############################################################################
Error: ReferenceError: lineWidth is not defined
Error at line: 193
Stack dump:
formatHeading@/Users/BIM2010/Autodesk/Fusion 360 CAM/Posts/TestMill.cps:192
writeHeading@/Users/BIM2010/Autodesk/Fusion 360 CAM/Posts/TestMill.cps:216
onOpen@/Users/BIM2010/Autodesk/Fusion 360 CAM/Posts/TestMill.cps:238
Failed while processing onOpen().
###############################################################################
Error: Failed to invoke 'onOpen' in the post configuration.
Error: Failed to invoke function 'onOpen'.
Error: Failed to execute configuration.
Stop time: Wed Aug 1 07:44:02 2018
Post processing failed.
Its a custom post I've been using and it was fine until recently. Has something changed in the post engine? I think I have it narrowed down to the user defined variables. any help would be greatly appreciated.
Okay, that seems to have done it (I think)!! By going back through the code and adding the prefix "properties." to every user preference I've been able to fix the issue!!
So I get similar problem. However, I don't know where to write the code you posted. Could you help me? Thanks!
Can't find what you're looking for? Ask the community or share your knowledge.