API Help
Eplan.EplApi.DataModel Namespace / Functions3DFilter Class
Members Example

In This Topic
    Functions3DFilter Class
    In This Topic
    Represents data used for filtering Eplan.EplApi.DataModel.E3D.Function3D by DMObjectsFinder
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.AbstractDMObjectFilter
          Eplan.EplApi.DataModel.StorableObjectsFilter
             Eplan.EplApi.DataModel.Placements3DFilter
                Eplan.EplApi.DataModel.Functions3DFilter

    Syntax
    public class Functions3DFilter : Placements3DFilter 
    public ref class Functions3DFilter : public Placements3DFilter 
    Example
    The following example shows how to filter by user-defined properties
    MultiLangString mlsTestValue = new MultiLangString();
    mlsTestValue.AddString(ISOCode.Language.L_de_DE, "Test043c");
    string strPropertyIdentyfingName = "Page.Test043c";
    UserDefinedPropertyDefinition oUDPD = UserDefinedPropertyDefinition.Create(m_oProject, strPropertyIdentyfingName, UserDefinedPropertyDefinition.Enums.ClientType.Page);
    
    //set test property
    Page oPage = m_oProject.Pages[0];
    oPage.Properties[strPropertyIdentyfingName] = mlsTestValue;
    
    //search page with property value
    DMObjectsFinder oFinder = new DMObjectsFinder(m_oProject);
    PagesFilter oPagesFilter = new PagesFilter();
    PagePropertyList oPagePropertyList = new PagePropertyList();
    AnyPropertyId oAnyPropertyId = new AnyPropertyId(m_oProject, strPropertyIdentyfingName);
    oPagePropertyList[oAnyPropertyId] = mlsTestValue;
    oPagesFilter.SetFilteredPropertyList(oPagePropertyList);
    Page[] arrPages1 = oFinder.GetPages(oPagesFilter);
    
    
    Public Constructors
     NameDescription
    Public ConstructorDefault constructor.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets/Sets the Category that was set to this filter. (Inherited from Eplan.EplApi.DataModel.Placements3DFilter)
    Public PropertySets the Eplan.EplApi.DataModel.E3D.InstallationSpace that Eplan.EplApi.DataModel.E3D.Placement3Ds matching the filter must be placed in. (Inherited from Eplan.EplApi.DataModel.Placements3DFilter)
    Public PropertySets the Page that StorableObjects matching the filter must be placed on. (Inherited from Eplan.EplApi.DataModel.StorableObjectsFilter)
    Public PropertySets the Eplan.EplApi.DataModel.E3D.Placement3D for which all children will be found. (Inherited from Eplan.EplApi.DataModel.Placements3DFilter)
    Public PropertyGets a value indicating whether DMObjectsFinder search for children recursively traversing from parent down. (Inherited from Eplan.EplApi.DataModel.Placements3DFilter)
    Top
    Public Methods
     NameDescription
    Public MethodDestructor for deterministic finalization of Functions3DFilter object. (Inherited from Eplan.EplApi.DataModel.AbstractDMObjectFilter)
    Public MethodResets the filter. Filter matches all StorableObjects then. (Inherited from Eplan.EplApi.DataModel.StorableObjectsFilter)
    Public MethodOverloaded. Sets the Eplan.EplApi.DataModel.E3D.Placement3DPropertyList that will be used for searching Eplan.EplApi.DataModel.E3D.Placement3D. (Inherited from Eplan.EplApi.DataModel.Placements3DFilter)
    Top
    See Also