API Help
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / CalculateReferencePoint3D Method
Output parameter - Reference point

In This Topic
    CalculateReferencePoint3D Method
    In This Topic
    Calculates the reference point of the macro Used to calculate reference point if reference point has not been defined by the user, when creating a macro. When reference point has been defined for then given macro, then output parameter is equal to ReferencePoint property.
    Syntax
    public bool CalculateReferencePoint3D( 
       ref PointD3D referencePoint
    )
    public:
    bool CalculateReferencePoint3D( 
       PointD3D% referencePoint
    ) 

    Parameters

    referencePoint
    Output parameter - Reference point

    Return Value

    true : when calculation was successful.

    Exceptions
    ExceptionDescription
    Thrown when the macro was not opend before or could not opened successfully.
    See Also