2022-04-13 10:50 AM
Anything new on this? I want to export an excel with selected properties to check against requirements. Last time I checked (> 1 year ago) I was told only built in properties were accessible. I want my properties set under Options > Properties... such as FireRating, SoundRating etc to export to excel...is it working now?
2022-04-13 01:04 PM
act.UserDefinedPropertyUserId(localizedName: List[str], type: str = 'UserDefined')
OR
Has been available since release 25
2022-04-14 10:27 AM
Ah yes thanks. And what about BMat properties? CO2e, density and the likes (when I try to remember correctly it was rather these properties I was after... extracting the wall volume etc...and the CO2e... haven't looked into this for a year...or maybe more...)
2022-04-20 04:40 AM
FYI: As far as I know, Python scripts do not have the capability to address Building material properties. This is because the return property value function requires a elementId and Building materials are a attribute and are addressed with a attributeId.
However, I have added the capability to my data_access.apx via the CommandHandler function. The Command is 'GetBMAtt' And the first and only parameter is the name of the Building Material.
I have posted the apx and a sample Python file on my GitHub site -- Release Nine
GitHub site for data_access release AddOn
If you have any questions or comments , just leave them below.