API Help
Eplan.EplApi.HEServices Namespace / Edit Class / Rotate Method
Placements to rotate. All placements have to be placed on the same page.
Starting point for rotation
Angle (in radians)

In This Topic
    Rotate Method (Edit)
    In This Topic
    Rotates objects.
    Syntax

    Parameters

    plcmnts
    Placements to rotate. All placements have to be placed on the same page.
    oPntStart
    Starting point for rotation
    angle
    Angle (in radians)
    Exceptions
    ExceptionDescription
    Is thrown in case of null parameters.
    Thrown when collection plcmnts contains objects with different or null parent.
    Thrown when there are preplanning objects on preplanning page which could not be rotated or internal error occured.
    Remarks
    Both graphical and logical elements may be rotated, however, when plcmnts contains any logical objects it could be rotated only in 90° increments. When different value in angle is given the rotation will align with the closest angle possible that is coherent with the rule.
    See Also