Hello everyone,
I work on Allplan 2025
I am trying to change the Style Area of elements.
In my script:
- Get all elements in my drawing
- Modify the style area of them via the attribute [at]125[at]

---------------------------------------------------------------------------
document_manager: DocumentManager = DocumentManager.get_instance()

document_adapter: AllplanEleAdapter.DocumentAdapter = document_manager.document

all_elements: AllplanEleAdapter.BaseElementAdapterList = AllplanBaseElements.ElementsSelectService.SelectAllElements(document_adapter)

print(len(all_elements))
print("*"*50)

for element in all_elements:
print("\t"+ element.GetDisplayName())

AllplanBaseElements.ElementsAttributeService\
.ChangeAttribute(125,301, all_elements)
---------------------------------------------------------------------------

Unfortunately it doesn't work. I tried other attributes but it works except [at]125[at]

The Trace window shows:

1
**************************************************
3D object

Check and update (Fill)...
Data Update - 0 ms
Update Asso View- 0 ms
Update UVS - 0 ms
Update Finish Elements - 0 ms
Fill Finish Elements - 0 ms
Update MVS Section Doc - 0 ms

Does anyone have any ideas
Thanks
Tan