ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMExtensions Class / AddModel Method
The template definition to add a model to.
The geometry of the model to add.

In This Topic
    AddModel Method
    In This Topic
    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

    ArcGIS Pro version: 3 or higher.
    See Also