|
POST
|
hehe.. there's just the cancel button you can click. if a scene contained generated models when the scene got saved, when reloading the scene : CityEngine will ask you if you want to regenerate them. this cannot be turned off.
... View more
07-09-2012
09:11 AM
|
0
|
0
|
621
|
|
POST
|
you can toggle between text - and visual representation in the CGA rule editor on the top-right corner. there's multiple icons. test the first 4 icons. [the 5th is a yellow double-arrow] let me know if this works. the default is visual CGA (VCGA), when a new rule is created, but VCGA only works if the code can be parsed, thus it eventually falls back to the regular text.
... View more
07-09-2012
09:07 AM
|
0
|
0
|
828
|
|
POST
|
hi ! if you have multiple kml / kmz files, right-click on one > import kml, then edit the path in the dialog to something like : "data/myKmlModels/*.kml" notice the star (*). this is a wildcard, thus imports all kml files in 1 step. single kml files can just be drag-n-dropped into the viewport. ok ?
... View more
07-09-2012
09:00 AM
|
0
|
0
|
692
|
|
POST
|
hi ! 1] try tracking this issue down with colored models which you export Lot -->
color(1,0,0)
Lot. then compare in ArcScene which buildings are not in CityEngine. 2] we're working on the attribute export (GDB) via reports. that's not yet working in 2011.2, sadly.
... View more
07-09-2012
08:57 AM
|
0
|
0
|
647
|
|
POST
|
here's a little screenshot of a result : the fat line being the first edge.
... View more
07-03-2012
03:47 AM
|
0
|
0
|
3888
|
|
POST
|
additionally to Andi's input : In the case you want to define the Street Edges for Static Shapes ( imported ) on Dynamic Streets and you have lots of them, so you don't want to fix them all manually, you can also try the Python script in the following thread (of course you need CityEngine Advanced, if you have access to it ) http://forums.arcgis.com/threads/44677-Define-Front-of-a-House
... View more
07-03-2012
02:40 AM
|
0
|
0
|
1344
|
|
POST
|
hi ! CityEngine always works in a tree structure, check the Model Hierarchy Window and enter the Edit Model Mode ( see docs ) how the geometries are created by stepping through the rules. Check also this video : http://forums.arcgis.com/threads/44417-CGA-Understanding-the-concept-of-the-scope Thus, you will find that all CGA operations always work based on the SCOPE and it's current geometry. You can create such specific symmetries only with the component split ( comp() ) and choose opposing selectors, such as world.west // world.east. Or index-based, e.g. with the modulo operator. Mirroring always works on the geometry of the current scope and it's geometry. So once you are on the Facade shape, you have mo more access to the geometry of the whole buildings. CityEngine uses a top-down approach, so you can not query 'back up the tree' ( Model Hierarchy). Let me know if you have more questions.
... View more
07-03-2012
02:32 AM
|
0
|
0
|
801
|
|
POST
|
hi ! here's the script I made some time ago for this thread on the old forum http://forums.esri.com/CityEngine/forum-40181.html read the description how to use it.
... View more
07-03-2012
02:18 AM
|
1
|
2
|
3888
|
|
POST
|
Hi ! Since there's no connection possible in CityEngine between Static Shapes (imported) and dynamic streets, the street orientation must be 'manually'. There's 2 ways : 1] select each Street Edge by double clicking it > Shapes Menu > Set Street Edges 2] use my Python script I made some time ago which does that automatically, though that needs CityEngine Advanced. I'll try to find that script again.
... View more
07-03-2012
01:57 AM
|
0
|
0
|
3888
|
|
POST
|
hi ! I'd try to make this with the comp.index after extruding your hexagonal shape, use the comp(). when using the side selection, pass on the comp.index as an argument to the next rule. this will give each facade an index with which you then can work. Here's the code : [ did not check the code, just writing it down here ] Try this, then adapt the indices below in the code ( currently 0 and 1 ) Lot -->
extrude(3)
comp(f) {top : Roof. | side : Facade(comp.index) | all : NIL}
Facade( myIndex ) -->
case myIndex == 0 :
color(1,0,0)
case myIndex == 1 :
color(1,0,0)
else :
color(0,1,0) after this test works, continue in your own code. ok ?
... View more
07-03-2012
01:51 AM
|
0
|
0
|
689
|
|
POST
|
1] toggle F12 --> Are the models visible at all ? 2] try defining a shape name after the extrude Lot -->
extrude(5)
Mass.
... View more
07-02-2012
06:14 AM
|
0
|
0
|
744
|
|
POST
|
hi ! select the edge by double clicking. then go to Shapes > Set Street Edges notice that this way, object attributes are created with the street width of 1 !
... View more
07-02-2012
06:12 AM
|
0
|
0
|
1194
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-06-2012 08:40 AM | |
| 1 | 09-30-2013 08:33 AM | |
| 1 | 08-07-2013 04:45 AM | |
| 1 | 10-15-2012 02:19 AM | |
| 1 | 01-30-2014 12:09 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|