2021-08-09 02:58 PM - last edited on 2023-05-11 11:02 AM by Noemi Balogh
2021-08-10 12:28 PM
2021-08-11 03:03 AM
Erick wrote:I don't know.
Anyone? At least an "I don't know"
2021-08-11 04:33 AM
2021-08-11 10:00 AM
Erick wrote:
Is this possible to do in the AC-GH connection?
I can extract property settings information from existing AC elements and create new elements with custom property settings information in GH, but I don't how to add more information to existing AC elements via the AC-GH connection:?
2021-08-11 11:10 AM
2021-08-11 11:11 AM
LaszloNagy wrote:Thanks a lot for the answer Laszlo
Erick wrote:
Is this possible to do in the AC-GH connection?
I can extract property settings information from existing AC elements and create new elements with custom property settings information in GH, but I don't how to add more information to existing AC elements via the AC-GH connection:?
Generally, the Archicad-Grasshopper Connection CAN create new elements in Archicad, and modify the elements it created.
Unfortunately, at this point, it CAN NOT modify existing (already created/placed) elements in Archicad.
This capability has been wished for several times in the past by users.
2021-08-11 11:32 AM
poco2013 wrote:Thanks a lot for the answer. I don't know how to do this in Python (yet ). Is there any guide I could see to learn how to do it?
FYI:
You can run Python scripts within GH and this script can write to existing properties. But Python is quite limited in Archicad and it appears that Graphisoft has reneged on its promises to make the Python API viable? As, Python has no capability to create or set elements or manipulate their parameters.
As of version 25, Python can communicate with API add-ons and transfer commands and parameters. You would, of course, have to also create and install the corresponding receiving Add-on to do the actual commands. However, if you just want to set existing properties, Python can do this by itself, but not much else.
IOW: this approach (Python) does not make much sense as it is probably more trouble than worth, but you should be aware if you have no other option.
2021-08-11 04:21 PM
2021-08-25 01:33 PM
JSN wrote:Sorry for answering so late, I didn't see your answer. Thanks for the tip, I'm already started looking at it
https://archicadapi.graphisoft.com/getting-started-with-archicad-python-connection
It is indeed the way to go when you want to change existing elements. E.g. giving all certain rooms a specific property value, or changing classifications based on property values with just one click. However some Python knowledge would be good as it might be a bit hard to get into it as there ain't much documentation and the sample files do not go that much into the detail.
And yes, seems like there is not much developement on this front again, and as we know GS I would not bet any money on it that there ill me a boost in functionality in the near future.