evCreate API 5.7 Help

FindParts Function

Returns part items found in a given 3D model object item or model item from an Envision document currently opened in the Canvas Envision Creator app against given part metadata.

FindParts(model: [[[EvItem|canvas-envision-document-items.html#object-items]]], metaValue: [[[EvMetaValue|canvas-envision-document-items.html#evmetavalue-interface]]]): Promise<[[[EvItem|canvas-envision-document-items.html#part-items]]][]>

Parameters

model: EvItem

An Object or Model item object, a 3D model item from the Envision document currently opened in the Canvas Envision Creator app whose parts should be returned against the given part metadata.

If a given object item is not a 3D model, the function throws an error.

metaValue: EvMetaValue

An EvMetaValue object, a piece of part metadata kept in the metaValue property of an EvPartItemData object against which part items from the given 3D model item should be returned.

Return value

Promise<EvItem[]>

A Promise that, if fulfilled, resolves to an array of one or more Part item objects found in the given 3D model item against the given part metadata.

09 June 2025