- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have written a plugin that automatically applies a different material to floors.
We call
doc.Paint(element.Id, face, materialId)
for all the faces of the element. This code is updating the materials (as we can see from the material browser).
The problem the tag that describes this material is not getting updated in the sheets. The tag is a keynote tag.
What we have found is moving the tag slightly (manually) updates the tag. It shows the right value.
Actual value should be Botticino (defined as keynote for the material). It shows Kota Blue even after calling the doc.Paint method. However, if we move the tag slightly, it updates to Botticino (as shown in the screenshot).
Are we missing some method that needs to be called for the views to refresh?
Solved! Go to Solution.