GetPartInfo Function
Returns an object with the 3D attributes of a given part item from a 3D model item in an Envision document currently opened in the Canvas Envision Creator app.
GetPartInfo(
part: [[[EvItem|canvas-envision-document-items.html#part-items]]],
options?: [[[EvPartQueryOptions|evpartqueryoptions-interface.html]]]
): Promise<[[[Ev3DObjectData|ev3dobjectdata-interface.html]]]>
Parameters
part: EvItemA Part item object, a part item from a 3D model item in the Envision document currently opened in the Canvas Envision Creator app whose 3D attributes should be obtained.
If a given object item is not a part, the function throws an error.
options?: EvPartQueryOptionsAn
EvPartQueryOptionsobject, a setting that controls which child parts of the given part item should be returned.The default value is not to return the child parts of the given part.
Return value
Promise<Ev3DObjectData>A Promise that, if fulfilled, resolves to an
Ev3DObjectDataobject that includes the 3D attributes of the given part item.
09 April 2025