cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
dushyant
Enthusiast

Python - List of names of the built-in properties

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:)

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!