Eplan Platform API
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.
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