API Help
Eplan.EplApi.DataModel.EObjects Namespace / Cable Class / Create Method / Create(Page,SymbolVariant) Method
Eplan.EplApi.DataModel.MasterData.SymbolVariant that will be assigned

Create(Page,SymbolVariant) Method
Creates a SymbolReference. It is placed on the page passed as a parameter, using a given SymbolVariant.
Syntax
public override void Create( 
   Page oPage,
   SymbolVariant symbVariant
)

Parameters

oPage
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