Purpose

This module allows to select the attributes of an ItemModel that are passed through.

Usage

Enter the attribute names to be filtered (or removed) in Attributes and connect the ItemModel to be filtered to the inItemModel input.

Windows

Default Panel

../../../Modules/Controls/MLABMLItemModelSupport/mhelp/Images/Screenshots/ItemModelAttributeFilter._default.png

Input Fields

inItemModel

name: inItemModel, type: AbstractItemModel(MLBase)

Takes the ItemModel to be filtered.

For accessing this object via scripting see the Scripting Reference: MLAbstractItemModelWrapper.

Output Fields

outItemModel

name: outItemModel, type: AbstractItemModel(MLBase)

Contains the filtered ItemModel. This will be the input ItemModel if no attributes were given.

For accessing this object via scripting see the Scripting Reference: MLAbstractItemModelWrapper.

Parameter Fields

Visible Fields

Attributes

name: attributes, type: String

Set the list of attribute names (separated by spaces) that are to be passed through/removed from the input ItemModel.

This list is re-evaluated whenever the input ItemModel is replaced. If any attribute names could not be found in the input ItemModel, they are listed in Unknown Attributes.

Remove instead of select

name: removeAttributes, type: Bool, default: FALSE

If this flag is set, the attribute names given in Attributes are removed from the ItemModel instead of passed through.

Unknown Attributes

name: unknownAttributes, type: String, persistent: no

This field list all the attribute names that were not found in the current input ItemModel (separated by spaces).