CADability dotNET
This class filters IGeoObjects according to their attributes or other properties. A Project contains a FilterList which contains Filters. The task of a filter is to decide, whether a IGeoObject is accepted by this filter or not. The FilterList is used by the [!:SelectObjectsAction] to decide, whether an object may be selected or not. Filters may also be used for other purposes. In this standard implementation the attributes of a IGeoObject and the type of the object are used to accept or reject an object. You may derive a class from this Filter class and handle the static Constructor delegate by constructing your own filter. In your derived class you can use any criteria of a IGeoObject for filtering, e.g. the contents of UserData.

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

Syntax

C#
[SerializableAttribute]
public class Filter : IShowPropertyImpl, ISerializable, 
	ICommandHandler
Visual Basic
<SerializableAttribute> _
Public Class Filter _
	Inherits IShowPropertyImpl _
	Implements ISerializable, ICommandHandler
Visual C++
[SerializableAttribute]
public ref class Filter : public IShowPropertyImpl, 
	ISerializable, ICommandHandler

Inheritance Hierarchy

System..::..Object
  CADability.UserInterface..::..IShowPropertyImpl
    CADability.Attribute..::..Filter

See Also