We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-07-05 11:35 AM
Hi!
Is there a way to access to subelement with the python API?
2024-07-05 02:09 PM
???? -- What do you mean by "subelement". Do you mean composite surfaces or GDL parameters or whatever and what do you want to do with them? Do you want a measurement or just a description?
2024-07-05 02:16 PM
I'm working on a script that helps classifying elements. I found that subelements/components (curtaiwalls components for example) are not affected by my script. I would like to access their classification and modify it.
2024-09-12 08:47 AM
It wasn't possible before but looks like now you can. I had this very same issue and came across this cool project from Enzyme: https://github.com/ENZYME-APD/tapir-archicad-automation?tab=readme-ov-file
Their additional JSON commands contain classification commands that can target subelements as well. I haven't tried as I'm still learning Python but this looks promising
BIM Manager
DKO Architecture - HCMC