Select to view content in your preferred language

Using print() function to log attributes and variables to console

914
1
07-02-2014 02:04 AM
VanjaDjurdjevic
New Contributor
Hi!

I'm trying to debug my CGA rule file and it would come in handy to 'log' some values back to the console. How can I do this?
It seems that it is not possible with the print() statement. I'm using Cityengine Advanced 2011

Thanks in forward
0 Kudos
1 Reply
MatthiasBuehler1
Deactivated User
yes, print() works ..


try this rule:

Lot -->
    print(geometry.area)



m.
0 Kudos