I am trying to update a drawingtext in the active view. Is there a way to update the text in a specific position? My code: DRAFTINGITF.DrawingText drawingText; drawingText = drawingTexts.Add(text, 150, 100);
The text to be seen is coming to the program as an argument by the user, for example: "testtextFriday". So when i run it second time the text for example "testtext2Friday" is written on top of the existing one and not changed completely to the new text. Is there possibility to write the new text on the same position in a better way. screenshot of the scribbled text attached for reference. I want it to update to the passed text, i.e "testtext2Friday".
erstellt am: 03. Apr. 2020 11:50 <-- editieren / zitieren --> Unities abgeben: Nur für sina123
Hi
Why don't you check if the DrawingText already exists (for example per Name)? If yes: change the text (oDrawingText.Text). If not: create a new drawingtext (.Add)
Regards, Bernd
------------------ Warum einfach, wenn es auch kompliziert geht.