CADability dotNET
Returns all objects of the model that are touched by the area, whos layers are in the visibleLayers set and which are accepted by the filterList.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public GeoObjectList GetObjectsFromRect(
	Projection..::..PickArea area,
	Set<Layer> visibleLayers,
	PickMode pickMode,
	FilterList filterList
)
Visual Basic
Public Function GetObjectsFromRect ( _
	area As Projection..::..PickArea, _
	visibleLayers As Set(Of Layer), _
	pickMode As PickMode, _
	filterList As FilterList _
) As GeoObjectList
Visual C++
public:
GeoObjectList^ GetObjectsFromRect(
	Projection..::..PickArea^ area, 
	Set<Layer^>^ visibleLayers, 
	PickMode pickMode, 
	FilterList^ filterList
)

Parameters

area
Type: CADability..::..Projection..::..PickArea
Area that specifies which objects are beeing tested
visibleLayers
Type: Set<(Of <(<'Layer>)>)>
Set of layers which are visible (and hence should be used for the test)
pickMode
Type: CADability..::..PickMode
Single or multiple objects
filterList
Type: CADability.Attribute..::..FilterList
List of conditions

Return Value

List of objects that fulfill all conditions

See Also