POST
|
Hi Jack, I'm guessing that you may have converted your models into shapes. Try this: 1. Click on Shapes > Align Shapes to Terrain... 2. Under Align function > Select Translate to Maximum If that works, then you can use any of the Translate-based align functions (not the Project-based align functions) to align your objects to terrain.
... View more
04-28-2020
08:42 AM
|
1
|
1
|
579
|
BLOG
|
Hi Keera Morrish, this is very helpful. Thank you! I did not realize that the buildings in the sample scenes have masking enabled, allowing them to be turned on and off with the future buildings layer. Another question here - is there a way to delete multiple projects in one go? Right now it seems that in order to delete a project, I would need to go to the project settings, click delete, and then type the name of the project to confirm the delete. This becomes quite cumbersome when removing multiple projects.
... View more
02-04-2020
10:57 AM
|
0
|
0
|
2728
|
BLOG
|
Great tutorials! Can you explain how the "Future Buildings" toggle works? In the sample demo cities it seems to turn on and off certain buildings, however there is no documentation to explain how to set something like this up.
... View more
02-03-2020
12:49 PM
|
0
|
0
|
2728
|
POST
|
I am working on a rule where a land lot goes through a series of checks, and can only continue to the next part of the rule once all check conditions are met. I need to check the following: - the area of the shape needs to be larger than 100 - the length of the first edge needs to be greater than 25 I’ve got my rule set up so as follows: attr AreaPass = false
attr LinePass = false
Shape -->
case geometry.area >= 1000:
set(AreaPass, true)
print(geometry.area + " is area")
print(AreaPass + " is area")
LineCheck
else:
color(1,0,0) #color the shape to show an error
LineCheck -->
comp(e) {0: FrontLine}
FrontLine -->
case scope.sx >= 25:
set(LinePass, true)
print (scope.sx + " is scope.sx")
print (LinePass + " is scope.sx")
TestsHavePassed
else:
color(1,0,0) ##fail
TestsHavePassed -->
case LinePass == true && AreaPass == true:
print ("pass")
color(0,1,0) #color the LOT green to show that it passed
extrude(10) #Extrude the LOT shape by x meters to show that it passed
else:
color(1,0,0) ##fail
print ("fail") The issue is that I can't extrude the original lot face by x meters because by this point I've split the object and only have an edge left to work with. Is there any way to run a geometry area test AND an edge test, and if they both satisfy their conditions, then an operation will continue on the original input shape?
... View more
01-18-2018
12:13 PM
|
0
|
1
|
434
|
POST
|
The FLEXnet data file fix seemed to work for me for a few weeks as well. However, now after solving the issue the first time, I'm still getting a hangup at least once a week and I have to dig around to find a solution every time. Deleting the .data files doesn't seem to solve every time. System restore works, but it's frustrating to have to do this every time. I think there might be a connection to Windows updates...
... View more
10-02-2017
07:58 AM
|
0
|
1
|
1026
|
POST
|
We are currently working on a large CityEngine project that requires multiple people working on the same project at the same time. It is also very resource heavy due to complex building forms and detailed texturing. We are currently dealing with some important questions relating to large project workflows: - How do we allow multiple people to work on different layers or aspects of the same project? We have considered a git repository, but since layers are stored within the local project, and the cej file is binary, there is no way that we can easily merge and manage changes/conflicts between different users' work. - Is there a way to allow for external data sources and layers to be brought into a scene and remain as referenced sources and not locally stored files? - Have any of you worked on projects requiring multiple CE users/editors/designers, and if so, how have you dealt with similar issues? Thanks
... View more
09-13-2017
11:04 AM
|
0
|
1
|
454
|
POST
|
Are you running any Autodesk software on your system? If so, would you mind listing all Esri and Autodesk software installed? I have run into a similar issue as well.
... View more
08-23-2017
11:09 AM
|
0
|
0
|
1026
|
POST
|
This looks great! Did you create a custom rule for parking lot creation? I really like the colours and texturing that you've used in your project to enhance the visualization.
... View more
01-20-2017
11:38 AM
|
2
|
1
|
1111
|
POST
|
I just tried adding an aerial from Get Map Data and my exact same CGA script works and height can now be mapped to my object attributes.... that's so weird. Thanks so much for your help - it's greatly appreciated! Hopefully this will be fixed up in the next release of CE as it's clearly a bug.
... View more
01-19-2017
01:58 PM
|
1
|
2
|
1137
|
POST
|
Thanks for the response David. Unfortunately this still didn't work for me. I duplicated the layer and then tried to make an attribute connection but the options are still all greyed out. From your suggestions I figured out a workaround here but it doesn't really make sense for an efficient workflow: Here I have attr height with no height object attribute, so the connection editor is disabled. I clicked the "add new object attribute" button and added value "height" with a 0 value. Then I was able to open the connection editor and map my layer to the proper height layer, Z_Max. It just doesn't make sense that a connection editor can only become enabled if it detects a matching object attribute, even if that object attribute isn't the one that actually needs to be mapped. It creates a lot of issues if we are trying to create user-friendly CGA scripts. If I make a "universal" script to extrude building heights, I would expect that a user could choose to make a connection to their own height feature attribute, whether the attribute is called "height", "HEIGHT", "bldgHeight", etc... The user shouldn't need to go into the CGA and manually update the code to work with their own imported features.
... View more
01-19-2017
12:27 PM
|
0
|
4
|
1137
|
POST
|
I'm using 2016.1 and when I try to connect an attribute to my rule file, I am unable to make the connection unless my parameter has an identical name to the attribute that I am trying to map. From my understanding, I should be able to select any alternate layer and attribute name and map it to my shape. Does anybody know why this is happening, or how to get around this issue? Is this a bug? See images attached: Here I'm creating a basic extrusion with attr height, and I want to connect attribute Z_Max, but I don't have the ability to do so: I've now changed my rule file to name the attribute Z_Max, which matches my object attribute that I've imported in the shapefile. Now I have the ability to map Z_Max, as well as any other attribute that's available in my scene.
... View more
01-18-2017
09:12 AM
|
2
|
8
|
3090
|
POST
|
We are trying to create a workflow for importing BIM models into CityEngine. Currently, the only way that we have successfully imported a model is by converting the BIM to fbx and importing as a static, solid object. While this preserves geometries, all attributes and textures on the BIM model are removed, and we can't remap the textures onto the model for visualization. We are now trying the export to IFC, and then create a workflow that preserves at least some of the attribute data by converting the model into a geodatabase with multi-patch data. This looks promising, but we've been running into multiple issues along the way that prevent us from creating a model that actually reads and visualizes properly. I'd be interested to hear about other user's experiences with BIM --> CE workflows, and if anybody has successfully been able to import a BIM-created model (Revit) into CE or a geodatabase.
... View more
01-09-2017
08:07 AM
|
2
|
2
|
3431
|
POST
|
I tried that and it helped somewhat, but it didn't fix the problem entirely:
... View more
12-14-2016
06:39 AM
|
0
|
2
|
427
|
POST
|
I'm trying to place a height map/terrain image (it's an obscure shape with transparency) in CityEngine but whenever I add it I end up with strange height extrusions around the border of the image. I've tried to export the image as cleanly as possible without anti-aliasing/compression, etc. and I've saved it as a PNG-32 with transparency, but whatever I do ends up with the following result: Is there any way to tell CityEngine to ignore or clip out the messy border on my terrain? Or is there another way to prep the file so that this issue doesn't occur? Thanks
... View more
12-13-2016
02:16 PM
|
0
|
4
|
861
|
Title | Kudos | Posted |
---|---|---|
1 | 01-19-2017 01:58 PM | |
1 | 04-28-2020 08:42 AM | |
2 | 01-20-2017 11:38 AM | |
2 | 01-18-2017 09:12 AM | |
2 | 01-09-2017 08:07 AM |
Online Status |
Offline
|
Date Last Visited |
08-23-2023
02:19 PM
|