Method FindRefEditObjects
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
FindRefEditObjects(IReadOnlyList<string>, GeoPoint2, GeoPoint2)
The objects of the block a reference chain edits that a window or a crossing takes, as REFEDIT's "Prompt to select nested objects" takes them when the point picked reaches no object and a second corner is given: the corners drawn from left to right make a window, taking the objects whose box, put where the reference draws it, lies wholly inside; from right to left a crossing, taking those whose box meets it.
public IReadOnlyList<string> FindRefEditObjects(IReadOnlyList<string> chain, GeoPoint2 first, GeoPoint2 opposite)
Parameters
chainIReadOnlyList<string>The handles of the references, outermost first, as Chain has them.
firstGeoPoint2The first corner, in the drawing.
oppositeGeoPoint2The opposite corner, in the drawing.
Returns
- IReadOnlyList<string>
The handles of the objects, in the order of the block; none for a chain that does not name a reference.