|
Create activity node specified by class name or guid identification. Class name identification requires package name and class name of the activity node. See command reference documentation for list of available activity nodes. Default input and output control flow attributes are automatically added to activity node if not defined explicitly by node.
- Parameters:
-
| idName | – identification of the activity node. Can be either guid or class name. |
| vOwner | – full name identification of owner object where newly created activity node will be added. |
- Returns:
- pVal - full name identification of created activity object in the graph
Example: szNewSaveActivity = Activity.Create('FileIO Package/Save Object Command', Space.CurrentScene())
Activity.Create('Space 3D Package/New Scene Command', '/Project')
|