Skip to content

ACFILTER_DISABLE ​

ACFILTER_DISABLE disables the attribute and class filter.

Syntax ​

leo-grammar
CC "Documentation" ACFILTER_DISABLE	attribute:strValue

#--> RESULT ecode:intValue
CC "Documentation" ACFILTER_DISABLE	attribute:strValue

#--> RESULT ecode:intValue

Parameters ​

  • attribute (strValue) - the name of the attribute

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success

Details ​

Calling this command has the same effect as unchecking the checkbox "Use settings of attribute and class filter" in the dialog "attribute and class filter" dialog.

See Also ​

ACFILTER_ENABLE

Examples ​

asc
CC "Documentation" ACFILTER_ENABLE
CC "Documentation" EXEC_ACFILTER
        attribute:"Attribute and Class Filter"
        modeltype:"Sample Target Model"
CC "Documentation" ACFILTER_DISABLE
CC "Documentation" EXEC_ACFILTER
        attribute:"Attribute and Class Filter"
        modeltype:"Sample Target Model"
CC "Documentation" ACFILTER_ENABLE
CC "Documentation" EXEC_ACFILTER
        attribute:"Attribute and Class Filter"
        modeltype:"Sample Target Model"
CC "Documentation" ACFILTER_DISABLE
CC "Documentation" EXEC_ACFILTER
        attribute:"Attribute and Class Filter"
        modeltype:"Sample Target Model"

First enables the attribute and class filter. In the second command the attribute and class filter dialog is executed. Note that the checkbox "Use attribute and class filter settings" is checked. The third command disables the attribute and class filter. The forth command executes the dialog again with the checkbox not checked.

Versions and Changes ​

Available since ADOxx 1.3