ArcGIS Pro 2.9 API Reference Guide
AddModel Method

ArcGIS.Core.CIM Namespace > EditingTemplateCIMExtensions Class : AddModel Method
The template definition to add a model to.
The geometry of the model to add.
Add a new model to a CIMMultipatchFeatureTemplate. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Shared Sub AddModel( _
   ByVal templatedDef As CIMMultipatchFeatureTemplate, _
   ByVal modelGeom As Multipatch _
) 

Parameters

templatedDef
The template definition to add a model to.
modelGeom
The geometry of the model to add.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EditingTemplateCIMExtensions Class
EditingTemplateCIMExtensions Members