Field-Map Scripting

4.1.13.34 SetPromptBeforeChangeTreePositionOfPreviousMeasurement

SetPromptBeforeChangeTreePositionOfPreviousMeasurement procedure


Prototype:

procedure SetPromptBeforeChangeTreePositionOfPreviousMeasurement (Value: boolean);

Description:

Enables to turn off/on the prompt, which appears when tree position is changed in the project containing repeated measurements. By default, the user is asked to confirm, whether the position of the tree should be changed also in the layer of previous measurement. By using this function, the appearance of this message box can be turned off.

Syntax:

SetPromptBeforeChangeTreePositionOfPreviousMeasurement(Value);



Part

Description


Value

Variable declared of boolean

Return value:

none


Example:


//  To make a prompt not to appear, use the script below (e.g., in BeforeMovePoint event of Trees layer)

begin

 SetPromptBeforeChangeTreePositionOfPreviousMeasurement(False);

end.



See also:

CancelMeasurement; MeasureHorizDist; MeasureInclination; MeasureHorizDistAndInclination; MeasureRemoteDiameter; MeasureStemProfile; GetContinuousGpsCoordinates; GetCurrentPosition; SetCurrentPosition; ResetOnlineCalliper; SendMessageToNonSpecificEquipment; ManageNonSpecificEquipment; NonSpecificEquipmentActive; DendroscopeSerialNumber; GetFieldMapVersion; CalcVerticalDistance; VerticalDistance; CalcInclination; CheckSum; CheckSumOK; GetBearingAngle_deg; GetBearingAzimuth_deg; GetLaserEquipmentHeight_cm; GetAzimuthFixOffset_deg; GetAzimuthUnits; GetMagneticDeclination_deg; GetMainPoleLength_cm; GetMainPoleLengthCorrection_cm; GetMainPoleOffsetForTreeMeasurement_cm; GetMainPoleReflectorOffset_cm; GetOffsetOfCylReflector_cm; GetGPSAntennaHeight_cm; GetPolePositionMode; SetPromptBeforeChangeTreePositionOfPreviousMeasurement