evCreate API 5.7 Help

GetModelInfo Function

Returns an object with the 3D attributes of a 3D model currently edited in an active 3D editing session.

GetModelInfo(options?: [[[EvPartQueryOptions|evpartqueryoptions-interface.html]]]): Promise<[[[Ev3DObjectData|ev3dobjectdata-interface.html]]]>

Parameters

options?: EvPartQueryOptions

An EvPartQueryOptions object, a setting that controls which parts of the 3D model should be returned.

The default value is not to return the parts of the 3D model.

Return value

Promise<Ev3DObjectData>

A Promise that, if fulfilled, resolves to an Ev3DObjectData object that includes the 3D attributes of the 3D model currently edited in the active 3D editing session.

Discussion

The function will throw an error if the 3D editing mode has not been activated.

13 March 2025