Version:
2021.1
2020.2
2020.1
2019.2
2019.1
2018.3
Back to list
View :: createOccurrenceOnCameraTarget
Synopsis
Create an occurrence on the target position of the camera (mid-click)
GUI Dialog
Script function
view.createOccurrenceOnCameraTarget
(
name
[,
parent
]) ->
occurrence
Parameters
name
(
String
) : Name of the new occurrence
parent
(
Occurrence
)
[optional]
: If defined, the new occurrence will be added as a child of the parent. Else the new parent will be the root of the current variant
Return value
occurrence
(
Occurrence
) : The created occurrence