3D Models
The 3D Models subsection of the Object section of the evCreate API includes enumerations, interfaces, and functions to create 3D model items and explore attached 3D models.
model namespace
The 3D Models subsection of the Object evCreate API section is accessed with the model namespace inside the object namespace:
Enumerations
Ev3DDataCompressionLevelAn enumeration of levels for compressing 3D data.
Ev3DObjectTypeAn enumeration of types of objects in 3D space.
EvPmiSubstituteFontAn enumeration of fonts for substituting the ones in PMI imported with 3D models.
EvTesselationQualityAn enumeration of quality levels for tessellating 3D data.
Interfaces
Ev3DImportOptionsAn interface that specifies the settings for importing a 3D model.
Ev3DMetadataAn interface that defines a metadata field of an object in 3D space.
Ev3DObjectDataAn interface that defines 3D attributes of an object in 3D space.
EvPartQueryOptionsAn interface that specifies options for returning children of an object in 3D space.
Functions
CreateFromUrl(assemblyUrl: string, associatedFileUrls?: string[], options?: Ev3DImportOptions, at?: EvCoord2D, width?: number, height?: number, zOrder?: EvObjectZOrder): Promise<EvItem>A function to create a new 3D model object item in the document with a 3D model provided via a given URL.
FindParts(model: EvItem, metaValue: EvMetaValue): Promise<EvItem[]>A function to find part items in a given 3D model object item or model item against given part metadata.
GetModelInfo(model?: EvItem, options?: EvPartQueryOptions): Promise<Ev3DObjectData>A function to get the 3D attributes of a given 3D model object item or model item.
GetPartInfo(part: EvItem, options?: EvPartQueryOptions): Promise<Ev3DObjectData>A function to get the 3D attributes of a given part item.