Filters the tree objects based on given parameters.
Examples
The following example filters the tree for objects with a state of Suppressed.
ExtAPI.DataModel.Tree.Filter(filterState=TreeFilterObjectState.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)
The following example filters the tree for objects that are part of the current model.
ExtAPI.DataModel.Tree.Filter(model="Current")
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.
-
type
Filter by object Type.
-
coordinateSystem
Filter by Coordinate System scoping.
-
model
Type: String
Filter by Model ("All", "Current", "Dropdown String").
-
environment
Filter by Environment.
-
scoping
Filter by Scoping.
-
filterState
Filter by object State.