Repository navigation
|
Hi everyone, I’m looking for advice on how to edit GeometricElements geometry parameters using the property grid. My goal is to create custom property editors for each parameter so users can easily modify values through the property grid panel. Any guidance or examples would be greatly appreciated! |
Answered by
grigasp
Jan 15, 2026
Replies: 2 comments 1 reply
|
Hi @idhard. Can you clarify which geometric parameters you have in mind? Are they properties from ECSchema, or something parsed from geometry stream, etc.? |
1 reply
|
How to add extra properties to the property grid:
How to make those properties use your custom renderer & editor:
How to commit the changed values:
|
0 replies
Answer selected by
idhard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to add extra properties to the property grid:
IPropertyDataProviderand calls itsgetDatafunction to get all the properties. You can take your existing data provider and either extend it or composite it into your own provider. Your implementation'sgetDatawould call existing provider'sgetData, and then add any extra properties, in the form ofPropertyRecord, you want.How to make those properties use your custom renderer & editor: