Focus on Shapes
Updated : 26 November 2024
Accessing Shapes
Shapes can be accessed through the IShapes interface, which is provided by the TopSolidHost.Shapes property.
The available shapes are categorized into three main types: vertices, faces, and edges.

Extrusion and Revolution Operations
Extrusion and revolution operations can be performed using the TopSolidHost.Shapes.CreateExtrudedShape and TopSolidHost.Shapes.CreateRevolvedShape methods.
Both methods require the following inputs:
- The
DocumentIdof the document to be modified. - A
SmartSection3Ddefining the base geometry.