public BaseConstructionItem CreatePart( ApiPartType partType, string partNumber )
Parameters
- partType
- Type of the new part.
- partNumber
- Part number of the new part.
Return Value
Created library part.
public BaseConstructionItem CreatePart( ApiPartType partType, string partNumber )
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.ArgumentNullException | Argument is null. |
EPLAN.Harness.API.Exceptions.ArgumentException | Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property. |
EPLAN.Harness.API.Exceptions.LicensingErrorException | This operation was denied because of your license. |