GetModelInfo Function
Returns an object with the 3D attributes of a given 3D model object item or model item from an Envision document currently opened in the Canvas Envision Creator app.
Parameters
model?: EvItemAn Object or Model item object, a given 3D model item from the Envision document currently opened in the Canvas Envision Creator app whose 3D attributes should be obtained.
If this parameter is not given during the active 3D edit mode, the active 3D model is passed implicitly. If it is not given during page edit mode, the function throws an error.
If a given object item is not a 3D model, the function throws an error.
options?: EvPartQueryOptionsAn
EvPartQueryOptionsobject, a setting that controls which parts of the given 3D model item should be returned.The default value is not to return the parts of the given 3D model.
Return value
Promise<Ev3DObjectData>A Promise that, if fulfilled, resolves to an
Ev3DObjectDataobject that includes the 3D attributes of the given 3D model item.