Eplan Platform API
Eplan.EplApi.DataModel Namespace / SymbolReference Class / Create Method / Create(Page,SymbolVariant) Method
Page where the symbol reference will be located on
Eplan.EplApi.DataModel.MasterData.SymbolVariant that will be assigned

In This Topic
    Create(Page,SymbolVariant) Method
    In This Topic
    Creates a SymbolReference. It is placed on the page passed as a parameter, using a given SymbolVariant.
    Syntax
    public virtual void Create( 
       Page page,
       SymbolVariant symbVariant
    )
    public:
    virtual void Create( 
       Page^ page,
       SymbolVariant^ symbVariant
    ) 

    Parameters

    page
    Page where the symbol reference will be located on
    symbVariant
    Eplan.EplApi.DataModel.MasterData.SymbolVariant that will be assigned
    Exceptions
    ExceptionDescription
    Thrown when page is null.
    Thrown when symbVariant is null.
    Thrown when symbVariant is incompatible with this object. See IncorrectSymbolTypeException for details.
    Thrown when the function cannot be created.
    Thrown when given Page has PageType sets to ExternalDocument.
    See Also