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
DocumentId
of the document to be modified. - A
SmartSection3D
defining the base geometry.