Table of Contents

Class CadGroupManagerRequest

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The Object Grouping dialog of CLASSICGROUP, as data its command and the window share: the groups of the drawing, the one chosen, the name and description typed, and the options of Create Group. A button ending in <, as New <, closes the dialog with SelectObjects and its words in Pick: the command asks on the command line, then shows the dialog again. Rename, Description, Explode, Selectable and Re-Order change the drawing while the dialog stays open; OK keeps every change, Cancel takes them all back, as one undo step.

public sealed class CadGroupManagerRequest
Inheritance
CadGroupManagerRequest
Inherited Members

Properties

Action

Gets or sets what the window's dialog was closed with: OK, Cancel or Select objects; Cancel until set.

Description

Gets or sets the Description typed: that of a new group, or the one Description gives the group chosen.

Document

Gets the document.

GroupName

Gets or sets the Group Name typed: the name of a new group, or the new name Rename gives the group chosen.

Groups

Gets the groups of the drawing, named and unnamed, in ordinal order of their names, letters of either case alike.

HighlightCount

Gets or sets how many objects Highlight shows; nought or less for every one from HighlightFrom on.

HighlightFrom

Gets or sets the first position Highlight shows; nought for the whole group.

IncludeUnnamed

Gets or sets whether unnamed groups are listed (Include Unnamed).

Message

Gets what the last change or pick said where it was refused, as "A group with this name already exists."; null where it was made.

NewSelectable

Gets or sets whether a group New makes is selectable; true until set.

NewUnnamed

Gets or sets whether a group New makes is unnamed.

Pick

Gets or sets the button ending in < the dialog was closed with: Find Name, Highlight, New, Remove or Add, or Order Highlight for Order Group's Highlight, which steps through the members of the group chosen on the canvas one at a time, "Object 0 of 11 [Next/Previous/eXit]:", until eXit or Enter.

Selected

Gets or sets the name of the group chosen in the list; null for none.

Methods

ChangeDescription()

Description: the group chosen given the Description typed.

Explode()

Explode: the group chosen taken apart, its objects kept.

Rename()

Rename: the group chosen given the Group Name typed.

Reorder(int, int, int)

Re-Order: objects of the group chosen moved to another position, as Order Group's Re-Order moves them: the group A, B, C, D with 1 to 3, 1 object, reads A, C, D, B.

Reverse()

Reverse Order: the objects of the group chosen put in the opposite order.

ToggleSelectable()

Selectable: whether a pick takes the group chosen whole, switched.