ElementDataModel.SetGeometries method
Sets geometries at model level. These geometries are not for a specific element but rather apply to the 3D Model as a whole.
public void SetGeometries(IEnumerable<IElementGeometry> geometryList,
Transformation transformation = null)
| parameter | description |
|---|---|
| geometryList | The list of geometries to set. |
| transformation | Optional transformation to apply. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when geometryList is null. |
| InvalidOperationException | Thrown when the root asset is not a design asset. |
| ArgumentException | Thrown when a geometry id refers to a non-geometry asset, or when a geometry entry is not an SDK-provided IElementGeometry implementation. |
See Also
- interface IElementGeometry
- class Transformation
- class ElementDataModel
- namespace Autodesk.DataExchange.DataModels