Skip to content

Modifying Properties in a Local iModel #6632

Answered by grigasp
Nhillus asked this question in Q&A
Discussion options

You must be logged in to vote

To allow editing, I enabled isPropertyEditingEnabled to true in the viewer, which made the input box appear, but it doesn't actually modify the property when I press enter. I'm seeking guidance in this part.

The property grid component doesn't handle updates - you'll have to do that yourself. Assuming you're using the widget from @itwin/property-grid-react, you can supply the onPropertyUpdated callback to be notified about the change in the UI, where you can initiate the actual change in the iModel.

Additionally, I have a question regarding what exactly constitutes an "element" within this context. For my tests, I used a snapshot to access the iModel that i previously download and prin…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nhillus
Comment options

Answer selected by Nhillus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants