Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDSymbolPosition Class / AddSymbolPosition Method
MDPart to which new symbol position will be added.
Name of symbol library which stores the symbol. Can't be null or empty.
Number of the symbol.
Variant index of the symbol.

AddSymbolPosition Method (MDSymbolPosition)
Add a new symbol position to part. Symbol is added at the first available index of symbol position list.
Syntax

Parameters

pMDPart
MDPart to which new symbol position will be added.
strSymbolLibraryName
Name of symbol library which stores the symbol. Can't be null or empty.
iSymbolNr
Number of the symbol.
iSymbolVariantNr
Variant index of the symbol.

Return Value

New created symbol position.
Exceptions
ExceptionDescription
Thrown if strSymbolLibraryName is null or empty.
Thrown when adding new symbol position has failed.
See Also