BLOG
|
Brian - this is good work. I have similar files that do similar things and have used the recent ability of reading .CSV files to reduce the repetitive coding. You can get the best and more predictable results when you set up your projections early in your rule, before you start splitting your shapes into floors, windows, etc...
... View more
03-15-2021
12:22 PM
|
0
|
0
|
1263
|
POST
|
You can call your Generate rule from your Lot. I think the cleanest way to would be to put it on top and I would give it a more distinct/memorable name. The code below should work and will scatter 100 trees. Lot --> InsertTrees primitiveQuad(1920,1080) comp(f) {top:alignScopeToAxes(y) SATimage | all: NIL} SATimage--> texture("images/Satellite Imagery/Test Test/sattest.png") InsertTrees--> scatter(surface, 100, uniform){PlantTree} PlantTree--> i(Tree)
... View more
03-15-2021
12:16 PM
|
0
|
1
|
760
|
IDEA
|
Its the not the projects - its the workspaces. I've moved to a workflow that keeps the workspaces local and the projects in cloud storage, but with this approach they aren't backed up.
... View more
01-18-2021
09:57 AM
|
0
|
0
|
1554
|
IDEA
|
agree with this 100%. Would be very nice to code into predefined styles.
... View more
01-13-2021
11:15 AM
|
0
|
0
|
2995
|
IDEA
|
Being able to make Layers Transparent - like the shapes - would be very helpful for tracing over top of terrain and aerial imagery. Suppose an alternative would be to have the option to have the map layers visible while in Wireframe mode.
... View more
01-07-2021
09:12 PM
|
1
|
0
|
892
|
IDEA
|
Yeah exactly. Maybe eyedropper brush applies the rule and all attributes, but holding down shift or control limits to just the rule itself. Or vice versa.
... View more
01-07-2021
09:09 PM
|
0
|
0
|
806
|
IDEA
|
I sync my workspace to OneDrive and simply opening and closing a project or scene triggers a sync of hundreds of files - and that's just when I open the file. If I make any edits or a save it feels like there are exponentially more modified files.
... View more
01-07-2021
09:07 PM
|
2
|
3
|
1609
|
POST
|
Just to add a little Cheryl's answer...what gets spit out is in square meters, so you'll need to convert it with a multiplier. You can multiply in place but I'd suggest you get in the habit of using constants. I have a mini library I copy and paste to start every rule I write. const sqm2acres = 0.000247105 #square meters to acres
Lot -->
report("Area", geometry.area * sqm2acres)
X.
... View more
09-15-2020
12:36 PM
|
0
|
0
|
947
|
POST
|
Okay. Seems to have worked. We will "flip" the custom domain switch once we are comfortable everything is there.
... View more
09-11-2020
01:30 PM
|
0
|
0
|
689
|
POST
|
It is. I'm investigating this further and it looks like there is a Hub application but not a Hub Initiative. Forward SGF is the custom domain This will also get you there. Thanks Graham. https://springfield-comp-plan-hlplanning.opendata.arcgis.com
... View more
09-11-2020
12:54 PM
|
0
|
2
|
689
|
POST
|
I am getting a 404 error when I try to create an event on my initiative. I'm not sure if something got messed up with the data file but I haven't found a way to repair it or reset it.
... View more
09-11-2020
12:38 PM
|
0
|
4
|
730
|
POST
|
Just use a stochastic rule in your attribute. This will randomize on seed generation and then give you the ability to change it. Something like the code below should work. @Enum("texA.jpg","texA.jpg","texC.jpg","texD.jpg")
attr Texture = 25%: "texA.jpg"
25%: "texB.jpg"
25%: "texC.jpg"
else: "texD.jpg"
... View more
09-11-2020
12:35 PM
|
1
|
0
|
704
|
POST
|
I've created a rule that subdivides land and then passes the "pad" to a master rule that builds the structure. All of that works fine. If I modify the master_structure rule everything refreshes fine. Subdivide.cga --> master_structure.cga The problem I'm encountering is that I've created a master rule to create PBR textures from a library and other master rules that create doors and windows. When those rules are modified (so a reference within a reference if you will) they do not refresh. I have to make some revision to the master_structurerule to get CityEngine to "see" revisions to 3rd tier references. Subdivide.cga --> master_structure.cga --> master_texture.cga
--> master_doors.cga
--> master_windows.cga And if I just draw a shape and apply master_structure to it, I can edit its references with expected behavior - its the third level of reference where its breaking or not triggering a compile of the new cga. Does this make sense? I can screenshare with you if you'd like.
... View more
09-02-2020
10:04 AM
|
0
|
1
|
1039
|
POST
|
I think this bug has resurfaced. Updated linked CGA files aren't "refreshing" in the master file.
... View more
09-01-2020
04:29 PM
|
0
|
3
|
1039
|
Title | Kudos | Posted |
---|---|---|
2 | 11-28-2023 09:44 PM | |
1 | 08-22-2023 04:40 PM | |
1 | 07-19-2023 12:02 AM | |
1 | 03-15-2021 12:28 PM | |
1 | 04-08-2020 01:36 PM |
Online Status |
Offline
|
Date Last Visited |
Sunday
|