SOLVED!
Python - List of names of the built-in properties
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-07-21
05:02 PM
- last edited on
2021-09-15
10:33 AM
by
Noemi Balogh
2020-07-21
05:02 PM
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.
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.
Solved! Go to Solution.
Labels:
- Labels:
-
Automation (Python or JSON)
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-07-22 05:49 PM
2020-07-22
05:49 PM
poco2013 wrote:You are right, it should be: elementId.elementId.guid and propertyId.propertyId.guid
Would have to see how you named ElementIdArrayItem , but assuming it is elemenId (confusing naming) , a return for guid would be elementId.elementId.guid
print(f"{elementId.elementId.guid} {propertyId.propertyId.guid} {value}")
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-07-20 03:58 PM
2021-07-20
03:58 PM
Tibor wrote:Can you help me to print the list of PropertyNames? my code is:
You can find all the available Built-In Properties and currently available User-Defined Properties with the GetAllPropertyNames command.
{
"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:)
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »