Search:     Advanced search

procedure SetDigitizerType(ItemID, Type)

Article ID: 298
Last updated: 24 Sep, 2010
Views: 961
Posted: 11 Dec, 2008
by Thomas B.
Updated: 24 Sep, 2010
by Murray D.

 

 

Description:

Sets the digitizer type of an estimating item.

Notes:

Prameters
ItemID

Type
Possible Vlaues:  "AREA", "LINEAR", "SEGMENT", "COUNT", "NONE"

Code changes the digitizer type of the currently selected item. Copy and paste the code into a New PlanSwift Script.

Pascal Example:

AItem := CurrentItem;
SetDigitizerType(AItem, 'AREA'):
ShowMessage(' Item Changed to ' + DigitizerType(AItem));

Visual Basic Example:

AItem = CurrentItem;
SetDigitizerType(AItem, "Area")
ShowMessage(' Item Changed to ' + DigitizerType(AItem)) 


Enterprise and Developer editions

This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
Digitizer Routines     function DigitizerType(ItemID)