Syntax

code

Function: DoRecord: Boolean;


Description

Begins recording digitizer points for the Item. Returns False if no points are recorded.


Code Reference


code

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

var

  ps: IPlanSwift;

  est: IItem;

  itm: IItem;

  sect: IItem;

begin

  // Create Planswift Interface

  ps := coPlanswift.Create;

  // Get the Estimating tab

  est := ps.GetItem('Job\Takeoff');

  // Create a new Item

  itm := est.NewItem('Area', 'DoRecord Example');

  // Create a new Section

  sect := itm.NewSection('DoRecord Section');

  // Start Recording section on current page

  sect.DoRecord;

  // Free Planswift

  ps := nil;