AreaAnnotator9.dgn
The attached DGN file has a single model. The model contains four shape elements. Each shape is annotated using text fields. Some text fields show Item Type property values; others show element properties such as area and perimeter.
The two green shapes are annotated each with a text node that contains several text fields including area, alternative area and perimeter. If you use MicroStation's modify element tool to change a green shape element you can see that all the element property text fields update themselves to show the shape's new metrics. That's the behaviour I expect.
The two brown shapes are annotated each with a cell that contains plain text elements and also several text fields including area and perimeter. If you use MicroStation's modify element tool to change a brown shape element you can see that the element property text fields do not all update themselves to show the shape's new metrics. That's not the behaviour I expect. I'm puzzled!
Note: This problem seems to be a bug in MicroStation CONNECT, as mentioned by Paul Connelly below. If I open the same DGN file with MicroStation V8i, the text fields in the cell update as expected.
Richard Baker II said:Has there been any progress on correcting this problem?
The bug that I reported was fixed, I think in Update 12. Certainly Update 14 and later work correctly for me.
Richard Baker II said:I have a cell that contains a Note. Inside the Note are two fields designed to display the X and Y coordinates of the location were the cell is placed in the drawing
That's a more complex case than that which I reported. Is the problem specific to a note inside a cell? If you drop the cell so the note is a free-floating element, do those fields update as you expect?
Regards, Jon Summers LA Solutions
Initially after I drop the cell the information in the note did not updated; however, after I saved the file and opened it again they did get updated. So it appears that being inside a cell prevents the text fields inside the note from being updated.
civil.cel
I isolated the cell in the library and uploaded it in case you want to try it.
The cell name is A - PI Coordinate (Right). I did not create the cell. I am just trying to use it.
Richard Baker II said:I isolated the cell in the library and uploaded
This looks like a problem with MicroStation itself, rather than the C++ API. I suggest that you raise a service request (SR) with Bentley Systems and submit your cell library as evidence.
Thanks for testing the cell. I will try submitting a service request and see what happens.
Update: I submitted the service request to Bentley and they have logged the problem as a defect in MicroStation CONNECT.This email refers to Service Request 7001310281, submitted on behalf of Black & Veatch. Description: Cell Fields do not update Product: MicroStation Product Area: Cells There has been a defect filed for this issue, defect #657767. Look for a fix in a future release.