Eplan Platform API
Eplan.EplApi.DataModel Namespace / Article Class / Create Method
Project where the Function will be located in
this is the article number
this is the article Variant

Create Method (Article)
Creates a Article in Project with the specified strPartnr and strVariant.
Syntax
public void Create( 
   Project proj,
   string strPartnr,
   string strVariant
)

Parameters

proj
Project where the Function will be located in
strPartnr
this is the article number
strVariant
this is the article Variant
Exceptions
ExceptionDescription
Thrown when proj is null.
Thrown when strPartnr is null.
Thrown when strVariant is null.
Thrown when the function cannot be created.
Thrown when strPartNr with strVariant already exists in the project.
Remarks
In case of subsequent method calls, Article object wraps article that was created by last successful method call.
See Also