Interface ICadApiSketchFace
A planar face inside a sketch — a closed region bounded by one outer
contour and zero or more inner contours (holes). The unit that can be
fed into AddExtrude / AddRevolve / AddSweep.
Mirrors GeCAD ISketchFace.
Assembly: CADAPI.Model.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("1BDCCEFD-394A-4AF4-9752-3F410695A9B5")]
public interface ICadApiSketchFace
Properties
Area
Signed planar area of the face in the sketch coordinate system.
Declaration
Property Value
BaseZ
Z coordinate of the face within the sketch's local coordinate
system. For a face that sits flat on the sketch plane this is 0;
the sketch plane's world-space offset is held separately in the
owning sketch's local-coordinate matrix.
Declaration
Property Value
SegmentCount
Total number of segments across all loops (outer + holes).
Declaration
int SegmentCount { get; }
Property Value
Methods
Segment(int, out TResultStatus)
Declaration
ICadApiSegment Segment(int Index, out TResultStatus ret)
Parameters
Returns