2021-09-14 07:17 AM
Is it possible to create Arhicad elements (polyline, grid, hatching, wall, beam, hole, etc.) directly from the GDL script code? To access or change their properties?
Solved! Go to Solution.
2021-09-14 09:51 AM
GDL objects can not talk to each other directly.
They can communicate through external text files - but I would not call it a good solution - you have to force one object to write to a text file and another to read from it.
It is not an automatic process.
In GDL one object can CALL and use another object - but they are not separate instances of the object placed independently in a file.
It basically becomes one object.
Barry.
2021-09-14 07:44 AM
GDL can only create objects (which includes doors, windows, openings (holes?)), and they are controlled via the door, window and opening tool settings (they are special subtypes of objects and have their own tool).
GDL can mimic other elements such as polylines, walls, beams, etc., but they can not be controlled with the tool settings for those elements.
Only through object parameters.
Barry.
2021-09-14 09:23 AM
The opening object somehow gets a dependency on the WALL object on which it is installed. Is it possible to use similar functions to create a similar binding to the object for newly created objects. I would call it a point of contact. It would be possible to create objects that adapt to the parent object with which the connection is established
2021-09-14 09:31 AM
And another question: Is it possible only by means of GDL without writing Addon's to create a parent object that receives data about changes in child objects? And able to change the properties of child objects without user intervention?
2021-09-14 09:45 AM
Yes, doors, windows and openings can only exist when placed in a wall.
It is not possible for other objects to have this dependency except with accessories add-ons or possibly creating your own API add-ons.
Barry.
2021-09-14 09:51 AM
GDL objects can not talk to each other directly.
They can communicate through external text files - but I would not call it a good solution - you have to force one object to write to a text file and another to read from it.
It is not an automatic process.
In GDL one object can CALL and use another object - but they are not separate instances of the object placed independently in a file.
It basically becomes one object.
Barry.