Method CreateBuildingOperation
CreateBuildingOperation(ElementId)
Creates the building operation of a sketch entity.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 11, 0, 0)]
ElementId CreateBuildingOperation(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the sketch entity. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created building operation. |
Remarks
If the sketch entity has already got a building operation, this method does nothing and returns the identifier of the existing building operation.
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.11.