Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2011-04-11 04:40 PM
2011-04-11 09:35 PM
Gil wrote:An object can call another object and pass parameters to it, but this takes place within the context of a single object instance. There is no mechanism for one object instance to pass parameters to another instance. It is possible to do this through the ArchiCAD API, but that's another story...
Can GDL objects be made to pass and exchange parameters between themselves?
2011-04-12 03:35 AM
2011-04-12 10:01 AM
2011-04-12 10:47 AM
Barry wrote:These are all global methods, i.e. a change is propagated to all instances. This doesn't mean every instance has to respond to the change, but the data is broadcast globally nonetheless.
You can have a master object that saves the parameters you want to an external text file.
Then all the other objects can be made to read that text file and adjust accordingly.
You can also do it using the internal GLOB_USER variables so you don't need to read and write to the text file.