constructor Method

Construct a new Iterator given a ElementGeometryInfo from either a GeometricElement3d, GeometricElement2d, or GeometryPart. Supply the optional GeometryParams and localToWorld transform to iterate a GeometryPart in the context of a GeometricElement reference.

Iterator(info: ElementGeometryInfo, categoryOrGeometryParams?: string | GeometryParams, localToWorld?: Transform): ElementGeometry.Iterator

Parameter Type Description
info ElementGeometryInfo  
categoryOrGeometryParams string | GeometryParams  
localToWorld Transform  

Returns - ElementGeometry.Iterator

Defined in

Last Updated: 21 November, 2024