The CreateInstance Activity creates a new [[Instance|instance]] of a specified [[MetaClass]].
=Description=
{{ActivityInfoBox
| title = Create Instance
| version = 2.1+
}}
The CreateInstance Activity creates a new [[Instance|instance]] of a specified [[MetaClass]].
===Arguments===
{| class="wikitable sortable" | width = "50%"
{{Attention|This activity does not automatically save changes. If you want to persist the newly created instance, you need i.e. a subsequent [[Activity:SaveObject_(Activity)|SaveObject activity]]!}}
==Example==
Load the MetaClass named ''PUMP'', and create a new instance from it:
.AllInstances("PUMP")</source>
|}
<headertabs />
==See also==