Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / MountingRail 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 the MountingRail. Must be grater then zero.

In This Topic
    Create(Project,String,String,Double) Method
    In This Topic
    Creates not placed MountingRail 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 the MountingRail. Must be grater then zero.
    Exceptions
    ExceptionDescription
    Thrown when param is null value. Check exceptions message for more info.
    Thrown if strArticleNr has zero length.
    Thrown when the MountingRail cannot be created.
    Remarks
    If strArticleVariant null or have zero length default variant "1" is used.
    See Also