Message 1 of 2
Read property from the design with Api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Fusion-Community,
I want to read/extract the properties from any design. I am trying to write a script that can help me read specifications like length, breadth, radius, height, angle etc.
From the samples, I could learn and find the count of Features.
ui = app.userInterface
product = app.activeProduct
design = adsk.fusion.Design.cast(product)
sketch = design.rootComponent.sketches
#all Features features = design.rootComponent.features
#Hole Features
holff = features.holeFeatures
#Features count
print(holff.count)
#Extrude Features
extff = features.extrudeFeatures
#Features count
print(extff.count)
But I want to extract the specifications of a specific feature details.
I am looking for some help and guidance.
Thanks