Field-Map Scripting

4.2.1.16 GetCrownProfileVolumeAndSurface

GetCrownProfileVolumeAndSurface function


Prototype:

function GetCrownProfileVolumeAndSurface (const TreeID_ :integer; const ProfileID_ :variant; out Volume_m3, Surface_m2 :variant) :boolean;

Description:


Syntax:


variable:= Layer.GetCrownProfileVolumeAndSurface(TreeID, ProfileID, Volume_m3, Surface_m2);



Part

Description


variable

Variable declared as a boolean


Layer

A reference to a Field-Map layer as defined in Field-Map Project Manager


TreeID



ProfileID



Volume_m3



Surface_m2


Return value:

True / False


Note: This function is available since version X7.



See also:

Name; Free; ParentName; LayerType; LayerLevel; LayerLabel; AutoTimeStampEnabled; PerformOnChangeScript; PerformOnChangeScriptForAllRecords; PerformLayerScript; OnLineCalliper_AddAttribute; OnLineCalliper_RemoveAttribute; OnLineCalliper_ClearAttributes; OnLineCalliper_GotoAttribute; OnLineCalliper_AddRecordUponReceipt; GetCrownProfileVolumeAndSurface; GetCrownProjectionAsLine; GetCrownProjectionAsPolygon; OpenExternalForm; RelationType; IsValidParentLayer