CreateGroup Method (IDocument) Send Feedback
See Also  Example
Group[out]
Group
Name
Name for the EntityGroup
Unnamed
True to create an anonymous EntityGroup, false to use Name for the EntityGroup
Description
Description of the EntityGroup or an empty string
EntitiesArray
Array of entities
Creates an EntityGroup, which combines the specified entities into a group that you can manipulate in a single operation.

Syntax

Visual Basic 
Function CreateGroup( _
   ByVal Name As System.String, _
   ByVal Unnamed As System.Boolean, _
   ByVal Description As System.String, _
   ByVal EntitiesArray As System.Object _
) As Group
C# 
Group CreateGroup( 
   System.string Name,
   System.bool Unnamed,
   System.string Description,
   System.object EntitiesArray
)
JavaScript 
CreateGroup( 
   Name : String,
   Unnamed : Boolean,
   Description : String,
   EntitiesArray : Array
) : dsGroup
COM native C++ 
HRESULT CreateGroup( 
   BSTR Name,
   VARIANT_BOOL Unnamed,
   BSTR Description,
   VARIANT EntitiesArray,
   IGroup** Group
) 
C++ 
DSRESULT CreateGroup( 
   const dsString& Name,
   bool Unnamed,
   const dsString& Description,
   const dsObjectPtrArray& EntitiesArray,
   dsGroup** Group
) 

Parameters

Name
Name for the EntityGroup
Unnamed
True to create an anonymous EntityGroup, false to use Name for the EntityGroup
Description
Description of the EntityGroup or an empty string
EntitiesArray
Array of entities
Group[out] or Return Value
Group

Example

 

See Also

Availability

DraftSight V1R4.0