Click or drag to resize

CDH.SelectPLY2 Method

Select holes in PLY (Polygon) object with options.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void SelectPLY2(
	CPLY pply,
	int select,
	int inside,
	int new_mode
)

public void SelectPLY2(
	CPLY pply,
	int select,
	int inside,
	int new_mode
)

Parameters

pply
Type: GeoEngine.Core.GXNetX.CPLY
Polygon object
select
Type: System.Int32
Select (0) or Deselect (1)
inside
Type: System.Int32
Region (0: inside, 1: outside)
new_mode
Type: System.Int32
Mode (0: Append, 1: New)
Remarks
The various selection options give the following results: New/Select/inside: Unselect all holes, then select all holes inside the polygon. New/Select/outside: Unselect all holes, then select all holes outside the polygon. New/Deselect/inside: Select all holes, then deselect all holes inside the polygon. New/Deselect/outside: Select all holes, then deselect all holes outside the polygon. Append/Select/inside: Select all holes inside the polygon. Leave selections outside as is. Append/Select/outside: Select all holes outside the polygon. Leave selections inside as is. Append/Deselect/inside: Deselect all holes inside the polygon Leave selections outside as is. Append/Deselect/outside: Deselect all holes outside the polygon. Leave selections inside as is.
See Also