AskForXYLocation process

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Description

Returns X and Y location values from a cursor click on a current schematic document.. This is primarly used for script developing using Delphi Script.

Parameters

Location.X (Integer)

Location.Y (Integer)

Result (Integer)

Example

Process: SCH:AskForXYLocation

Example 2

Function GetClickPosition;

Begin

    ResetParameters;

    RunProcess('SCH','AskForXYLocation');

    GetIntegerParameter('Location.X',X)

    GetIntegerParameter('Location.Y',Y)

End;

Your Ad Here