| Revit 2015 API |
| DirectShape..::..SetShape Method (IList<(Of <(<'GeometryObject>)>)>) |
| DirectShape Class See Also |
sets the Shape of this object to the supplied collection of Geometry objects. The objects are copied.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2015
Syntax
| C# |
|---|
public void SetShape( IList<GeometryObject> pGeomArr ) |
| Visual Basic |
|---|
Public Sub SetShape ( _ pGeomArr As IList(Of GeometryObject) _ ) |
| Visual C++ |
|---|
public: void SetShape( IList<GeometryObject^>^ pGeomArr ) |
Parameters
- pGeomArr
- Type: System.Collections.Generic..::..IList<(Of <(<'GeometryObject>)>)>
Shape of this object expressed as a collection of Geometry objects
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |