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

In This Topic
    Create Method (Article)
    In This Topic
    Creates a Article in Project with the specified strPartnr and strVariant.
    Syntax
    public void Create( 
       Project proj,
       string strPartnr,
       string strVariant
    )
    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