CreateFactsLookupEx(ExcludeGroup: Boolean): IRubricatorFactsLookup;
ExcludeGroup. Indicates whether dummy factors are excluded from search.
The CreateFactsLookupEx method creates an object that searches for the factors excluding dummy factors.
If the ExcludeGroup parameter is set to True, dummy factors are excluded from search (factors that belong to group attributes). If the ExcludeGroup parameter is set to False, the CreateFactsLookupEx method is displayed in the same way with the CreateFactsLookup method.
Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.
Sub UserProc;
Var
Mb: IMetabase;
RubInst: IRubricatorInstance;
Lookup: IRubricatorFactsLookup;
Factors: Array Of Integer;
Begin
Mb := MetabaseClass.Active;
RubInst := Mb.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;
Lookup := RubInst.CreateFactsLookupEx(True);
Factors := Lookup.LookupFactors;
Debug.WriteLine(Factors found: + Factors.Length.ToString);
End Sub UserProc;
On executing the example the search with excluding of dummy factors is executed. The number of factors found is displayed in the development environment console.
See also: