I have a strange problem.
I've created a cell for displaying X and Y coordinates. The coordinates are textfields displaying the coordinates of a point (line) element at the cell origin. If I attach the cell library and use the command ac=kryss_text for placing the cell, only one of the coordinates get the correct coordinate. If I drag select and delete the cell and try again the correct values are displayed. At this point all new copies of the cell will be ok. Also, if I place the cell by double clicking in the Cell Library dialog everything is fine from the start.
I've attached a file and a cell library for testing.
The video shows the problem.
/Krister
Coordinate_test.dgnCelllib.cel
Krister Surell said:I've created a cell for displaying X and Y coordinates. If I attach the cell library and use the command ac=kryss_text for placing the cell, only one of the coordinates get the correct coordinate.
I've noted this elsewhere (in the Programming Forum). A text field, when a component of a cell, linked to an element property does not update reliably when the underlying property is changed. If you place independent text elements, or a text node element, then the text fields are updated reliably.
Regards, Jon Summers LA Solutions
It would be great if someone at Bentley could verify this and if so, add it to the list of things to be fixed.
Owner consultant at Surell Consulting AB
Hi,
It should not make any difference but I've attached Coordinates.cel for you to test. I tested this in a new file based on "3D Metric Design.dgn".
Also, if I open the file in V8i the result is invalid (see image).
Coordinates.CEL
I get the same, first placement of cell always show 0 for x, copy or move corrects the coordinate. I looked over the cell definitions, look O.K. to me, please file a service ticket. I did notice if I exit the file, then re-open the x coordinate is corrected, definitely another bug.
Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley
Krister - Thanks for attaching the cel file, I found I was still not able to reproduce.
Given the fact that others ( Thanks Bob/Jon for confirmation ) I thought it must be my install and following clean reinstall of Update 11 I was able to reproduce.
Following further testing I also found that if I dock the 'Explorer' dialog ( Which I had with my original install ) then the coordinates update as expected, which I suspect is why I was unable to reproduce originally.
Defect 985212 has been filed, thanks for reporting.
Regards
Carl Myhill
Technical Support Engineer
Bentley Systems
You do go the extra mile (kilometer) Carl. Thanks!
[20190627-RH] UPDATE. This issue is potentially related to items below. A defect has been filed. We will ensure the defect has proper visibility to be addressed.
REFERENCESProduct Issue: [CE 11] Textfield in cell not updatedProgramming Issue: [CONNECT C++] TextField in Cell not UpdatingProduct Defect: 985212 filed