API Help
Eplan.EplApi.DataModel Namespace / FunctionBase Class / IdentifyingNameParts Property
Example

In This Topic
    IdentifyingNameParts Property
    In This Topic
    Returns identifying name of the Function.
    Syntax
    public virtual FunctionBasePropertyList IdentifyingNameParts {get;}
    public:
    virtual property FunctionBasePropertyList^ IdentifyingNameParts {
       FunctionBasePropertyList^ get();
    }

    Property Value

    Identifying name of the Function by FunctionBasePropertyList.
    Example
    The following example shows how to filter by identifying name.
    private Function[] GetSubFunctions(Function oFunction)
    {
        FunctionBasePropertyList oIdentNameProps = oFunction.IdentifyingNameParts;
        FunctionPropertyList oFilterOutMainProps = new FunctionPropertyList();
        oFilterOutMainProps.FUNC_MAINFUNCTION = false;
        DMObjectsFinder oFinder = new DMObjectsFinder(m_oProject);
        FunctionsFilter oFilter = new FunctionsFilter();
        oFilter.SetIdentifyingPropertyList(oIdentNameProps);
        oFilter.SetFilteredPropertyList(oFilterOutMainProps);
        Function[] oResult = oFinder.GetFunctions(oFilter);
        return oResult;
    }
    
    
    
    See Also