CreateGroupTemplateDefinition Method
Creates a new group template object using the specified definition. Adds the base template specified to the group template as the base part. This method must be called on the MCT. Use QueuedTask.Run. Use this method in conjunction with calls to
AddComponentTemplate for each component part. Once the group template is fully defined, use
CreateTemplate(MapMember,CIMEditingTemplate) to add the template to the template manager.
Parameters
- layer
- the layer to use as the base.
- groupTemplateName
- the template name for the new group template.
- baseTemplateName
- the name of the template used as the base.
- description
- Optional description of the template.
- tags
- Optional. A set of tags.
Return Value
the newly created group template object. Null if it cannot be created.
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.