Skip to content

Instantly share code, notes, and snippets.

@josht
Created February 16, 2011 21:16
Show Gist options
  • Save josht/830224 to your computer and use it in GitHub Desktop.
Save josht/830224 to your computer and use it in GitHub Desktop.
create digitizer item in planswift
myitem := NewItem('\Job\Takeoff', 'Area', 'Auto Area Test');
Result := EditItem(myitem);
if (Result = 'True') then begin
mysection := NewSection(myitem, 'Section');
if (mysection = '') then begin
DeleteItem(myitem);
end
else begin
StartRecording(mysection);
end
end
else begin
DeleteItem(myitem);
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment