User's Guide > Element Trees: Sketched Features > Verifying Section Shapes
Verifying Section Shapes
Function Introduced:
Certain features may or may not be able to use a section due to the shape of the section. Different sketched feature tools such as extrude and revolve have different requirements for sections. For example, solid protrusions contain only closed and non-intersecting sections. Solid cuts or datum surfaces have open non-intersecting sections. Fill features must have closed sections.
After the section is regenerated, ProSectionShapeGet() obtains the shape of a given section. This information is used to determine if the section is acceptable for feature creation.
The section shapes are as follows:
Constant
Function
Description
PRO_SECSHAPE_EMPTY
An empty section
PRO_SECSHAPE_POINTS
Section contains only sketched datum points
PRO_SECSHAPE_1_OPEN_LOOP
Section contains a single open loop (and possibly points)
PRO_SECSHAPE_1_CLOSED_LOOP
Section contains a single closed loop (and possibly points)
PRO_SECSHAPE_MIXED_LOOPS
Section contains at least one open and one closed loop (and possibly points)
PRO_SECSHAPE_MULTI_OPEN_LOOPS
Section contains multiple open loops (and possibly points)
PRO_SECSHAPE_MULTI_CLOSED_LOOPS
Section contains multiple closed loops (and possibly points)
PRO_SECSHAPE_INTERSECTING
Section contains loops that intersect each other (and possibly points)
*Use geometry entities and not construction entities to define section shapes that are then used to create solid or surface geometry. To convert the construction entities to geometry entities, use the function ProSectionEntityConstructionSet() with the input argument construction set to PRO_B_FALSE.
Was this helpful?