AddSymbolPosition Method (MDSymbolPosition)
Add a new symbol position to part. Symbol is added at the first available index of symbol position list.
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.
Exception | Description |
System.ArgumentException | Thrown if strSymbolLibraryName is null or empty. |
| Thrown when adding new symbol position has failed. |