SurfaceCreateExtendSurface Method
|
Creates an extend surface from the given set
of edges from a surface and adds the surface to the current
database. All input edges should be connected and coming from same
surface.
Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
26.9.0.0
Syntax
public static ObjectId CreateExtendSurface(
ObjectId sourceSurface,
SubentityId[] edges,
double extension,
EdgeExtensionType extOption,
bool associativeEnabled
)
Public Shared Function CreateExtendSurface (
sourceSurface As ObjectId,
edges As SubentityId(),
extension As Double,
extOption As EdgeExtensionType,
associativeEnabled As Boolean
) As ObjectId
public:
static ObjectId CreateExtendSurface(
ObjectId sourceSurface,
array<SubentityId>^ edges,
double extension,
EdgeExtensionType extOption,
bool associativeEnabled
)
static member CreateExtendSurface :
sourceSurface : ObjectId *
edges : SubentityId[] *
extension : float *
extOption : EdgeExtensionType *
associativeEnabled : bool -> ObjectId
Parameters
- sourceSurface ObjectId
- [in] Surface id from which edges needs to be extended to create
extend surface.
- edges SubentityId
- [in] Array of full sub-entity paths of the edges that are to be
extended.
- extension Double
- [in] Extension distance.
- extOption EdgeExtensionType
- [in] Determines whether edges need to be extended or
stretched.
- associativeEnabled Boolean
- [in] Determines whether extend surface associativity is
enabled.
Return Value
ObjectId
Object identifier of the extended surface if created
successfully.
See Also