Posts

Showing posts with the label automation

[114] How to Export Bookmarks as Images using Python in CityEngine

Image
Learn how to write a Python script in CityEngine to batch export all saved scene bookmarks as high-resolution images. Manually capturing viewpoints for professional reports can be tedious. This tutorial introduces the fundamentals of CityEngine Python scripting by building a tool that iterates through every bookmark in your 3D views and saves them as 3000x2000 pixel JPG files automatically. This workflow serves as the first step in automating repetitive  CityEngine tasks. As you use CityEngine frequently, you start to notice missing features one by one. For instance, when there are many bookmarks, you have to switch between viewpoints manually, one by one to take snapshots. Or perhaps you want to find and modify only objects with specific attributes but have to select them individually to apply rules. You might even want to pull in external data in real-time to drive changes. and so on—over time, many such limitations nat...