Eplan Platform API
Eplan.EplApi.DataModel Namespace / Function Class / CreateTransient Method / CreateTransient(Project,SymbolVariant) Method
Project where the Function will be located in
Eplan.EplApi.DataModel.MasterData.SymbolVariant the Function will be assigned

In This Topic
    CreateTransient(Project,SymbolVariant) Method
    In This Topic
    Creates a Function. It is not placed on any Page. Its category is taken from Eplan.EplApi.DataModel.MasterData.SymbolVariant.
    Syntax
    public void CreateTransient( 
       Project proj,
       SymbolVariant symbVariant
    )
    public:
    void CreateTransient( 
       Project^ proj,
       SymbolVariant^ symbVariant
    ) 

    Parameters

    proj
    Project where the Function will be located in
    symbVariant
    Eplan.EplApi.DataModel.MasterData.SymbolVariant the Function will be assigned
    Exceptions
    ExceptionDescription
    Thrown when the function cannot be created.
    Thrown when page is null.
    Thrown when symbVariant is null.
    Thrown when the function cannot be created.
    Thrown when the function has already been created.
    Remarks
    This method no longer can create functions with category Shielding. The correct way to create Shield object is either use one of static Create methods or use a method on Shield class.
    See Also