|
POST
|
If I understand you correctly, you would like to know how many green rectangles exist when you are in the rule that creates the yellow rectangle. This, unfortunately, is not possible. It is not possible for a shape to know something about another branch of the shape tree. The shape can only really know stuff about its own branch (its own parent/ancestor shapes). If you use reports to count the number of green rectangles, you can get this number after the whole scene is generated, but you won't be able to access this number in a particular rule like the one for the yellow rectangle.
... View more
11-08-2016
06:20 AM
|
1
|
0
|
491
|
|
POST
|
CityEngine integrates well with other Esri software such as ArcScene, especially through the Esri GDB format. You could export your geometry as a gdb and then import it into ArcScene to do your analysis.
... View more
11-08-2016
04:45 AM
|
0
|
2
|
712
|
|
POST
|
Could you please try to upgrade to CityEngine 2016.1? We did some bug fixes, and this might solve the problem.
... View more
11-07-2016
05:53 AM
|
0
|
0
|
650
|
|
POST
|
Please see this post: https://community.esri.com/message/631534-re-cityengine-rail-rule-please-help-me?commentID=631534&et=watches.email.thread#c…
... View more
11-07-2016
05:51 AM
|
0
|
0
|
424
|
|
POST
|
Maybe the splitArea function would be useful for your problem. It splits along a dimension according to a specified area (either specified as absolute or relative). Here is the help page: splitArea Operation However, this operation only splits in one direction at a time, so if you want to split in x and z, you'll have to split first in one direction and then split in the other.
... View more
11-07-2016
05:25 AM
|
1
|
1
|
1188
|
|
POST
|
It looks like you have the layer selected, but I'm guessing you want to see the attributes from the rule file applied to the shapes in the layer. If this is the case, select a shape (click on shape in Viewport) instead. Or, you can select all the shapes in the layer (right click on layer in Scene Editor -> Select Objects). In this case, the values of the attributes will be marked with ? if they have different values for each of the shapes in the selection.
... View more
11-07-2016
05:00 AM
|
0
|
0
|
613
|
|
POST
|
Unfortunately, multiple levels of sub-reports is not possible. You can write reports such as "A.B.C", but only the first period will be considered in making the sub-reports. This means, that the parent report will be "A", and the sub-report will be "B.C". Then, aggregation would happen only for A.* since only one level of sub-reports can be created.
... View more
11-07-2016
04:27 AM
|
0
|
0
|
537
|
|
POST
|
No, sorry, it is not possible to export from CityEngine directly to a CSG file. Here is a list of supported formats: Exporting Models
... View more
11-07-2016
03:02 AM
|
0
|
0
|
560
|
|
POST
|
In regards to your fourth question, perhaps you could change the heights (Move icon in toolbar) of either the water shape or the mooring structure shape to match each other. If you don't want to apply a shift to the entire terrain, there is also the Align Terrain to Shape tool (select shape to which you want the terrain to align -> Align Terrain to Shape icon on toolbar). For example, if the mooring structure is part of your terrain, and you want to just move the part of the terrain containing the mooring structure (and leave the rest of the terrain as is), you could try the Align Terrain to Shape tool.
... View more
11-07-2016
02:56 AM
|
0
|
1
|
879
|
|
POST
|
No, unfortunately, accessing information about the curve handles is not possible in Python. There's only the ability to set segments to be curved or straight.
... View more
11-07-2016
02:50 AM
|
0
|
0
|
708
|
|
POST
|
I feel like this would be possible with Complete Streets, but maybe dwasserman-esristaff would be able to better say whether or not it is possible. With normal streets, you could widen the street by an extra lane width and then texture the streets based on how wide it is. In cga, geometry.dv(0, uvSpace) should give you the number of lanes. Then, if there's an extra lane, you could texture it with a texture for a right or left turning lane.
... View more
11-07-2016
01:44 AM
|
0
|
0
|
671
|
|
POST
|
The rule is pretty simple already, so I don't think changing it would help the performance. The performance also depends on the hardware, so on some machines it may seem slower than others. I would suggest using the Scene Viewer instead of the City Engine Web Scene Viewer. I made of test scene of 1750 shapes with your rule, and the Scene Viewer scene has better performance. File -> Export Models -> Esri Scene Layer Package. This creates an .spk which you then have to put on your AGOL account (right click -> Share As) and publish (open file in AGOL account -> Publish -> then go to My Content and select the Scene Layer with the same name to open the scene).
... View more
11-04-2016
08:11 AM
|
1
|
3
|
1799
|
|
POST
|
If you use the street tools, you can set the subdivision algorithm on the blocks made by streets. If you are not using streets, and you just have shapes you want to subdivide, then you can write cga (or python code as David suggests) to subdivide the shapes. Splits applied recursively may help. Functions that might help: split, splitArea, offset, setback, shapeL, shapeU, shapeO, convexify, innerRectangle.
... View more
11-04-2016
07:07 AM
|
0
|
0
|
891
|
|
POST
|
Creating such a hierarchy seems to work for me in 2016.1. The attribute "height" is shared between all files, and the attribute "a" is only in buildingEnvelope.cga.
... View more
11-04-2016
06:46 AM
|
0
|
5
|
2286
|
|
POST
|
Thanks for the files. Now I understand what you mean. Yes, it does seem like there is a bug when putting shed roofs on shapes created by splits. Thanks for helping us find this one.
... View more
11-02-2016
08:07 AM
|
0
|
0
|
223
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-14-2022 07:18 AM | |
| 1 | 06-22-2020 04:54 AM | |
| 1 | 02-17-2020 03:10 AM | |
| 1 | 07-03-2023 03:37 AM | |
| 1 | 06-07-2023 05:26 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-19-2023
12:40 PM
|