Message 1 of 3
Can't get face entity from fillet edge set edges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have found a bug with the Fusion API where, when a face is used in the selection set of a Fillet Feature, information about the face cannot be retrieved from the API. The documentation claims that the FilletEdgeSet edges can contain Edges, Faces or Features (https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-f7b0210f-32db-4845-a63d-8ff42664bc0d), but when faces are used, nothing is returned. Below is a script that, with the attached file, demonstrates this issue.
import adsk.core
import adsk.fusion
app = adsk.core.Application.get()
ui = app.userInterface
design = adsk.fusion.Design.cast(app.activeProduct)
root_component = design.rootComponent
timeline = design.timeline
# Get fillet feature
fillet_timeline_object = timeline.item(2)
fillet_feature = fillet_timeline_object.entity
# Roll to just before feature is created
fillet_timeline_object.rollTo(True)
# Get edge set
edge_set = fillet_feature.edgeSets.item(0)
# Show number of edges
edges = edge_set.edges
ui.messageBox("Number of entities in edges collection: " + str(edges.count))
Is there a workaround to this or plans to fix the issue?
Thanks
Robert