SurfaceCreatePatchSurface(PathRef, ObjectIdCollection, Int32, Double, Boolean) Method

Creates a patch surface that fills a specified boundary and includes it in the current database.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 27.3.0.0
Syntax
public static ObjectId CreatePatchSurface(
        PathRef crossSections,
        ObjectIdCollection constraintIds,
        int continuity,
        double bulgeMagnitude,
        bool associativeEnabled
)

Parameters

crossSections  PathRef
[in] Boundary path that the patch surface fills.
constraintIds  ObjectIdCollection
[in] Object IDs of point or curve entities to constrain the patch surface.
continuity  Int32
[in] Continuity type (0 = G0 position, 1 = G1 tangent, 2 = G2 curvature).
bulgeMagnitude  Double
[in] Bulge magnitude of the patch surface.
associativeEnabled  Boolean
[in] Indicates whether patch surface associativity is enabled.

Return Value

ObjectId
Object identifier of the created patch surface.
See Also