Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Method for getting the CAM setup WCS

Message 1 of 5
392 Views, 4 Replies

Method for getting the CAM setup WCS

Hello together


As I need the transformation matrix between the CAM setup WCS and the global coordinate system. Is it anyhow possible to read out the "position" of the CAM setup WCS using the API?

Message 2 of 5
in reply to: Anonymous

Hi 9T_labs.


I'm sorry, it's just an idea.


I think that the script alone will hardly be able to obtain information from CAM.
However, here is a sample code for post processing. 


You can download CPS file in JSON format here. 


I feel that it is possible to obtain a lot of information by post-processing in JSON format and reading the JSON file as a script.
I would like to know if you can do it well.

Message 3 of 5
in reply to: Anonymous

Created a sample script.


The contents of the file created by the JSON post
It may not be correct because it is not fully understood.


Attached data and script were executed.


You can get a lot of information by using postprocess even in the script.
I wanted to tell you that it was possible.

Message 4 of 5
in reply to: kandennti

Thank you so much for the effort! It saved me a lot of work! I will implement it now into our software.

Message 5 of 5
in reply to: Anonymous

I'm sorry, but I feel that the correct result is not displayed.
It seems that you need to recreate it from the CPS file.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report