Hello,
I added a custom attribute called SONA_CODE to a wall: text type
I am trying to retrieve the value of this attribute[[[.]]]
I cannot find this attribute[[[.]]][[[.]]][[[.]]] why?
Many many thx! ??
My code looks like this
print("========== DIAGNOSTIC ATTRIBUTS ==========")
attributes = selected_element[.]GetAttributes(AllplanBase[.]eAttibuteReadState[.]ReadAll)
print(f"Nombre total d'attributs: {len(attributes)}")
sona_found = False
for attr_id, attr_val in attributes:
try:
attr_name = AllplanBase[.]AttributeService[.]GetAttributeName(doc, attr_id)
print(f"ID: {attr_id: