Usage Instructions
This tool supports decomposing models in the model dataset. It will save each sub-object of each model object in the model dataset as a separate model object in the resulting model dataset.
For example: Model A contains 2 model objects, Object 1 and Object 2. Object 1 has 2 sub-objects, and Object 2 has 5 sub-objects. After the model decomposition operation, the resulting model dataset will have 7 model objects, corresponding to each sub-object of the model objects in the source model dataset.
After successful execution, the resulting model dataset will be generated in the specified data source. An OriginalModelSmID field will be automatically added to this dataset, with its value being the SmID of the source model object, used to trace which original model each decomposed model comes from.
Parameter Descriptions
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| Model Dataset: | Select the source model dataset for the operation | DatasetVector |
| TIN Threshold (Optional) |
When the number of triangles of a model object exceeds the set threshold, the decomposition operation is performed; otherwise, it is not. The default value is 10000, meaning decomposition will be performed when the number of triangle faces of the model object exceeds 10000. | Integer |
| With LOD (Optional) |
Whether to retain the multi-level detail (LOD) information from the source data in the result model. When checked, the result model includes complete LOD levels; when unchecked, the result model only retains the highest level of detail data. | Boolean |
| Target Data Source | Select the data source to store the result dataset | Datasource |
| Result Dataset Name (Optional) |
Set the name of the resulting model dataset. The default value is resultDataName. | String |
Output Results
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| Model Decompose Result | Result model dataset | DatasetVector |