Method FindRefEditLevels
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
FindRefEditLevels(string, GeoPoint2?, double)
The references a point on a reference of the drawing can mean, the outermost first: the reference itself, then each reference nested in its block whose objects reach the point, and each nested in those, as the Reference Edit dialog lists them. A reference with nothing nested at the point gives its own level alone.
public IReadOnlyList<CadRefEditLevel> FindRefEditLevels(string handle, GeoPoint2? at, double aperture)
Parameters
handlestringThe handle of the reference in a space.
atGeoPoint2?The point it was picked at, in the drawing; null for none, which gives no nested level.
aperturedoubleHow far from an object's box a point still reaches it.
Returns
- IReadOnlyList<CadRefEditLevel>
The levels, none where the handle is not a block reference of a space.