Import GLTF (GLB)

Usage Instructions

Supports importing *.gltf or *.glb 3D model files as model datasets and saving them to the specified data source.

Parameter Descriptions

Parameter Name Parameter Description Parameter Type
File Path Input the GLTF/GLB data (*.gltf/*.glb) to be imported. String
Target Data Source
(Optional)
Select the data source to store the resulting model dataset.
If both the target data source and data source connection information are set, only the target data source is effective. Please configure appropriately as needed.
Datasource
Data Source Connection Information
(Optional)
Select or create a data source at the specified path to store the resulting model dataset.
When selecting an existing data source, a prompt will appear: "File already exists. Do you want to append?"
If both the target data source and data source connection information are set, only the target data source is effective. Please configure appropriately as needed. Using the data source connection method will execute the data import task in a child process.
Note: The same connection information cannot be used for multiple imports.
String
Dataset Name Set the name of the resulting model dataset. String
Import Mode
(Optional)
Set the data import mode when a dataset with the same name exists, including None, Overwrite, and Append. ImportMode
Texture Compression Format:
(Optional)
Set the texture compression format of the result data, including JPG_PNG and DXT.
  • JPG_PNG is supported from version 12.0.0.0 onwards. Using this format will greatly improve the model import speed;
  • DXT is supported in all current versions.
ModelTextureCompressType
X/Longitude
(Optional)
Input the X coordinate or longitude value, together with Y/latitude and Z/height to determine the geographic reference origin of the model.
The geographic reference origin is used to determine the geographic coordinates (projected or geographic coordinate system) of the item's base point in the data.
Double
Y/Latitude
(Optional)
Input the Y coordinate or latitude value of the geographic reference origin. Double
Z/Height
(Optional)
Input the Z coordinate or height value of the geographic reference origin. Double
Decompose into Multiple Model Objects
(Optional)
Set whether to decompose the data into multiple model objects. Boolean
Ignore Material Color
(Optional)
When both model material and color exist, set whether to ignore the material color. Boolean
Coordinate System Settings
(Optional)
Set the target coordinate system information for the result data. It can be specified via the output of Build Coordinate System. iDesktopX can refer to Setting Projected Coordinate System. PrjCoordSys

Output Results

Parameter Name Parameter Description Parameter Type
Result Dataset Result model dataset DatasetVector