Create and publish a digital twin application
This topic uses the Alibaba Cloud Valley campus as an example to demonstrate how to build a digital twin application using your own models.
Procedure
Log in to the DataV-TwinFabric console.
On the twin construction page, click Create application.
Enter an application name, select an application type, and then click OK.
Hover over the created digital twin application and click Edit to open the creation editor.
NoteThe editor may load slowly the first time.
In the hierarchy panel on the left, click the
icon and select city entity data import.
On the entity selection tab, select the urban area and virtual geographical objects near the Alibaba Cloud Valley campus.

After making your selections, click Next.
On the geometry generation tab, select the precision for the virtual geographical objects, and then click Start import.
NoteLevel 3 (L3) precision is supported for buildings.
When the data import is complete, click Finish.

In the Layers window, double-click the geographic data that you want to view, such as Water Bodies, to locate the imported geographic location.

In the resource management panel, click Import > Upload model to import your pre-built models.
NoteYou can import multiple models at the same time.
Supported file formats are
.zipand.glb.
In the twin panel, click Create twin.
Select the created twin, and in the inspector panel, rename it to match the model from the previous step, for example, DX.

Double-click the created twin to enter twin editing mode.
From the resource management panel, drag the
DXresource and drop it onto the DX object in the hierarchy panel to bind the detailed model.Repeat this process to bind all detailed models to their respective twins.
Drag the refined terrain data
DXfrom the twin panel to the Refined Layer panel.In the inspector panel, fine-tune the twin's spatial position to align it with the actual geographic location.
NoteTo make adjustments easier, double-click the title of the scene panel to enter full-screen mode.
After making adjustments, you can click the
icon in the Refined Layer panel to lock the current layer.
Repeat this process to add all twins to the scene.
In the hierarchy panel, click the
icon and select camera > fixed-position camera.
Select the current camera. In the inspector panel, select the fixed position controller tab and click Align with scene camera.

To preview the digital twin application, click Preview in the upper-right corner of the page.

(Optional) In the upper-right corner of the page, click Publish. Then, copy the sharing link to share the scene.



icon in the Refined Layer panel to lock the current layer.
icon and select camera > fixed-position camera.

