Archicad Python API
About automating tasks in Archicad using the Python API.
SOLVED!

Python - List of names of the built-in properties

dushyant
Enthusiast
Hello
Does any know how to fetch the list of all the available built-in properties like "General_ElementID" for 'Element ID' available in the Python API?

Thanks.
11 REPLIES 11
dushyant
Enthusiast
poco2013 wrote:
Would have to see how you named ElementIdArrayItem , but assuming it is elemenId (confusing naming) , a return for guid would be elementId.elementId.guid
You are right, it should be: elementId.elementId.guid and propertyId.propertyId.guid
print(f"{elementId.elementId.guid} {propertyId.propertyId.guid} {value}")
Anonymous
Not applicable
Tibor wrote:
You can find all the available Built-In Properties and currently available User-Defined Properties with the GetAllPropertyNames command.
Can you help me to print the list of PropertyNames? my code is:

{
"command": "API.GetAllPropertyNames"
}

and result is:

==========

Выполнение скрипта test.py


=== Процесс завершен ===

I am trying to add to the script "excel_export.py" the list of names of objects and i can`t find the BuiltInProperty, which helps to call them.
thank you for your help and ask you to forgive me for my english:)