Overview
Sections fall into two types: 2D and 3D. Both types are represented by the wfcSection object and manipulated by the same methods.
The difference between the types arises out of the context in which the section is being used, and affects the requirements for the contents of the section and also of the feature element tree in which it is placed when creating a sketched feature.
Put simply, a 2D section is self-contained, whereas a 3D section contains references to 3D geometry in a parent part or assembly.
You can add section entities programmatically using the Intent Manager mode. This corresponds to creating sections within the Intent Manager mode in the Creo application.
This section is concerned with 2D. The extra steps required to construct a 3D section are described in the topic
Element Trees: Sketched Features.