Description:
Returns X of the last point returned by GetPoint, GetLine, or GetRect
Notes:
Example creates a Count Item at GetPoint location using ResultPoints. Copy and paste script(s) into a new PlanSwift script.
Pascal Example:
ATab := CurrentTab;
X1 := ResultPointX;
Y1 := ResultPointY;
GetPoint(X1,Y1,'Select Point');
NewPoint := NewItem(ATab);
SetDigitizerType(NewPoint,'Count');
SetItemProperty(NewPoint,'Name','Test Count');
NewSection := AddSection(NewPoint);
AddPoint(NewPoint,X1,Y1,NewSection);
Visual Basic Example:
ATab = CurrentTab
X1 = ResultPointX
Y1 = ResultPointY
GetPoint(X1,Y1,'Select Point')
NewPoint = NewItem(ATab)
SetDigitizerType(NewPoint,"Count")
SetItemProperty(NewPoint,"Name","Test Count")
NewSection = AddSection(NewPoint)
AddPoint(NewPoint,X1,Y1,NewSection)
Enterprise and Developer editions