Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Post Error After Most Recent Update

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
mill01
1570 Views, 8 Replies

Post Error After Most Recent Update

Capture001.PNGAfter 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?

 

 

8 REPLIES 8
Message 2 of 9
GeorgeRoberts
in reply to: mill01

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 manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
Message 3 of 9
mill01
in reply to: mill01

Post is attached, I think.  Please don't judge, there's plenty of room for improvement Smiley Very Happy

Message 4 of 9
mill01
in reply to: mill01

Let's try attached again.

Message 5 of 9
GeorgeRoberts
in reply to: mill01

Perfect, 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 manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
Message 6 of 9
Anonymous
in reply to: GeorgeRoberts

I'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.

Message 7 of 9
Anonymous
in reply to: Anonymous

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!!

Message 8 of 9
mill01
in reply to: GeorgeRoberts

That fixed it.  Thank you for the assistance!

Message 9 of 9
Anonymous
in reply to: GeorgeRoberts

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

 

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.

Post to forums  

Autodesk Design & Make Report