Maybe I'm missing the obvious, but here's my problem:
Our customer places cells containing texts (data fields) in a 2D model and my program replaces these texts when needed. I also rotate the texts 180° if necessary, so that they are more "readable" in the view. This has been happening since V8 times.
Since the CE times, a new phenomenon has emerged, by rotating, mirroring cell exchange the customer manages to place the cells face-down. So far so good, now the customer expects that we rotate the texts correctly again without changing the graphics in the cell.
As technology is still used: “mdlModify_elementSingle(…, MODIFY_REQUEST_HEADERS, MODIFY_ORIG,…”
My problems:
Thanks a lot.CellFaceDown.dgn
Volker Hüfner said:how can I find out that a text-element is facedown?
Good question! The text element's orientation is not a mirror matrix...
In other words, the text element does not record the history of events that led to an inverted, flipped, orientation.
Regards, Jon Summers LA Solutions
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan Šlegr said:the text style is configured as upside-down
Well spotted!
First of all, thank you Jon and Jan!
Yesterday I was no longer sure whether I had not forgotten much too much of my basic knowledge in mathematics :-D.
The control over negative values seems to be found also in the header of the cell. At least I was able to use it yesterday as a test to see if the entire cell is "on the nose".
I will then try to correct the sign of the font-size, let's see what happens.
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |