Grab ANY/ALL custom properties of an element #5981
-
Hi, Is there a straightforward way of grabbing any/all properties of an element? This would include custom item type properties. Taking an example from the iTwin accreditation course, we had to know ahead of time the SmartDevice item type, part of the house schema, in order to query for smartDeviceId, smartDeviceType, etc. So how can I extract properties of an element we know nothing about except for its ECInstanceID and its other properties returned by Thanks for your help, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hmm, perhaps what I'm looking for is the Presentation library? |
Beta Was this translation helpful? Give feedback.
-
Have you looked at PresentationManager.getElementProperties? |
Beta Was this translation helpful? Give feedback.
-
@pmconne - Perfect, thanks Paul! |
Beta Was this translation helpful? Give feedback.
Have you looked at PresentationManager.getElementProperties?
You can call it from the frontend too.
You may find some useful ideas in this discussion.