ArcGIS CityEngine lets you design comprehensive urban masterplans, code stunning procedural buildings, and create vast cityscapes for digital production. Ever wondered how to pull off such big projects? The short answer: do it together with ArcGIS CityEngine project collaboration!
Hi, I’m Thomas, a Product Engineer in the CityEngine development team. I’m thrilled to present you with recommendations for collaborating on your CityEngine projects. Project sharing allows you to leverage the expertise of a specialist using a code library in your workspaces, or switching seamlessly to your mobile workstation for a project meeting.
ArcGIS CityEngine is built on a powerful cross-platform integrated development environment (IDE) platform. Its workspace concept helps you organize, address, and track all files (scenes, CGA rules, and 3D assets) in a predefined project folder structure. Most importantly, it allows linking project folders from any storage location into your workspace. Combine this with cloud storage solutions, code version control, or your file server, and voila! Now we have an open and scalable collaboration framework.
Setting up Projects for collaboration
Before introducing three real-world collaboration approaches, let’s start by establishing the fundamentals of working with projects located outside of the workspace.
Creating a New CityEngine Project
You may already know that in CityEngine, the default storage location for projects is the workspace root directory. However, the workspace contains machine-specific metadata files. Therefore, when synchronizing projects across different workstations, never include the workspace root folder. Instead, follow this best practice:
- Create a new project by going to File > New > CityEngine Project.
- Uncheck the ‘Use default location‘ option.
- Define the path to your shared storage location.
- The project will be automatically linked to the workspace.
Link a Shared Project to Your Workspace
Have you received an invitation to collaborate on a CityEngine project? If so, follow these steps to add it to your Workspace:
- Go to File > Import/Link Project Folder into Workspace…
- Select the root directory of the project shared with you.
- To stay in sync with the shared project, ensure to disable the ‘Copy project into workspace‘ option.
- Click Finish to link the project to the Workspace.
From now on, any changes you make to the project will be directly written to the shared project.
Share an Existing Project
If you want to share an existing project, make it available to your peers by:
- Right-clicking on the project folder in the Navigator; then choose Export… then General > File System, and define a shared directory, then click Finish.
- Back in the Navigator, delete the project folder from the Workspace to avoid any name conflicts.
- Now link the shared project back into your Workspace as described above.
Collaborating on CityEngine Projects
In this next section, we’ll cover three important considerations when collaborating on CityEngine projects, depending on your team’s infrastructure, environment and resources.
Cloud Drive Project Collaboration
The easiest way to share CityEngine projects is by using one of the many desktop integrations of cloud drive services.
For example, Microsoft Windows comes with OneDrive pre-installed. The cloud drive client creates a synced local copy of the remote files, meaning that changes are first written to the local disk before being automatically uploaded. This setup is ideal for automatically creating backups of your projects or keeping your desktop and mobile workstations in sync.
The open nature and cross-platform capabilities of this solution also make it the preferred choice for collaboration in an urban design project. To ensure compatibility of scene files, it is recommended that everyone involved uses the latest version of CityEngine (this is especially important when working with external stakeholders).
In the diagram below, we present the setup of an urban design company that leverages ArcGIS CityEngine Project Collaboration to design urban masterplans. Contracted architects can contribute proposals for integral parts of the urban design project. It is common practice to separate code and assets that are not specific to a particular design into a main project and protect it by making it read-only.
Please note that depending on the number and size of files written, it may take some time for those changes to show up on other workstations. The CGA compiler is deeply integrated into the CityEngine Workspace management; any delays in syncing of workspace content can lead to compiling errors. To have full control over your code changes, the subsequent collaboration method is then the way to go.
Version Control Server Project Collaboration
Are you working on joint development of CGA code or complex Python scripts and need to track changes? In the CityEngine development team, we use a version control server to create our content, such as the tutorials and examples. The tool helps us keep track of changes and resolve concurrent editing conflicts. Popular choices for version control are Git or Git Large File Storage (LFS), which can be used with services like GitHub, GitLab, or Bitbucket.
You can also combine this setup with the cloud drive approach to project sharing mentioned earlier. However, for some projects that are too massive, relying solely on web-based solutions may not be feasible. In such cases, it is recommended to include a dedicated asset management solution in your production pipeline.
Network File Server Project Collaboration
If you work in an environment with a fast file server, you can directly work with CityEngine projects located in a central location. This avoids the overhead of creating local copies of huge asset libraries. Your team can link all projects directly from the network drive into the personal workspace. Unintentional editing of files in shared libraries can be avoided by setting the folders to read-only. To undo any accidental changes, we highly recommend using a sophisticated backup solution on the file server.
When working on the same project, CE constantly checks text files like CGA and Python for modifications and alerts the user in case of concurrent editing. For scene files, the workgroup needs to have an agreement to mitigate this problem. The best practice is having VFX artists specializing in one layer type and later importing all layers in a common CE scene.
Bringing It All Together
CityEngine is built on an application framework that is specifically designed for collaborative projects. With CityEngine, multiple workspaces can easily share and work on the same project simultaneously. This collaborative environment allows teams to leverage the synergies of cooperative editing, enhancing productivity and efficiency. Choose one of the presented collaboration methods that best suits your team’s needs and workflow. These methods ensure seamless cooperation and enable team members to contribute their expertise to the project.
If you haven’t started using CityEngine yet but are interested in exploring its capabilities, you can take advantage of our 21-day Free Trial. This trial period allows you to experience CityEngine’s features and functionalities firsthand. Additionally, our comprehensive Tutorials provide step-by-step guidance to help you get started quickly and make the most out of CityEngine.
Start leveraging the power of ArcGIS CityEngine today and unlock new possibilities for collaborative project development.
Article Discussion: