Arbortext IsoDraw > Référence du langage macro > Window Commands > Palette Window Toolbox > Selecting Elements > Select Polygon End
  
Select Polygon End
The SELECT POLYGON END command end the selection polygon command.
SELECT POLYGON ENDWITH_PARTIALDIRECTADD
WITH_PARTIAL
Optional parameter defines if partially selected elements should be selected.
DIRECT
Optional parameter defines that elements within a group will be selected even if the entire group is not within the selection polygon.
ADD
Optional parameter defines that this new selection will be added to an existing selection, rather than replacing it. This is similar to using the SHIFT key when making multiple selections manually.
# Select everything in the lower right
DEFINE px AS Integer
DEFINE py AS Integer
px = activeDoc.window.PageX
py = activeDoc.window.PageY
SELECT POLYGON START
SELECT POLYGON POINTS 0 0 px 0
SELECT POLYGON POINTS px py
SELECT POLYGON DIRECT ADD