I am testing how to link cga files by means of the "import" operation. I want to do my site layouts (i.e. where to put buildings on the ground) in one cga file and import another cga file containing scripts for building envelopes (i.e. the form of each building) into it.
My problem is: I want to be able to report the floor area ratio (FAR) for which I need the lot area and the floor areas of each building. However, the lot area is generated in the script of the first cga file while the floor areas are generated in the script of the second cga file.
Is there a way to pass on the floor area from an attribute in the first cga file to be used in the reporting of the second cga file?
I have been trying to import the lot area from file 1 into file 2, but as file 1 also imports file 2, the whole thing gets cyclical…
Should I do the reporting in file 1 instead? Is there a "best practice" on this?
I hope you understand my problem.