Parameters
- oParent
- Placement3D object which will be parent of created bus bar.
- strArticleNr
- Part number of article used to create this object. Can't be null or have zero length.
- strVariant
- Part variant of article.
Exception | Description |
---|---|
System.ArgumentException | Thrown if strArticleNr is invalid. |
Eplan.EplApi.DataModel.ObjectCreationException | Thrown when the bus bar cannot be created. |
strArticleNr
don't have property ARTICLE_BENDINGRADIUS_COPPER set or value is less or equal to 0, default value "5.0" will be used. If given article is strArticleNr
don't have property ARTICLE_MACRO set or macro is invalid exception will be thrown. If strVariant
is null or have zero length default variant "1" is used. If oParent
isn't a CopperBundle new copper bundle will be created as parent of bus bar and then object passed as oParent
will be set as parent to newly created copper bundle.