CadSelectByPolygon
Select/unselect entities inside the polygon defined by hEnt (a Polyline).
std::int32_t CadSelectByPolygon (
YuHandle hDwg,
YuHandle hEnt,
std::int32_t bCross,
std::int32_t bSelect
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - hEnt (YuHandle)
- Handle to the entity.
- bCross (std::int32_t)
- Boolean flag: nonzero = true / enabled, 0 = false / disabled.
- bSelect (std::int32_t)
- Boolean flag: nonzero = true / enabled, 0 = false / disabled.
Return Value
Nonzero (TRUE) on success, 0 (FALSE) on failure.
Remarks
bCross: crossing (any bbox corner inside) vs window (all 4 inside).