Method CreateRevolvedShape
CreateRevolvedShape(DocumentId, SmartSection3D, SmartAxis3D, SmartReal, bool, bool)
Creates a revolved shape operation in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 80)]
ElementId CreateRevolvedShape(DocumentId inDocumentId, SmartSection3D inSection, SmartAxis3D inAxis, SmartReal inAngle, bool inIsCentered, bool inIsSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartSection3D | inSection | Section to revolve. |
| SmartAxis3D | inAxis | Revolution axis. |
| SmartReal | inAngle | Revolution angle, or null if 360°. |
| bool | inIsCentered | Revolution 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.