Method CreateExtrudedShape
CreateExtrudedShape(DocumentId, SmartSection3D, SmartDirection3D, SmartReal, SmartReal, bool, bool)
Creates an extruded shape operation in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 80)]
ElementId CreateExtrudedShape(DocumentId inDocumentId, SmartSection3D inSection, SmartDirection3D inDirection, SmartReal inLength, SmartReal inDraftAngle, bool inIsCentered, bool inIsSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartSection3D | inSection | Section to extrude. |
| SmartDirection3D | inDirection | Extrusion direction. |
| SmartReal | inLength | Extrusion length. |
| SmartReal | inDraftAngle | Draft angle, or null if none. |
| bool | inIsCentered | Extrusion is centered. |
| bool | inIsSurface | Makes a surface instead of a solid. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created shape entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.7.201.80.