Eplan Platform API
Eplan.EplApi.DataModel Namespace / ConnectionDefinitionPoint Class / AddArticleReference Method / AddArticleReference(ArticleReference) Method
ArticleReference object is a prototype for ArticleReference added to ConnectionDefinitionPoint.

AddArticleReference(ArticleReference) Method
Adds ArticleReference to the ConnectionDefinitionPoint.
Syntax
public ArticleReference AddArticleReference( 
   ArticleReference oArticle
)

Parameters

oArticle
ArticleReference object is a prototype for ArticleReference added to ConnectionDefinitionPoint.

Return Value

Article reference added to the ConnectionDefinitionPoint. Article reference passed as parameter is not changed.
Exceptions
ExceptionDescription
Thrown when the Article cannot be added
Thrown when article number is null.
Thrown when article variant is null.
Thrown when it was impossible to get valid property index.
See Also