Error: You can only select either a machine in the CAM setup or use the properties to define your kinematics.

Error: You can only select either a machine in the CAM setup or use the properties to define your kinematics.

Eric.Moore24
Enthusiast Enthusiast
1,317 Views
12 Replies
Message 1 of 13

Error: You can only select either a machine in the CAM setup or use the properties to define your kinematics.

Eric.Moore24
Enthusiast
Enthusiast

I continue to get this error across parts, and I am at a loss. In this most recent case, another user was able to get a correct post output where I cannot because machine definitions are not being referenced correctly. I sorta understand the issue, the post is doing what it knows to do, correctly, but I am messing up somewhere to where the post does not have set limitations and parameters. 

 

As I currently understand it, inside of a setup, I select a machine, in this case an Okuma M460-5AX, and continue on about my day. However, when I select post process, in order to have it not fail, I end up deselecting "Use Machine Configuration," thus removing any machine definitions and parameters it could use to correctly output a program.

 

Screenshot 2024-04-18 103606.jpgScreenshot 2024-04-18 103818.jpgScreenshot 2024-04-18 103940.jpg 

0 Likes
1,318 Views
12 Replies
Replies (12)
Message 2 of 13

seth.madore
Community Manager
Community Manager

@AchimN has a more thorough answer 🙂


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 3 of 13

AchimN
Community Manager
Community Manager

Hi @Eric.Moore24 ,

 

thanks for your feedback.

The problem here is that you have the property "Rotary table axis" enabled and its set to "5 axis".

 

What this does it enables predefined machine kinematics into the postprocessor. Of course that conflicts now with the machine definition your selected into your setup of your Fusion project.

When you set this property to "No rotary", the error should go away and the postprocessor will make use of the machine you selected in Fusions setup.

 

AchimN_0-1713455721802.png

 

A bit of background:

Before we had support for machine definition and machine simulation in Fusion, the only way to specify machine kinematics was to define them directly in the postprocessor's CPS file, which was not the easiest thing to do.

 

For this reason, a property was added to some post processors to allow the user to easily select the kinematics required without having to change any code in the post processor itself.

 

Ultimately this type of property will be removed from all post processors, but for now we have decided to keep it for a while to be backwards compatible with existing projects and until more users get used to the new machine definition workflow.

 

Hope that helps!

 

 



Achim.N
Principal Technology Consultant
0 Likes
Message 4 of 13

Eric.Moore24
Enthusiast
Enthusiast

Okay, this is great, I now have a correct program.

 

That said, I am still getting the same error when I try to use "Simulate with Machine."

 

Is there some other place that this is getting selected or am I needing to change a default somewhere?

0 Likes
Message 5 of 13

a.laasW8M6T
Mentor
Mentor

You need to select "No Rotary"  and then post a program out for it to get the setting to  "Stick"

0 Likes
Message 6 of 13

Eric.Moore24
Enthusiast
Enthusiast

Okay, I just did all of that, but I am still getting the same error message.

 

I thought that it might be my second setup not being complete, and not having a machine selected. I just went through and did all of that only to just get the same error.

 

Screenshot 2024-04-18 193852.jpg

0 Likes
Message 7 of 13

AchimN
Community Manager
Community Manager

You can additionally try to use option "Reset to Post default" in the property:

AchimN_0-1713512192219.png

 

Then you must postprocess an NC-program so that Fusion saves that state of the property. Then try again to use machine simulation.



Achim.N
Principal Technology Consultant
0 Likes
Message 8 of 13

Eric.Moore24
Enthusiast
Enthusiast
This did not work for me as I am still getting the same error.

I thought that it might have to do with my having like a couple different variations of the machine in my file so I deleted all of them. I downloaded a fresh default model from the Fusion Library, put it on my local file, and selected that new machine definition for both setups.

Selected the restore defaults, posted so have the reset defaults stick, then changed my preferences and posted again. I continue to now have a correctly posted program, but no ability to "Simulate with machine."
0 Likes
Message 9 of 13

a.laasW8M6T
Mentor
Mentor

There seems sometimes to be odd stuff happening with resetting defaults with posts. for some reason the changes don't stay and keep resetting to the wrong choice.

 

 

Can you share the post processor here, there may be an issue with it that is causing it not to play nice with machine sim

0 Likes
Message 10 of 13

Eric.Moore24
Enthusiast
Enthusiast

Yeah sure, but it is the default download off of the portal.

0 Likes
Message 11 of 13

Eric.Moore24
Enthusiast
Enthusiast

Screenshot 2024-04-22 141943.jpg

0 Likes
Message 12 of 13

a.laasW8M6T
Mentor
Mentor

OK I wasn't sure if it was a modified one.

 

I have encountered this problem before where a setting goes blank and cannot be reset no matter what you do, the only thing I have found that works is to delete the post and load a new copy into your local or cloud storage

 

This is definitely a bug in Fusion, that field should never be null like that

@seth.madore  I'll see if I can get a video capturing this later, but its worth looking into

0 Likes
Message 13 of 13

viacheslav.shapilov
Autodesk
Autodesk

Hello, @Eric.Moore24 .
I think, post property can go blank if its definition in post gets changed and previous value is not valid anymore. But you should be able to override it with new value once posted with any other valid value. We will take a look to automatically reset to default non-valid values.
Also, you can take a look into file, where they are stored: %AppData%\Autodesk\Neutron Platform\Options\<YOURID>\NPostProperties.xml and manually remove invalid options, when Fusion is not running.


Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network


0 Likes