Eplan Platform API
Eplan.EplApi.DataModel Namespace / Project Class / AddArticleReference Method / AddArticleReference(String) Method
number of added article

In This Topic
    AddArticleReference(String) Method
    In This Topic
    Adds a new ArticleReference to the Project. Returns the added ArticleReference.
    Syntax
    public virtual ArticleReference AddArticleReference( 
       string strArticleNR
    )
    public:
    virtual ArticleReference^ AddArticleReference( 
       String^ strArticleNR
    ) 

    Parameters

    strArticleNR
    number of added article

    Return Value

    ArticleReference added to the Project
    Exceptions
    ExceptionDescription
    Thrown when the ArticleReference cannot be added
    Thrown when this Project cannot have more ArticleReferences
    Thrown when strArticleName is null.
    Remarks
    Stores the article from System article database in the Project Adds one article with variant 1 and count 1
    See Also