Method | Description | |
---|---|---|
CreateFilterRuleBuilder ( BuiltInParameter param, FilterRule rule ) : |
Convert FilterRule to our custom FilterRuleBuilder which will be displayed in form controls
|
|
GetViewFilters ( Autodesk doc ) : ICollection |
Get all view filters(ParameterFilterElement) within current document
|
|
ReflectToInnerRule ( FilterRule srcRule, bool &inverted ) : FilterRule |
Reflect filter rule to its inner rule, the final inner rule is FilterValueRule for this sample
|
Method | Description | |
---|---|---|
FiltersUtil ( ) : System |
Hide ctor, this class defines only static members, no need to be created
|
|
GetEvaluatorCriteriaName ( FilterNumericRuleEvaluator fsre, bool inverted ) : string |
Get criteria(in string) from Numeric Evaluator
|
|
GetEvaluatorCriteriaName ( FilterStringRuleEvaluator fsre, bool inverted ) : string |
Get criteria(in string) from String Evaluator
|
public static CreateFilterRuleBuilder ( BuiltInParameter param, FilterRule rule ) : |
||
param | BuiltInParameter | Parameter to which the FilterRule is applied. |
rule | FilterRule | FilterRule to be converted. |
return |
public static GetViewFilters ( Autodesk doc ) : ICollection |
||
doc | Autodesk | |
return | ICollection |
public static ReflectToInnerRule ( FilterRule srcRule, bool &inverted ) : FilterRule | ||
srcRule | FilterRule | Source filter to be checked. |
inverted | bool | Indicates if source rule is inverse rule mapping to its inner rule. /// Note that the rule may be inversed more than once, if inverse time is odd(1, 3, 5...), the inverted will be true. /// If inverse time is even(0, 2, 4...), the inverted will be false. |
return | FilterRule |