Is it possible to add a entry line on the general tab when creating a new tool?

Is it possible to add a entry line on the general tab when creating a new tool?

CuttingEdgeManufacturing
Collaborator Collaborator
421 Views
2 Replies
Message 1 of 3

Is it possible to add a entry line on the general tab when creating a new tool?

CuttingEdgeManufacturing
Collaborator
Collaborator

want to add a serial number when creating a tool is this possible thru API

 

EDIT: posted this literally right before lunch and i didnt realize how short it was. 

 

I have an excel sheet with serial numbers for all my tools, i recently learned i could pull data from the .json files to make this list, so it would be great if i could add in a serial number straight out of fusion.

 

 

0 Likes
422 Views
2 Replies
Replies (2)
Message 2 of 3

kandennti
Mentor
Mentor

Hi @CuttingEdgeManufacturing .

 

In order to fill in the serial number, I think you need to access the tool library.
Unfortunately, I don't think the current API allows access to the tool library.

 

Also, the API does not provide a way to create new tool or tool path.

 

The only way I know of is to use the template import in this sample.

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-AEF0708D-B657-4E9F-9032-4535E0D1C417 

 

Try exporting the template file (.f3dhsm-template) in the GUI.
When you open it in an editor, you will see it is in XML format.

 

1.png

You can add a new tool to the tool library by rewriting the <description> value and importing it.
If you do not need the tool path, you can delete it, but the tool will remain.

 

However, even if you do it this way, you will not be able to do anything further.

0 Likes
Message 3 of 3

CuttingEdgeManufacturing
Collaborator
Collaborator

i appreciate the feedback, i think i will just use the product link field to put my serial number. i rarely use the product link currently so it shouldnt cause much fuss for me.