Eplan Platform API
Eplan.EplApi.DataModel Namespace / Function 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 Function. 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 Function
    Exceptions
    ExceptionDescription
    Thrown when the Article cannot be added
    Thrown when this Function cannot have Articles
    Thrown when strArticleName is null.
    Thrown if IsFixedDevice is true.
    When 2nd ArticleReference is added to a 2D Function having ArticlePlacement category
    Remarks
    Stores the article from System article database in a project. Adds one article with variant 1 and count 1 Functions of category ArticlePlacement can have only 1 ArticleReference object.
    See Also