Version:
2021.1
2020.2
2020.1
2019.2
2019.1
2018.3
Back to list
Scene :: createOccurrence
Synopsis
Create a new occurrence
GUI Dialog
Script function
scene.createOccurrence
(
name
[,
parent
]) ->
occurrence
Parameters
name
(
String
) : Name of the new occurrence
parent
(
Occurrence
)
[optional]
: Create the occurrence as a child of parent, if not set the parent will be root
Return value
occurrence
(
Occurrence
) : Created occurrence