HERMOSILLOAutodesk DevCon 2027 · Class proposal

View the code on GitHub

Immersive Viewer · DevCon 2027 class evidence

Create Forma Issues Inside Unreal Engine with the Model Coordination API

A reviewer can point to a problem in a virtual walkthrough. The hard part comes later, when the coordinator has to find that same element from a screenshot.

Luis Eduardo Cortés González, Hermosillo

Class film, 1 min 38 s: open a Forma issue in the walkthrough, raise a new one on the element, then reopen it in Forma.

About the class

At Hermosillo, we used AI-assisted coding to connect our Unreal Engine walkthrough to Autodesk Forma. Reviewers can follow an existing issue into the scene through the Forma Issues API, or pick a Revit element and raise a new issue right where they stand. We’ll show how the Model Coordination API ties that pin to the published model. In our warehouse review, we reopened the issue in Forma and could see both the selected element and the view that prompted the comment.

What the class teaches

  1. Open a Forma issue in Unreal Engine and use its pin and X-ray view to inspect the surrounding geometry.

    Proven in code

    Builds the Forma Issues API request for the project’s issues.CelestialAccClient.cpp · lines 404–412
    FString BuildIssueListUrl(const FString& ProjectId, int32 Limit, int32 Offset, bool bDeleted, const FString& UpdatedSince,    const FString& LinkedDocumentUrn, const FString& SortBy){    FString Q = FString::Printf(TEXT("limit=%d&offset=%d&filter%%5Bdeleted%%5D=%s"), Limit, Offset, bDeleted ? TEXT("true") : TEXT("false"));    if (!UpdatedSince.IsEmpty()) Q += TEXT("&filter%5BupdatedAt%5D=") + Enc(UpdatedSince + TEXT(".."));    if (!LinkedDocumentUrn.IsEmpty()) Q += TEXT("&filter%5BlinkedDocumentUrn%5D=") + Enc(LinkedDocumentUrn);    if (!SortBy.IsEmpty()) Q += TEXT("&sortBy=") + Enc(SortBy);    return FString(ApiBase) + TEXT("/construction/issues/v1/projects/") + Enc(ProjectId) + TEXT("/issues?") + Q;}
  2. Create a Forma issue in Unreal Engine and use the Model Coordination API to pin it to the element under review.

    Proven in code

    The new issue’s view and its 3D pushpin on the Revit element.CelestialAccClient.cpp · lines 671–687
    I->SetStringField(TEXT("documentVersionUrn"), B.DocumentVersionUrn);I->SetStringField(TEXT("viewableName"), B.ViewableName);const TSharedRef<FJsonObject> Ctx = MakeShared<FJsonObject>();Ctx->SetStringField(TEXT("urn"), B.DocumentVersionUrn);Ctx->SetStringField(TEXT("viewableName"), B.ViewableName);I->SetArrayField(TEXT("viewContext"), { MakeShared<FJsonValueObject>(Ctx) });const TSharedRef<FJsonObject> Pin = MakeShared<FJsonObject>();Pin->SetStringField(TEXT("type"), TEXT("TwoDVectorPushpin"));const TSharedRef<FJsonObject> Loc = MakeShared<FJsonObject>();Loc->SetNumberField(TEXT("x"), B.PinFt.X);Loc->SetNumberField(TEXT("y"), B.PinFt.Y);Loc->SetNumberField(TEXT("z"), B.PinFt.Z);Pin->SetObjectField(TEXT("location"), Loc);if (B.ObjectId >= 0) Pin->SetNumberField(TEXT("objectId"), B.ObjectId);if (!B.ExternalId.IsEmpty()) Pin->SetStringField(TEXT("externalId"), B.ExternalId);I->SetObjectField(TEXT("pushpin"), Pin);return CompactJson(TArray<TSharedPtr<FJsonValue>>{ MakeShared<FJsonValueObject>(I) });
  3. Reopen a new issue in Forma and verify its pin and screenshot against the view where the reviewer created it.

    Shown in the film

    The film reopens issue #26 in Forma and shows the pin on the roof element and the attached view next to the same spot in the walkthrough.

How it fits together

  1. Unreal EngineThe walkthrough, with this C++ plugin
  2. APS AuthenticationOAuth 2.0 with PKCE, desktop app
  3. Forma Issues APIRead issues; attach the reviewer's view
  4. Model Coordination APIPin the issue to the Revit element
  5. Autodesk FormaThe project's issues, pinned

Screenshots

A warehouse interior in Unreal Engine with yellow electrical conduits and panels, and Forma issue pins #5, #11 and #24 floating over the elements they belong to.
Fig. 1Forma issues, pinned to the elements they were raised on.
Diagram from the class film: Unreal Engine creates issues through the Model Coordination API and the Issues API with OSS, and reads them back through the Issues API and Model Derivative, from Autodesk Forma.
Fig. 2The APS calls, both ways: create from the walkthrough, read back from Forma.

What's in this repository

PathWhat it is
Plugins/CelestialDateBridgeThe Unreal Engine plugin (C++). Only the files behind Autodesk sign-in, the ACC client, the issue view and issue creation are included.
Plugins/CelestialDateBridge/Source/CelestialDateBridge/Private/TestsUnreal automation tests for the sign-in rules (PKCE, redirect checks, token storage).

This repository is evidence for a class proposal, not a product. It holds a curated selection of the real source files behind the class. Identifiers are read from environment variables such as ACC_PROJECT_ID or replaced with placeholders, and credentials are read from the environment.