IElementDataModel.InstantiateDesign method
Instantiates a design in an element. This allows reusing the same design (geometry + model hierarchy) across multiple elements. Examples: Reuse the same design in multiple elements, create a sub-assembly from a part, or create multiple instances of a block, etc.
public void InstantiateDesign(IDesign designReference, IElement instantiatingElement)
| parameter | description |
|---|---|
| designReference | A reference to the IDesign that represents the geometry and model hierarchy that needs to be instantiated. |
| instantiatingElement | The IElement where this design needs to be instantiated. |
See Also
- interface IDesign
- interface IElement
- interface IElementDataModel
- namespace Autodesk.DataExchange.Interface