Void Tree.Filter(String name, String tag, ObjectState state, VisibilityType visibility)

Filters the tree objects based on given parameters.

Remarks

Note that the tree can be filtered by only one thing at a time, so a maximum of one parameter can be changed from its default value. name: Defaults to "" tag: Defaults to "" state: Defaults to ObjectState.NoState visibility: Defaults to VisibilityType.All

Examples

The following example filters the tree for objects with a state of Suppressed. ExtAPI.DataModel.Tree.Filter(state=ObjectState.Suppressed)
The following example filters the tree for objects with names who contain "Reaction". ExtAPI.DataModel.Tree.Filter(name="Reaction")
The following example filters the tree for objects that are visible. ExtAPI.DataModel.Tree.Filter(visibility=VisibilityType.Visible)

Parameters

  • name
    Type: String
    Filter by a given name.
  • tag
    Type: String
    Filter by a given tag.
  • state
    Filter by Suppression state.
  • visibility
    Filter by Visibile/Invisible objects.