getDefaultConstructionTool method
- required int layerId,
Returns the template's construction tool or a determined default.
In the absence of a default construction tool for this template, the geometry type of the specified layer is used to determine a default construction tool, provided this layer is loaded and is one of the SharedTemplate.layerIds. A NULL value is expected when:
- the template is used to create a non-spatial related record
- the default construction tool is NULL, and the layer's geometry type is unknown
Parameters:
layerId— An ID that identifies the layer for which a default construction tool is requested.
Return Value: The default construction tool if one can be determined; otherwise, null.