POST
|
This summation of totals during reporting is very handy indeed. Thanks a lot for the tip! Is there a way to set an attribute to one of these totals tho ? Nothing I've tried seems to work.
... View more
02-26-2015
05:09 AM
|
0
|
4
|
895
|
POST
|
02-20-2015
05:26 PM
|
1
|
0
|
553
|
POST
|
Hi Chris, Your code is spot on and works like a treat, thanks a bunch for your help .... except that my question was not clearly phrased for what I intended, sorry. What I want to do is put "Height" into the text field then tack another text string to it which is dynamically derived from some attribute, not typed in. Height in this case. So if I have a building that ends up generated to 50m I want the line to read "Height 50" ... is that possible ?
... View more
02-20-2015
04:10 PM
|
0
|
3
|
553
|
POST
|
Thanks a bunch for this rule Chris ! Very handy indeed. I have a hypothetical question ... would it be possible dynamically generate the text based on some attribute values / text etc ? As in link this to say building height and have it change as the height changes ? I had a peek at the code but alas it's a little beyond me at this stage. PS: I appreciate the note about the weird push / pop notation ... made me have a look and try to figure it out seems rather handy.
... View more
02-19-2015
10:35 PM
|
0
|
5
|
553
|
POST
|
Thanks a bunch for the pointers Matthias and yes it all makes sense. Just a shame I can't attempt this all in CGA. It gives me an excuse to dive into Python sooner rather than later
... View more
02-04-2015
02:55 PM
|
0
|
0
|
782
|
POST
|
Hi Matthias "What do you mean by 'test each height against it's predecessor' ?" Maybe this graphic + explanation will be a bit better. I have a base footprint DAE that I split into it's components (red, green & blue in this case). Each of these are then extruded to a certain height set via attributes (5,10 & 15m in this case) 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. In order to place the tower DAE on top of the podium massing I need to know the highest extruded height (15m in this case). I can set/adjust for this manually, as I did per the second flat DAE shape, or I could perform a "test" during the extrusions. The "test" as it works so far simply involves aligning the scope to the first extruded podium volume, checking the scope.elevation against a value, and if it's larger then it I set that as the new value. Then do the same for the remaining podium volumes, hence checking them against their predecessor. Apologies about my confusing explanation. The scope elevation works fine and reports the right numbers, it's the setting of the value which has me confused as it just doesn't behave like I would expect. Anyway ... I have another bit of code, just some nested case logic, that works and should be able to take care of this. It's just my amateurish trials at some slightly different building massing. PS: How does one include a code block here on geonet ? Is it via Insert > Syntax Highlight ?
... View more
02-03-2015
08:53 PM
|
0
|
2
|
782
|
POST
|
Hi Matthias, Thanks a lot for the quick reply. Much appreciated. Yes, that's exactly what I'm trying to do, moving a small step forward along the idea in this thread .. https://community.esri.com/thread/115670 Maybe I should ask the question another way, excluding the scope.elevation from the equation ... Say I have four volumes that are to be extruded to known, yet different heights. For arguments sake 2m,4m,6m,4m. All I want to do in this case is test each height against it's predecessor. If it's higher, then set that as the value of an appropriate float, if lower do nothing. 6m in this example .... would that scenario work ? Can one get the ceiling from a defined and known range of attributes ?
... View more
02-03-2015
05:20 AM
|
0
|
4
|
782
|
POST
|
Hi there folks, Might seem a bit basic but I can not get this little code snippet to work for some reason ? All I need is for the float, Top_Height, to be set to the highest elevation that the scope reaches during some operations ScopeHeight (n) --> case (scope.elevation > Top_Height 😞 set (Top_Height, scope.elevation) else: NIL I'm splitting up a base dae shape into it's component faces (4 in this case) and extruding these to random heights. Each of these in turn simply report back the scope elevation, in this case... 7,19,5,9. When I then run the code above, per each extrusion, the float simply get's set to 7, then 19, then 5 then 9? Is this simply me misunderstanding the way cga flows ?
... View more
02-03-2015
04:20 AM
|
0
|
6
|
4531
|
POST
|
No problem If you're willing to dive a little into LightWave I'd be happy to send you a quick scene you can play with. I assume you're a 3dsMax person yes ?
... View more
01-28-2015
03:28 PM
|
0
|
1
|
947
|
POST
|
Hi Ionut, I had a quick look to see if I could point you to something already out there but could not find anything as yet that describes what I did. All it essentially boils down to is driving the displacement of each individual part via a procedural wave. Nothing more than that. Not promising anything as I'm pretty busy at the moment, but I will see if I can put together something in terms of a tute for you. I'm sure you could do this in Max , C4D, Modo just as easily (give or take) as in Lightwave. Lightwave however does have some pretty good nodal tools that make this sort of thing really easy and quick to approach, plus it's integration of Octane is one of the best out there and hence my choice to go via this route.
... View more
01-27-2015
06:31 PM
|
1
|
3
|
947
|
POST
|
Ahhhh ... brilliant, thanks for pointing that out. This is one heck of a rule !!!
... View more
01-22-2015
09:28 PM
|
1
|
1
|
2014
|
POST
|
Hi David, That is some stellar work and a wonderful gift to the community. Especially for those of us that are not so comfortable with the code side of things = me. Thanks a whole bunch for making this available and for the explanations ! PS: I've just started playing around with it here and noticed that angled parking for us lefties is not quite correct. Appears to need a small angle correction.
... View more
01-22-2015
04:41 PM
|
2
|
3
|
2014
|
POST
|
Terribly sorry for the delay Chris, let's just say that work, kids, life & holidays got in my way. Attached is this scene + the rule file for whoever wants to have a play.
... View more
01-22-2015
03:14 PM
|
2
|
1
|
481
|
POST
|
Sure thing Chris, tho it will be a week or so as I'm away at the moment. You will probably laugh at my code
... View more
10-29-2014
07:03 PM
|
0
|
0
|
481
|
Title | Kudos | Posted |
---|---|---|
1 | 03-03-2015 10:48 PM | |
1 | 03-03-2015 07:51 PM | |
1 | 01-27-2015 06:31 PM | |
1 | 03-02-2015 07:08 PM | |
2 | 12-22-2019 05:55 PM |
Online Status |
Offline
|
Date Last Visited |
06-06-2024
03:02 PM
|