|
POST
|
aha! I think I get it .. thank helps a lot. I will try it out! thank you! matt
... View more
03-04-2015
01:32 AM
|
0
|
0
|
855
|
|
POST
|
Hi, In this link: ArcGIS Help (10.2, 10.2.1, and 10.2.2) Some additional parameters like e.g. the template are defined. How do I use these additional parameters ? If I want to use only one of the additional parameters, is this possible ? Or do I need to add ALL the same parameters if I use any at all because of the number of parameters the method accepts is fixed? Any input welcome. Thanks, M.
... View more
03-03-2015
08:31 PM
|
0
|
2
|
4260
|
|
POST
|
what would be the possible time frame for this to be implemented ? any input welcome. thanks! Matt
... View more
02-27-2015
07:20 AM
|
0
|
8
|
2176
|
|
POST
|
Hi, there is no binary answer possible to this, it depends on the situation. but maybe look into instancing that saves at least memory for geometry (it does not make the rendering faster). what I would do is create an LOD switch where you can change the state per building. I created something similar when I created the Medieval Town example. Check out the code for the windows there. Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------------ Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-26-2015
03:39 AM
|
1
|
0
|
1160
|
|
POST
|
Hi, By 'GP Tool Model' I meant using Model Builder. Yes, I have run through two tutorials that show how to set up a network dataset and run two different simulations (best path, service area). It's sad to hear this is not possible in Python. I have only heard of ArcObjects, but I am not a programmer, so I think I would fail on this.. But I am pretty sure I will not need to edit the network itself, just swap the whole dataset with a new one before each sim cycle. This could also be done using a 'prepared' scene. The only thing I want to avoid is to have to manually click things, e.g. opening a scene file and click something. I want to trigger 1 script and get the result. If I could automate that, that could be good already... Matt
... View more
02-24-2015
12:41 PM
|
0
|
9
|
2176
|
|
POST
|
Hi, I need a different street network every time I run the simulation because it may potentially change every time (design iterations). I need a FULL simulation setup every time. Can I use Python to set up a GP Tool Model to set the simulation up, instead of running everything purely in Python ? Thanks, Matt
... View more
02-24-2015
11:32 AM
|
0
|
11
|
2176
|
|
POST
|
Hi everyone, Thanks for the inputs. Well, I think I have to start at the very beginning with every step individually, but so many questions pop in my mind now. I have some experience in Python, but am just trying to get into arcPy. [ By 'define a street network in a GDB' I mean: - Create an empty GDB - Create a polyline FC - Fill in the street polylines with their attribution. But that is just a subtask of my workflow. ] So what I basically would like to do in one python session : - define the input streets - create the street network metadata ('network dataset') - define e.g. a start and end point by coordinates - run the simulation - get the results (e.g. a polyline representing the best path and save it in an other GDB) - close the session Is that second step ('create network dataset') not possible to do in python ? Thanks, Matt
... View more
02-24-2015
10:57 AM
|
0
|
13
|
2176
|
|
POST
|
I see. Maybe use extrude(world.y, ceil(rand(8,10))) I thought you want to flatten the footprint. This code extrudes exactly vertically up. You will have to deal with more precise code to get a bit better results for the facades. But this should get you a bit further for now. Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------------ Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-24-2015
04:25 AM
|
0
|
1
|
1504
|
|
POST
|
Hi, I'd like to automate the following tasks completely in Python. Can somebody provide me with some introductory code ? 1) Define a street network in a GDB ( actually also create the street features in Python based on other data) 2) Take that street network as the network analysis base 3) Define a start point and end point of a route ( do these points have to be exactly ON the network line ?) 4) Run the analysis 5) Print out in the console how long it would take to walk that distance (at a certain speed) A very simple example with 3 imaginary streets would be very helpful. Any input welcome! Thanks, Matt
... View more
02-23-2015
02:35 PM
|
0
|
16
|
8921
|
|
POST
|
UGLY CODE ALERT !!! rather use: split(x) { '0.1: test }* or something similar. Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------------- Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-23-2015
09:43 AM
|
0
|
0
|
2576
|
|
POST
|
Hi Muhammad, 1] Yes, this is possible. Use the following code right at the beginning of your StartRule: " alignScopeToAxes(y) s('1,0,'1) " this will flatten the shape. 2] I assume you have 3 edges on the front of your building footprint, right? --> if yes: maybe clean the input polygon or use the cleanupGeometry() operation otherwise, use the 'comp.index' to drive on which facade polygon you want which facade wizard rule applied. Hope this helps! Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D --------------------------------------- Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-23-2015
09:07 AM
|
1
|
3
|
1504
|
|
POST
|
Hi, If you need to add more characters, you need to edit the rule that creates the text. There are 3 images in the esri lib that are used. Each has 32 characters. You need to redo those images, with your added characters (either replace your character with existing ones or making the list longer than 32). If you change the amount of characters, you need to adapt the CGA code, basically swapping the float value 32 to what ever you have Make sure the picture is well formatted, with enough resolution (but not too much either). Hope this helps. Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------- Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-23-2015
06:07 AM
|
1
|
2
|
1777
|
|
POST
|
Hey .. there's no real code block function here .. *sigh* .. just copy paste it in. but post only the essentials to make it as short and clear as possible. I think I understand this right: On top of the highest point of this massing I want to place another, tower, DAE, split that into it's components ( the rest of the funky colours), and extrude those to different heights set via other attributes. What I would do is the following: 1] use a comp(f) to cut up the first dae into it's components 2] for each resulting shape, report the comp.index 3] for each resulting shape, report the extrusion height (scope.sy) after the extrusion. DON'T report rand(..), cos this will be a DIFFERENT random value. 4] Use Python to get the reports and sort the entries to how you need them (this is the trickiest part) 5] Make sure the 2nd collada has according face indices so that e.g. the second dae's face component '3' is vertically above the first dae's face component '3'. 6] Create a separate rule that is assigned to the second shape that you can inform: - Create an object attribute with the 'winning' component index - Hook the attribute source to that object attr via Python - Let the rule generate that second extrusion on just that face index based on an other attribute. This whole thing - if I understood it right - can be scripted as ONE python scripts that does all in one step. You need a bit of experience with Python scripting and the script based exporter though. Is this approximately what you were going for? Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D ----------------------------------- Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-04-2015
01:36 AM
|
1
|
1
|
2013
|
|
POST
|
What do you mean by 'test each height against it's predecessor' ? Can you write the functionality in pseudo code? Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------------ Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-03-2015
06:16 AM
|
0
|
3
|
2013
|
|
POST
|
Hi, 1] scope.elevation reports the lowest height of the current scope. 2] I assume you want to find out which part of the 4 extruded ones is the highest, right?--> This is not possible in CGA alone. You need to report, get the reports in Python and then compare each result to find out which one was the highest. Matt Matthias Buehler Head of 3D Technologies twitter: @MattB3D ------------------------------------ Garsdale Design Limited matthias.buehler@garsdaledesign.co.uk www.garsdaledesign.co.uk
... View more
02-03-2015
04:44 AM
|
1
|
5
|
2013
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2016 10:00 AM | |
| 1 | 10-02-2014 04:38 AM | |
| 1 | 02-26-2015 03:39 AM | |
| 1 | 02-23-2015 09:07 AM | |
| 1 | 10-06-2014 07:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|