3D Scene Parameter Model

  • Last update:August 18, 2025
  • Overview

    Version


    Report Server VersionPlugin Version
    11.5.1V4.1.0
    iconNote:
    To use this function, you need to purchase the FVS 3D Component - Scene Twin function point. For details, you can contact FanRuan sales personnel.

    Application Scenario

    Models in 3D scenes often need to be combined with data to reflect the real-world scenarios' corresponding entity quantity changes in real-time. In FVS V4.1.0, the parameter model and the Parameter Model Update event are added, enabling certain 3D models to be generated in real-time within 3D scenes, for example, scenes with AGVs increased in a warehouse or cargo boxes increased on transportation tracks.

    1754309071770265.png

    Notes

    • You are advised to use at most 3000 grids in the entire scene (Total number of grids in a parameter model = Number of grids in a single model × Number of data).

    • Data layers allow the model names generated by parameter models to be matched, with the matching method consistent with that of common models.

    • Parameter models can be displayed or hidden by configuration.

    • The effects unsupported by parameter models include reflection, model animation, animation solutions, wireframe styles, public viewing angle binding, and JS APIs.

    Function Description

    Parameter Model

    Parameter models are models that can dynamically change based on data within a 3D scene.

    1. Enter the custom 3D scene component editing page, select a model in the Model List, right-click the root node model, and click Convert to Parameter Model to convert a common model into a parameter model. The following figure shows the effect.

    1753863269589914.png

    2. After clicking Convert to Parameter Model, set the data source, model name, and model position.

     1753863382939191.png

    The following table describes details.

    Configuration

    Description

    Data Source

    • Data is bound to generate parameter models.

    • Template datasets and server datasets that have been added to the current template can be accessed.

    • The update frequency is not set by default, namely, data can only be previewed and queried once by default.

    • After ticking the checkbox, you can set the update frequency. The minimum and default frequency are all 30 minutes.

         1753863561734593.png

    Model Name

    This parameter defines the name of the model generated based on data within the 3D scene.

    You can select fields in the selected dataset from the data source.

    Model Location

    This parameter defines the model generation location.

    You must first select the coordinate type before configuring the specific location. Supported types include Latitude and LongitudeSpace Coordinate, and Parent Object Coordinate.

    • Latitude and Longitude: The latitude and longitude can be selected only after you enable latitude and longitude mapping in the coordinate system.You need to select corresponding fields (format: Longitude,Latitude,h). For details about how to configure latitude and longitude mapping, see 3D Scene Coordinate System.1753863827474187.png

    • Space Coordinate: You need to select corresponding fields (format: x,y,z).

            1753863976408070.png

    • Parent Object Coordinate: You must set the Reference Model Name field corresponding to the reference model. You can set an offset distance (x,y,z) based on the coordinates of the reference model. If no offset is set, the reference point is located at the cursor center of the parent object model by default.

    • Model Offset (optional): You can set the offset based on the coordinates of the reference model.

    • Currently, you can only manually enter a unified offset, and cannot flexibly define the offset based on data. X, Y, and Z represent the offset distances in the corresponding directions, respectively.

           1753864107833175.png

    3. After Model Data Setting is configured, return to the model list. The common model has been converted to a parameter model.

    • The model list will not display the child nodes of the model.

    • The parameter model can only be hidden, deleted, renamed, and combined.

    • Click Data Setting under the model list to reconfigure the model data.

    1753864200597050.png

    Parameter Model Update

    Parameter Model Update is used to update the generation and destruction status of a parameter model in a 3D scene.

    1. Enter the custom 3D scene component editing page, choose Model > Scene Event > Parameter Model Update, and then click Add Parameter Model Update.

    1753864287693456.png

    2. Five settings, namely Event Name, Specified model, Data Source, Model Name, and Model Position, are available for the Parameter Update Model event. The following figure shows the settings.

     1753864381794586.png

    The following table describes details.

    Configuration

    Description

    Event Name

    The default name is Parameter Model Update x.

    Specified Model

    This setting is used to specify the model that needs to be updated in the current scene. You can only select a parameter model.

    Data Source

    This setting is used to link the data source required by the update. You can only select a WebSocket source. You need to configure the name, ID, and URL of the data source.

    iconNote:
    For details about the WebSocket data push format requirements, see 3D Data Source.

    1753864689213031.png

    Model Name

    Input the key value corresponding to the data source to define the name of the updated model.

    Model Location

    The display settings vary according to the model coordinate type set during parameter model configuration.

    • If Model Coordinate Type is set to Latitude and Longitude or Space Coordinate for the parameter model, only the model coordinate is displayed.

    • If Model Coordinate Type is set to Parent Object Coordinate for the parameter model, only the model name is displayed.image 16.png

    3. Update rules are as follows:

    • Supported update operations include deletion and parameter model generation.

    • The update type is specified by opType.

    • Specific values for different update types are as follows:

      • upsert: Data is updated if the data exists, and added if the data does not exist.

      • delete: Matched data is deleted.

    • If data is duplicate during the parameter model update, the new model will not be generated repeatedly, and the model deletion will always be executed, with the latter overriding the former.

    iconNote:
    A parameter model once generated will always exists. If you need to delete the generated parameter model in the scene, you must destroy this model. That is to say, you need to specify the update type to delete to destroy the model.

    The JavaScript codes are as follows:

    The code is as follows for playback start.

    [
        {
            "id": "Parameter Model Update 1",
            "data": [
                {
                    "opType": "upsert",
                    "name": "cart001",
                    "position": "0,0,0"
                },
                {
                    "opType": "delete",
                    "name": "cart002",
                    "position": "0,0,0"
                }
            ]
        }
    ]

    Example 1: Parameter Model

    Data Preparation

    Data fields should include the generated model name and model position. This section takes the parent object coordinate as an example. The cargo box position is the name of the generated track model for the cargo box.

    1753865378796030.png

    Adding a Model

    Load the cargo box model into the 3D scene.

    1753865431493663.png

    Conversion to a Parameter Model

    Right-click the cargo box model, select Convert to Parameter Model, and configure the data source.

    1753865509349809.png

    Set Model Name to Cargo Box Name, Model Position to Parent Object Coordinate, and Reference Model Name to Cargo Box Position.

     1753865555744451.png

    Configuring Data Layers for a Parameter Model

     1753865934138913.png

    Final Effect

    Five cargo boxes are automatically generated on the transportation track in the 3D scene.

     1753865970791577.png

    Example 2: Parameter Model Update

    How to generate cargo boxes on the transportation track in real time?

    Parameter Model Setting

    Configure the parameter model as described in the section "Conversion to a Parameter Model". You can set the data source to an empty table, in which case the model will not be automatically generated in the 3D scene after the data source editing.

     1753865740247773.png

    Adding a Parameter Model Update Event

    Configure the corresponding key values under Scene Event > Parameter Model Update > Add Parameter Model Update.

    WebSocket data interpretation:

    • id: event name

    • name: model name

    • opType: whether to generate or destroy a specified model

    • position: model position

    1753865816215494.png

    1753865887261436.png

    Effect Preview

    The following figure shows that the cargo boxes are generated on different tracks in real-time.

    Attachment List


    Theme: FineVis Data Visualization
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy