Message 1 of 2
Can I get properties value of selection?

Not applicable
02-28-2019
11:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?