InsertRegion Method (ISketchManager)

InsertRegion Method (ISketchManager) | Send Feedback
See Also Example

EntitiesArray
  Entities to transform to Regions

RegionArray[out]
  Array of Regions

Constructs a Region for each selected entity.

# Syntax

Visual Basic |
--- | ---
    Sub InsertRegion( _
       ByVal EntitiesArray As System.Object, _
       ByRef RegionArray As System.Object _
    )

C# |
--- | ---
    void InsertRegion(
       System.object EntitiesArray,
       out System.object RegionArray
    )

JavaScript |
--- | ---
    InsertRegion(
       EntitiesArray : Array
    ) : Array

COM native C++ |
--- | ---
    HRESULT InsertRegion(
       VARIANT EntitiesArray,
       VARIANT* RegionArray
    )

C++ |
--- | ---
    DSRESULT InsertRegion(
       const dsObjectPtrArray& EntitiesArray,
       dsObjectPtrArray* RegionArray
    )

#### Parameters

EntitiesArray
  Entities to transform to Regions
RegionArray[out] or Return Value
  Array of Regions

# Example

Transform Circle to Region (C#)
Transform Circle to Region (VB.NET)
Transform Circle to Region (VBA)
Transform Circle to Regtion (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R2.0