2020-12-19 10:09 PM - last edited on 2021-09-14 01:36 PM by Noemi Balogh
UserDefinedPropertyUserId {'localizedName': ['GENERELLA (Byggmaterial)', 'Densitet'], 'type': 'UserDefined'}
act.BuiltInPropertyUserId("General_Thickness")
2020-12-20 02:32 PM
2020-12-21 09:00 AM
2020-12-21 10:04 AM
Mats_Knutsson wrote:That are the user defined PROPERTIES. They are (of course) localized and you can access them directly by the name you have set.
So what does this mean?
2020-12-21 01:41 PM
runxel wrote:I want to export BM properties to excel.
Mats_Knutsson wrote:That are the user defined PROPERTIES. They are (of course) localized and you can access them directly by the name you have set.
So what does this mean?
This means, you could do a new property and set the bmat there, again. Seems like this is the only way at the moment. Not a nice one, tho.
2020-12-21 02:40 PM
Mats_Knutsson wrote:Yeah I think you can't do that with Python at the moment.
I want to export BM properties to excel.
2020-12-21 03:12 PM
runxel wrote:"#&%¤"#""#&¤"/#&... crap. Thanks anyways!
Mats_Knutsson wrote:Yeah I think you can't do that with Python at the moment.
I want to export BM properties to excel.
2021-01-18 10:35 PM
propertyUserIds = [ act.BuiltInPropertyUserId("General_ElementID"), #通过types对象的BuiltInPropertyUserId方法,获取梁和墙的元素ID act.BuiltInPropertyUserId("General_Height"), #original act.BuiltInPropertyUserId("General_Width"), #original act.BuiltInPropertyUserId("General_Thickness"), #original act.BuiltInPropertyUserId("Story_number"), #wrong code,I add---------------------------- act.BuiltInPropertyUserId("Building_Material") #wrong code,I add---------------------------- ] I want get the element's story number,building material,but this code can't work,how can I get these info?