Method WithGroups
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
WithGroups(IEnumerable<string>)
Gets the objects a pick takes with PICKSTYLE on: those given, then the other members of each selectable group any of them is in, in ordinal order of their handles. A line and a circle of the group G1 and a text of none: picking the line gives the line and the circle. With PICKSTYLE off, those given. Either way a viewport clipped by an entity is taken with it, and the entity with its viewport (WithPartners(CadDocument, IEnumerable<string>)).
public IReadOnlyList<string> WithGroups(IEnumerable<string> handles)
Parameters
handlesIEnumerable<string>The handles picked.
Returns
- IReadOnlyList<string>
The handles with the members of their groups, each once.
Exceptions
- ArgumentNullException
Thrown when the handles are null.