API Help
Eplan.EplApi.DataModel Namespace / FunctionBase Class / Location Property

In This Topic
    Location Property (FunctionBase)
    In This Topic
    Get or set the placement's location.
    Syntax
    public override PointD Location {get; set;}
    public:
    property PointD Location {
       PointD get() override;
       void set (    PointD value) override;
    }

    Property Value

    Current location of the placement.
    Exceptions
    ExceptionDescription
    Thrown when property or function can not be used for specific class. For example it is thrown when this property is called on Eplan.EplApi.DataModel.MasterData.SymbolVariant objects.
    Remarks
    In case of SymbolReferences, location is just an insertion point of a SymbolReference in graphical coordinate system. Please use CoordinateService class in order to recalculate to another coordinate systems. When the location is changed (and the symbol is moved) then it is possible that some automatic connections will be disconnected or connected differently.
    See Also