SetLayerHeightAttribute¶
- globalmapper.SetLayerHeightAttribute(GM_LayerHandle_t32 aLayer, str aAttrName, uint32 aReserved=0) GM_Error_t32[source]¶
- Sets the name of the feature attribute to use for determining the height of a feature point. Provide an empty string to reset this to the default behavior which searches for any number of known height attributes and also checks the display name for height-based types. - Parameters:
- aLayer (GM_LayerHandle_t32) – Layer to modify 
- aAttrName (str) – Name of attribute to use for height 
- aReserved (uint32) – Reserved value for future expansion (defaults to zero) 
 
- Returns:
- Error Code 
- Return type:
- GM_Error_t32 
 
Example¶
The following is an example of SetLayerHeightAttribute.
err_SetLayerHeightAttribute = gm.SetLayerHeightAttribute(
    layers_list[0], "BuildingHeight", 0
)
