ポイント グループを作成する

ポイント グループは、ドキュメント内のポイントのサブセットで構成されるコレクションです。すべてのポイント グループのコレクションは、ドキュメントの AeccDocument.PointGroups プロパティに保持されます。 新しいポイント グループを追加するには、AeccDocument.PointGroups.Add メソッドを使用して、一意に識別される文字列名を指定します。 新しい空のポイント グループが帰されます。

' Get the collection of all point groups from the document.
Dim oPtGroups As AeccPointGroups
Dim oPtGroup As AeccPointGroup
Set oPtGroups = oAeccDocument.PointGroups
 
' Add our group to the collection of groups.
Set oPtGroup = oPtGroups.Add("Sample point group")