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

AddPart(String,String) Method
Adds a new part into the parts database. 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,
   string variant
)

Parameters

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