
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I can convert a mesh to a bRepBody manually using the GUI by using the "Mesh->Convert Mesh" command.
I can't seem to find the equivalent API methods to do the same. Do they exist?
I saw in this question (https://forums.autodesk.com/t5/fusion-360-api-and-scripts/convert-mesh-to-brep-in-api/td-p/10238769) that a solution might be to use the command line to perform the operation but when I try this it brings up a different window which I can't get to convert the mesh. This is the same if I manually type the command without using the API at all.
The command I am trying to use is "Commands.Start Mesh2BRepCommand". But I can't click OK on the menu.
My first question is how can I use the API to convert a mesh to a bRepBody? (I'm using the c++ API but that probably doesn't matter)
My second question is how can I find a list of all arguments I can pass to the "Commands.Start"? I would assume all commands that can be accessed through the GUI would be callable here but I can't find a list of them. I tried "Commands.Start ConvertMeshCommand" but that does not exist.
Thanks for your help!
Solved! Go to Solution.