Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / MountingRail Class / Create Method / Create(Project,String,String,Double,List<Placement3D>) 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.
list, that will be filled by additional created objects. may be null

In This Topic
    Create(Project,String,String,Double,List<Placement3D>) Method
    In This Topic
    Creates not placed MountingRail object with given length.
    Syntax

    Parameters

    oProject
    Project to which this object will be assign. Can't be null.
    strArticleNr
    Part number of article used to create this object. Can't be null or have zero length.
    strVariant
    Part variant of article.
    dLength
    Length of the MountingRail. Must be grater then zero.
    listOfAdditionalObjects
    list, that will be filled by additional created objects. may be null

    Return Value

    The created MountingRail object.
    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