Best way to query API objects?

Best way to query API objects?

bmyers1
Explorer Explorer
564 Views
4 Replies
Message 1 of 5

Best way to query API objects?

bmyers1
Explorer
Explorer

I am brand new to Fusion's API and I was wondering if Fusion has developer tools or an easy way to view information about different objects I am looking to manipulate in the API.  

0 Likes
Accepted solutions (2)
565 Views
4 Replies
Replies (4)
Message 2 of 5

Jorge_Jaramillo
Collaborator
Collaborator
Accepted solution

Hi,

I don't know any development tool.

I often use the Text Command window to display information about the model in two ways:

- From the scripts: using the Application.log() function

- From the same text command window: first choose "Py" in the lower right corner and then write any Python sentence which it evaluates immediately as you can see in the next image:

Jorge_Jaramillo_0-1729864707570.jpeg

 

I hope this can help.

 

Regards,

Jorge Jaramillo

 

 

0 Likes
Message 3 of 5

bmyers1
Explorer
Explorer

@Jorge_Jaramillo Thank you I will try that

Message 4 of 5

JeromeBriot
Mentor
Mentor
Accepted solution

@bmyers1  I'm not sure exactly what you're looking for but you can try Fusion360DevTools by @prainsberry 

 

=> https://github.com/AutodeskFusion360/Fusion360DevTools

 

You can use the GitHubToFusion to install the add-in: https://apps.autodesk.com/FUSION/en/Detail/Index?id=789800822168335025&os=Win64&appLang=en

Message 5 of 5

bmyers1
Explorer
Explorer

@JeromeBriot That's Exactly what I wanted!  Thank you!

0 Likes