ElementGeometryRequest Interface

Parameters for IModelDb.elementGeometryRequest

Properties

Name Type Description
angleTol undefined | number Option for replaceBReps, max angle difference in radians for approximated face, see StrokeOptions  
chordTol undefined | number Option for replaceBReps, max distance from a face to the original geometry, see StrokeOptions  
elementId string The source element for the geometry stream  
maxEdgeLength undefined | number Option for replaceBReps, max length of any edge in generated faces, see StrokeOptions  
minBRepFeatureSize undefined | number Option for replaceBReps, ignore faces with bounding boxes smaller than this size when facetting  
onGeometry ElementGeometryFunction A function to call for the geometry stream data  
replaceBReps undefined | boolean When not omitting BReps, whether to return a mesh or curve representation instead of the brep data  
skipBReps undefined | boolean Whether to omit BRep data  

Defined in

Last Updated: 16 April, 2024