API Help
Eplan.EplApi.MasterData Namespace / MDPartsDatabase Class / AddPart Method / AddPart(String) Method

AddPart(String) Method
Adds a new part into the parts database. That part will get the default-variant: "1" If it's not possible (because there is already a part with that partnr and variant) an MDInvalidArgumentException will be thrown
Syntax
public MDPart AddPart( 
   string sPartNr
)

Parameters

sPartNr
Exceptions
ExceptionDescription
If part already exists.
Remarks
Returns the part object of the created part.
See Also