As mentioned in this page https://docs.techsoft3d.com/hps/latest/prog_guide/0906_exchange_integration.html#importing-multiple-models
You can import multiple models into the same scene graph using HPS::Exchange::ModelFileImportOptionsKit::SetLocation
.
This sample shows in our forum post how to import multiple models which have different units into the same scene graph and display the model in the correct size.
Instructions
Import CAD model using HOOPS Exchange API
Get the unit of
A3DAsmModelFile
usingA3DAsmModelFileGetUnit
Create a scale matrix from the units to display the model in millimeter
Import
A3DAsmModelFile
under the existing CADModel in the scene graph withSetLocation
...
.
...
When using HOOPS Exchange API, you need to include header file, and load and initialize Exchange library. https://docs.techsoft3d.com/exchange/latest/guide/start/initialize-hoops-exchange.html
\uD83D\uDCCB Related articles
...