AnsweredAssumed Answered

Mass insert 3D model at preference point

Question asked by tgdang-esrisa-esridist on Oct 9, 2012
Latest reply on Oct 10, 2012 by tgdang-esrisa-esridist
I have a layer of points, each with an unique ID. I have a file which maps the point ID to the building model's file name. What I want to do now is to write a rule file which takes the ID and produce the file name, then use i(file name) to insert the model at the points.

My questions are:
- is there any way to implement a hash function in cga grammar?
- is there any looping mechanism in cga?
- if it is impossible to achieve what I want using rule file, what are the other options I have?

I am new to City Engine, so please pardon my lack of knowledge. Thanks for your time.

Outcomes