lendrom

Can a path to other CGA rule file be passed as a parameter?

Discussion created by lendrom on Aug 9, 2012
Latest reply on Sep 6, 2012 by MBuehler-esristaff
Hi, I think it could be usefull to pass a path to a different CGA rule file as a parameter that can be specified by a user for a single building. This way you could have a mass model which sides you can connect (by import operator) with external files defining various fasades. But when I try to store a path to a different file as an attribute and pass the attribute value to the import operator I get an error.
I tried the following code:

attr pathToCGA = "fasade01.cga"
import fasade01 : pathToCGA

and I got an error.
Am I doing something wrong?

Outcomes