Method CreatePlaneWithExtent
CreatePlaneWithExtent(DocumentId, Plane3D, double, double, double, double)
Creates a plane entity with specified extent in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 100)]
ElementId CreatePlaneWithExtent(DocumentId inDocumentId, Plane3D inGeometry, double inXMin, double inXMax, double inYMin, double inYMax)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| Plane3D | inGeometry | Plane geometry. |
| double | inXMin | Minimum X plane coordinate of extent. |
| double | inXMax | Maximum X plane coordinate of extent. |
| double | inYMin | Minimum Y plane coordinate of extent. |
| double | inYMax | Maximum Y plane coordinate of extent. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created plane entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.7.201.100.