2021-01-19 06:30 AM - last edited on 2021-09-14 01:34 PM by Noemi Balogh
2021-01-19 06:45 AM
2021-01-19 09:33 AM
from archicad import ACConnection conn = ACConnection.connect() #连接AC Application对象 assert conn acc = conn.commands #赋值acc为AC的commands命令对象 act = conn.types #赋值act为AC的types类型对象 acu = conn.utilities #赋值act为AC的utility实用工具对象 lstElements1 = acc.GetElementsByType("Zone") and then? how to use GetClassificationsOfElements,can you give a code example? like foreach item in lstElements1 :.....
2021-01-19 03:23 PM
space_classification_item = acu.FindClassificationItemInSystem( 'ARCHICAD Classification', 'Space') element_ids = acc.GetElementsByClassification(space_classification_item.classificationItemId) print(element_ids)
2021-01-19 06:08 PM
2021-01-19 07:12 PM
2021-01-22 10:13 AM
space_classification_item = acu.FindClassificationItemInSystem( "ARCHICAD Classification", "Wall")
2021-01-22 01:56 PM
2021-01-26 02:49 PM
2021-01-26 05:01 PM