Methods
Model
setTransform
applies a transform to the specified model example usage const modelid = "my model id"; const transform = { position { x 1 0, y 1 0, z 1 0, }, rotation { angle 3 14, centerofrotation { x 0 0, y 0 0, z 0 0, }, x 1 0, y 0 0, z 0 0, }, scale { x 2 0, y 2 0, z 2 0, }, }; const type = "bim"; viewer3d settransform(modelid, transform, type); parameters modelid id of the model to transform type required string yes transform transform to apply type required object yes properties name type required description position vector3 docid\ kewrhktc8iq2hlt48srfq no position to move to rotation rotation docid 2ovib7iabuifxws58jvdo no rotation transform scale vector3 docid\ kewrhktc8iq2hlt48srfq no scale transform type limit the type of model the transform applies to type required string no valid values are bim point cloud