POST
|
Thanks your reply Woody & Chris, I was simply hoping to download the trial from somewhere to test. In order to update I need to go to my local distributor I imagine as I'm in the land of Oz. Unless someone tells me there's a better way. Don't quote me on this, but from what I recall the trial becomes available from the My Organisations > Downloads section yes ?
... View more
04-23-2015
10:21 PM
|
0
|
2
|
998
|
POST
|
Heya folks, I've seen the 2015 trial mentioned here on a few posts and am eager to test out some of the new features but when I attempt to download the trial from the website http://www.esri.com/software/cityengine/free-trial all I see in the address bar is a mention of the 2014.1 version. If I go to My Esri > My Organisations > Downloads I get all my previous products CE 2014.1 CE 2014.0 CE 2013.1 but again no 2015 anywhere ? Where would I find this mythical beast ? Cheers
... View more
04-22-2015
09:20 PM
|
0
|
6
|
4385
|
POST
|
Cheers once again Chris. It's all clicked into place and working as expected. This has been an extremely handy example for me. My only wish now is that python examples and code snippets were half as well documented as cga ... can't have it all tho I guess What's the best place for one to rummage to get a few more examples and uses of python ? I've been through the standard tutorials and PDF - which are quite basic.
... View more
04-21-2015
06:28 PM
|
0
|
1
|
375
|
POST
|
Thanks again for your help Chris. What you wrote compiles just fine and sort of works. Here's where python has me stumped however, in this example anyway. In order for the Object Attributes to be written to the My Precincts layer it needs to have the same rule applied as the buildings and generate the appropriate areas it seems, otherwise nothing gets written to it. Which effectively throws off the reports as the precinct is contributing to the whole. Even if I apply a different start rule to it and zero out the SiteArea and GFA in the reports the python script still fails to write things to it ? It's obviously missing some form of context but I'm not at all sure what that is or why it needs it in this case. This is what my finishExport looks like def finishExport(exportContextOID): ctx = ScriptExportModelSettings(exportContextOID) # Loop thru building reports attaching them to parcels. print 'totalGFA ' + str(totalGFA) print 'siteArea ' + str(totalSiteArea) print allShapes for thisShape in allShapes: ce.setAttribute(thisShape, 'averageTotalFAR', totalGFA / totalSiteArea) print thisShape layers = ce.getObjectsFrom(ce.scene, ce.isLayer, ce.withName("MyPrecincts")) shapesOnMyPrecinctsLayer = ce.getObjectsFrom(layers[0]) # The zero on layers is because layers is a list, and you want the layer with index zero. ce.setAttribute(shapesOnMyPrecinctsLayer[0], 'averageTotalFAR', totalGFA / totalSiteArea)
... View more
04-21-2015
12:53 AM
|
0
|
3
|
375
|
POST
|
That's a very helpful example, thanks a lot Chris. I do have one resulting question, and a lot of python study it appears. Let's say I want to write some of those reports (for the 10 parcels) along with the python calculated average total FAR to another shape's (eg. Precinct) object attributes. I can then query that shape for a pre-generated report summary. # Called after all shapes are generated. Looking at the code after that statement I figured that it should work, but it doesn't. Obviously I need to dig more into Python to understand why.
... View more
04-16-2015
08:56 PM
|
0
|
5
|
375
|
POST
|
Thanks a whole bunch Chris Having a peek at this now.
... View more
04-16-2015
04:45 PM
|
0
|
0
|
445
|
POST
|
Hey Matt, Cheers for the reply. This was more for quick overshadowing studies during certain times of the year rather than any numerical analysis, but good to know. Thanks a bunch
... View more
04-02-2015
04:12 PM
|
0
|
0
|
314
|
POST
|
Muchos gracias amigo I wonder what gems you'll find ?
... View more
04-02-2015
04:06 PM
|
0
|
1
|
445
|
POST
|
If my suggestion worked... report("Total_" + key, value) set (T_Total,(+ key, value)) ...then I guess you could accomplish what you want Petr, but alas I don't think it's possible. Seems like Python is the way to go in this case ... and a timely way to bump this for Chris
... View more
04-02-2015
12:07 AM
|
0
|
3
|
445
|
POST
|
Hi there CE developers, This has come up in a few conversations for me lately so I thought I'd post it here and see if anyone here might have any comments or more ideas in this area. While handy, the solar elevation and azimuth in CE is unlike any other 3D app that I've used for shadow analysis. Sketchup, Max, Blender, Modo, Lightwave, plus a number of the renderers I have used over the years all use time / date as well as the geo location for that purpose. Is there a reason why we have solar elevation and azimuth in CE, and then time / month and GMT values in the webGL application? It would make a lot of sense to rationalize the two into the latter model I believe. I for one would like to do preliminary shadow studies directly in CE where tweaking parameter changes live for specific solstice times has immediate design feedback. Which brings up the second point and request... I like the way webGL models can be analysed in terms of shadows and sunlight via the time / month and GMT values. What would be even better in my view is if there was a way to bookmark those values, along with camera position that we have now, so that you could do solstice studies on specific areas. At this stage you'd have to fiddle with those values per each solstice time / date and that can get rather cumbersome during meetings especially if multiple sites are involved. That would mean a bit of a rethink in terms of the way that sunlight is handled in CE but it shouldn't be too hard a task and would have quite a few benefits I believe.
... View more
04-01-2015
11:50 PM
|
0
|
2
|
3956
|
POST
|
I'll also be quite interested in where this might lead. Thanks for posting that Portland link David.
... View more
03-18-2015
03:46 PM
|
0
|
1
|
1292
|
POST
|
Heya David, Rule version wise, I think I'm using the older version, doh, the zip date is 20/01/2015 if that helps. I'll test it with the latest later tonight and report back. I can definitely send you the scene / project as it's simply for testing purposes. What happens when the segments you are working with are longer? I did take note of what you said about short segments so I did vary them slightly just to see when things fall apart, my shortest distance is 33m I believe. I did notice a change when one node was moved slightly further out, that however might have been due to one of the Begin_Crosswalk_To_Stop_Bar / End_Crosswalk_To_Stop_Bar distances being too low. I will test again with stock standard settings and report from there. Yes that lag issue is strange one. I will need to test it again just to make sure my observation about these freeways segments is correct. 12 is hardly what you'd consider a lot of segments for CE which is where I'm already observing these slowdowns. Just need to make sure I can reproduce them. Just to clarify ... 1. Cars are not facing the right direction sometimes or not appearing on the short segment? This picture might explain it a bit better The car facing incorrectly happens when I change either the Begin_Crosswalk_To_Stop_Bar / End_Crosswalk_To_Stop_Bar distance to 2m instead of 2.4. Fixable but a little strange ? The cars not appearing on any of these freeway segments I have no clue as to why , car density is 150 vehicles/km. 2. Stop bars are giving weird behavior on short segments in the left hand slip lane case? I might do a short video as it's confusing to explain this further I think. In general, what I find is that essentially the segment seems to be flipped so that a stop markings end corresponds to crosswalk begin. Essentially you'd need to hand adjust each such intersection, where as the RHD behaves correctly. Make sense ?
... View more
03-03-2015
10:48 PM
|
1
|
1
|
1719
|
POST
|
Hi there David, I've noticed some strange behavior when working with slip lanes. Might be the me that's causing this, or the rule file, so I'd thought Id ask. To begin with I started with a standard intersection and simply changed from RHD to LHD, no issues there. With the introduction of slip lanes ( the extra graph lines @ 45 degrees and extra nodes whose types become Freeway with an arc radius of around 20 meters) I notice a few things (highlighted in red). 1. For LHD the Stop Markings & Crosswalk Markings - the Begin / End get switched so that Markings-Stop_Begin corresponds to Crosswalk-Crosswalk_End & vice versa. Perhaps this is why simply switching from RHD to LHD exhibits the extra markings down traffic from the intersection. 2. For both LHD & RHD changing the standard distance (from 2.4 to 2 and lower) of Begin/End Crosswalk to Stop Bar causes some of the cars at the intersection to flip 180 degrees 3. I can not get cars to generate at all in the freeway zones. On a side issue, all of my Streetnetworks with these slip lane test (freeway nodes) and this rule file become really sluggish to navigate - tho I'm not sure what the initial condition is yet. After some point, I can click select streets, segments, crossings, sidewalks etc as per usual and the response is instant. However, as soon as I click select any freeway segment the GUI takes at least 5-7 seconds to respond. Deleting the models in these cases doesn't help. What I need to do to get back to normal is select all the objects with the rule file and blank out the rule field. Anyone else experience this ?
... View more
03-03-2015
07:51 PM
|
1
|
3
|
1719
|
POST
|
Thanks again Chris, I've found bits and pieces on this in the manual and in the tutorials, just trying to wrap my head around how to actually do this. Wish there were a few more Python examples floating around. As per your above example, is there a way to accomplish something like this ... as in set a float value to one of these summed up reports ? report("Total_" + key, value) set (T_Total,(+ key, value))
... View more
03-02-2015
07:08 PM
|
1
|
2
|
704
|
Title | Kudos | Posted |
---|---|---|
1 | 01-27-2015 06:31 PM | |
1 | 03-02-2015 07:08 PM | |
1 | 03-03-2015 07:51 PM | |
1 | 03-03-2015 10:48 PM | |
2 | 12-22-2019 05:55 PM |
Online Status |
Offline
|
Date Last Visited |
03-04-2024
11:07 PM
|