Import OBJ
Usage Instructions
Supports importing *.obj 3D model files into a model dataset and saving them to a specified datasource. Currently, the compatibility of this tool is as follows:
- Format version compatibility: Fully supported
Parameter Descriptions
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| File Path | Input the OBJ data (*.obj) to be imported. | String |
| Target Datasource: (Optional) |
Select the datasource to store the resulting model dataset. If both the target datasource and the datasource connection information are set, only the target datasource is valid. Please set it reasonably as needed. |
Datasource |
| Datasource Connection Information (Optional) |
Select or create a datasource at the specified path to store the resulting model dataset. When selecting an existing datasource, a prompt "File already exists. Do you want to append?" will appear. If both the target datasource and the datasource connection information are set, only the target datasource is valid. Use the datasource connection method to execute the data import task in a subprocess. 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, Force Overwrite, and Append. | ImportMode |
| Texture Compression Format: (Optional) |
Set the texture compression format of the resulting data, including JPG_PNG and DXT.
|
ModelTextureCompressType |
| OBJ Rotation Mode (Optional) |
Set the rotation mode of the OBJ model, including No Rotation, Rotate 90 Degrees Clockwise Around the X-Axis, and Rotate 90 Degrees Counterclockwise Around the X-Axis. | ObjRotateOption |
| X/Longitude (Optional) |
Enter the X coordinate value or longitude value, which together with Y/Latitude and Z/Height determines the geographic reference origin of the model. The geographic reference origin is used to determine the geographic coordinates (projected coordinate system or geographic coordinate system) of the item base point in the data. |
Double |
| Y/Latitude (Optional) |
Enter the Y coordinate value or latitude value of the geographic reference origin. | Double |
| Z/Height (Optional) |
Enter the Z coordinate value 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 | Set whether to ignore materials. Default is not checked. When enabled, the source data is imported as a white model, and operations such as merging sub-objects and removing duplicate points are performed to close any closable models. |
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 resulting data. It can be specified via the output of Build Coordinate System. iDesktopX can refer to Setting Projected Coordinate System for configuration. | PrjCoordSys |
Output Results
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| Result Dataset | The resulting model dataset | DatasetVector |