Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I get properties value of selection?

1 REPLY 1
Reply
Message 1 of 2
kim.jongha
288 Views, 1 Reply

Can I get properties value of selection?

Hi

 

I'm in trouble to getting properties of selection(Python, Add-in dev)

 

selected = inputs.itemById('selector')

if selected and selected.selectionCount:
    entity = selected.selection(0).entity
    # ????

I wanna get Area, Volume, Mass, Density, Bounding Box, Physical Material from selected object. 

I read a lot of documents and forum thread, but I can find how to. Could somebody help me? 

1 REPLY 1
Message 2 of 2
goyals
in reply to: kim.jongha

Please take a look at http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-A567D6A8-5F1B-4ACA-9E05-36C38873F3DD. Thanks



Shyam Goyal
Sr. Software Dev. Manager

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report