Hello everyone,
Can you guide how to get a TextElement class from BaseElementAdapter Class? I can't find the method to do that.
Thank you.
Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.
Melden Sie sich jetzt an und diskutieren Sie mit!
Hello everyone,
Can you guide how to get a TextElement class from BaseElementAdapter Class? I can't find the method to do that.
Thank you.
Hi Than,
What you describe will be possible in Allplan 2025. You can already test it out if you have access to Allplan Work-in-Progress. Getting the TextElement is done using the same function, that you use to get any python object from the BaseElementAdapeter: GetElements() (or in 2025 also GetElement()). You can have a look on the example (available in 2025-WIP-1 and newer):
.../etc/Examples/PythonPartExamples/BasisExamples/ObjectModification/TextModify.pyp
Best regards!
Bart
Hi Than,
What you describe will be possible in Allplan 2025. You can already test it out if you have access to Allplan Work-in-Progress. Getting the TextElement is done using the same function, that you use to get any python object from the BaseElementAdapeter: GetElements() (or in 2025 also GetElement()). You can have a look on the example (available in 2025-WIP-1 and newer):
.../etc/Examples/PythonPartExamples/BasisExamples/ObjectModification/TextModify.pyp
Best regards!
Bart
Hi Bmarciniec,
Thanks for your respond.