-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The geometry stream entries are stored relative to the element's placement. The easiest way to iterate over the geometry in world coordinates is to create the iterator from a GeometricElementProps. World Coordinate Iterator from GeometricElement3d Similarly, if you were to create a new element, it's geometry should also be stored relative to a meaningful placement and not world coordinates. GeometryStreamBuilder can automatically transform world coordinate geometry relative to the desired placement using one of the method to specify the local-to-world transform such as. If you were creating a new element from the geometry extracted from an existing element, it might make sense to create the new element using the same placement as the existing element, etc. You aren't though, looks like you are just creating a view decorations. More information about creating geometric element's and placement here. |
Beta Was this translation helpful? Give feedback.
The geometry stream entries are stored relative to the element's placement. The easiest way to iterate over the geometry in world coordinates is to create the iterator from a GeometricElementProps. World Coordinate Iterator from GeometricElement3d
Similarly, if you were to create a new element, it's geometry should also be stored relative to a meaningful placement and not world coordinates. GeometryStreamBuilder can automatically transform world coordinate geometry relative to the desired placement using one of the method to specify the local-to-world transform such as. If you were creating a new element from the geometry extracted from an existing element, it might make sense to create t…