API Help
Eplan.EplApi.DataModel.EObjects Namespace / Shield Class / Create Method / Create(Page,SymbolVariant,PointD,PointD) Method
Page on which shield will be placed. Can't be null.
Eplan.EplApi.DataModel.MasterData.SymbolVariantSymbol variant for this function.
Eplan.EplApi.Base.PointDLower left corner of function's logical area.
Eplan.EplApi.Base.PointDUpper right corner of function's logical area.

In This Topic
    Create(Page,SymbolVariant,PointD,PointD) Method
    In This Topic
    Creates a Function object placed on a Eplan.EplApi.DataModel.Page given as a parameter and sets it Eplan.EplApi.DataModel.MasterData.SymbolVariant together with LogicalArea.
    Syntax

    Parameters

    pPage
    Page on which shield will be placed. Can't be null.
    pSymbolVariant
    Eplan.EplApi.DataModel.MasterData.SymbolVariantSymbol variant for this function.
    oStartPoint
    Eplan.EplApi.Base.PointDLower left corner of function's logical area.
    oEndPoint
    Eplan.EplApi.Base.PointDUpper right corner of function's logical area.
    Exceptions
    ExceptionDescription
    Thrown when the function cannot be created.
    Thrown when oPage parameter is null.
    Thrown when the function cannot be created.
    Thrown when oSymbolVariant parameter is null.
    Thrown when the function has already been created.
    Thrown when implementation of requested interface isn't found.
    Thrown when creating connection definition points fail.
    Thrown when given Page has PageType sets to ExternalDocument.
    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