|
POST
|
Hi ! Usually you need to do 2 things in Python to set the value, as you want it : 1] set the rule source of the attr 2] set the attr value Your issue - I guess - is that you don't set the rule source correctly. If you set the source to 'RULE', you set it to the default value which is initialized in the CGA rule. You don't want that. You want to set it to 'USER' since YOU are setting the value. This should work. Let me know.. Matt
... View more
03-11-2013
02:50 AM
|
0
|
0
|
2068
|
|
POST
|
I'd try something like this for starters .. Ok ? r,g,b = red, green, blue
attr myAttr = "" # point source to object attr ( gis data )
colorFunction(colorChannel) =
case myAttr == "string_1" :
case colorChannel == "r" : .3
case colorChannel == "g" : .4
else : 0.5 # b
case myAttr == "string_2" :
case colorChannel == "r" : .2
case colorChannel == "g" : .7
else : 1 #b
else :
..
Lot -->
color (colorFunction("r"),colorFunction("g"),colorFunction("b") )
... View more
03-11-2013
02:43 AM
|
0
|
0
|
3436
|
|
POST
|
Hi .. Did you get my PM ? I guess it'd be best we can so a screensharing session to track this down. E.g. via Skype or so. Please PM me, we can then figure out the details. Matt
... View more
03-08-2013
02:38 AM
|
0
|
0
|
3877
|
|
POST
|
Hi ! What's the attr type ? float ? string ? let me know .. Matt ps. this tutorial may help you with the very basics : http://forums.arcgis.com/threads/53008-GIS-Data-Mini-Tutorial-Building-Height-and-Floor-Splits
... View more
03-08-2013
02:36 AM
|
0
|
0
|
3436
|
|
POST
|
Hi, No, sadly, there is not. You could use the shape itself as polygons to texture them, but there's no way to make proper streets out of this in CE. You need to convert this to street center lines first outside CityEngine, so CE can use those centerlines to create Streets using the 'Dynamic City Layouts' system. Kind greetings ! Matt
... View more
03-07-2013
01:05 AM
|
0
|
0
|
1492
|
|
POST
|
Hi .. Here's the reply from Molly Zurn, working in Esri's Software Product Release Dept : It does not cost credits to publish the web scene. It does cost credits to store the scene on ArcGIS Online and the cost depends on the size of the file. The rate is 1.2 credits per 1 GB stored per month. See our credit page for more info: http://www.esri.com/software/arcgis/arcgisonline/credits. The page also includes access to an interactive credit estimator. Thank you Molly ! 😮 Hope this helps. Cheers ! Matt
... View more
03-06-2013
10:24 AM
|
0
|
0
|
657
|
|
POST
|
Hi .. For this, ArcGIS provides a GP tool : http://gis.stackexchange.com/questions/29863/create-centrelines-from-road-polygons Hope this helps ? Matt
... View more
03-06-2013
04:16 AM
|
0
|
0
|
1492
|
|
POST
|
Hi ! You need to have a graphics card by NVIDIA or ATI/AMD to run CityEngine (preferred NVIDIA). Intel graphics cards are not supported. Check this in your machine. It may be that you have one and that you have a second onboard graphics card to save battery power. In that case, make sure you have the latest graphics drivers and that the power options are set so that the secondary graphics card is never used. Hope this helps for now. Let me know .. Matt
... View more
03-06-2013
01:09 AM
|
0
|
0
|
886
|
|
POST
|
Cool, yeah let me know. just an 'fyi' in case you did not see yet : http://forums.arcgis.com/threads/70378-Shapes-Models-and-Model-Export may help you tracking things down in general .. 😮 matt
... View more
03-05-2013
06:14 AM
|
0
|
0
|
3681
|
|
POST
|
Hi Greg. If importing 32bit GeoTIF files, you need the additional metadata files (that data is not embedded) : - .prj (the actual projection) - .twf ('world file', defining the extent) If you work with any georeferenced data, the first thing you want to do is set the SCS, the Scene Corrdinate System. That is usually done in a new empty scene. E.g. if you have created an empty scene and drag-n-drop the GeoTIF into the viewport, the import dialog will ask you to select the SCS ( read the window title : Select Scene Coordinate System ). This will not come up if it was set before, e.g. by importing footprint data. So the very best to do is to ( if necessary ) reproject all GIS data you have ( ESPECIALLY the DEM ) to the target SCS you'll use in CityEngine. There's no way around that when using CE when using georeferenced data. Here's an other informative thread to read : http://forums.arcgis.com/threads/54072-textures-raster-files-concepts-in-CityEngine-ArcGIS ( especially note point 5] ) Btw. did you already see the tutorial videos ? 😮 http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP Cheers and let me know if you have more questions .. I guess so. 🙂 Matt
... View more
03-05-2013
06:10 AM
|
0
|
0
|
10571
|
|
POST
|
Hi. From that alone, I can get no further information. I recommend you do the following to track the issue further down : - make sure you're running the online viewer or the latest version of the offline viewer. - instead of exporting all into a webscene, export layer by layer to track down if it's related to your data on a specific layer. - if so, track further down ( maybe even with a binary-search ) to find the shape or element which causes the issue. This way, you should most probably be able to track down the issue. Once you can reproduce the issue clearly, please let me know and I'll try to track it down to find a possible bug. You mentioned it worked properly so far, so I assume the issue is related to something specific in your data, but this could be anything. Let me know .. Matt
... View more
03-04-2013
11:14 PM
|
0
|
0
|
3681
|
|
POST
|
Hi. I guess it's best you contact [email protected]. Matt
... View more
03-04-2013
11:07 PM
|
0
|
0
|
722
|
|
POST
|
Hi .. I got some feedback : The toolbox relies on the Data Interoperability extension from Safe software. Do you have that installed? Matt
... View more
03-01-2013
04:53 AM
|
0
|
0
|
4179
|
|
POST
|
hi. You don't want to have those values to be strings. You NEED floats to be floats for e.g. the extrude. So you'd use something like .. attr height = "" heightFunction = case height == "" : rand(30, 50) else : float(height) Lot --> extrude(heightFunction) or similar.
... View more
02-28-2013
05:07 AM
|
0
|
0
|
5484
|
|
POST
|
you mean texturing street shapes so the texture follows the curvature ? then you don't need the UV setup because all shapes produced by the 'Dynamic City Layouts' system already have UVs.
Street -->
tileUV(0, ~5, ~5)
texture("builtin:uvtest.png")
... View more
02-28-2013
04:40 AM
|
0
|
0
|
1088
|
| 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
|