Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / Duct Class / Create Method / Create(Project,String,String,Double) Method
Project to which this object will be assign. Can't be null.
Part number of article used to create this object. Can't be null or have zero length.
Part variant of article.
Length of duct. Must be grater then zero.

In This Topic
    Create(Project,String,String,Double) Method
    In This Topic
    Creates not placed Duct object with given length.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject to which this object will be assign. Can't be null.
    strArticleNrPart number of article used to create this object. Can't be null or have zero length.
    strVariantPart variant of article.
    dLengthLength of duct. Must be grater then zero.
    Exceptions
    ExceptionDescription
    Thrown when param is null value. Check exception message for more info.
    Thrown if strArticleNr has zero length.
    Thrown when the duct cannot be created.
    Remarks
    If strArticleVariant null or have zero length default variant "1" is used.
    See Also