Occurrences.addNewComponent Method
Parent Object:
OccurrencesDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/Occurrences.h>
Description
Method that creates a new component and an occurrence that references it.
Syntax
"occurrences_var" is a variable referencing an Occurrences object.returnValue = occurrences_var.addNewComponent(transform)
|
"occurrences_var" is a variable referencing an Occurrences object.
#include <Fusion/Components/Occurrences.h>
returnValue = occurrences_var->addNewComponent(transform);
|
Return Value
Occurrence |
Returns the newly created occurrence or null if the creation failed. |
Parameters
transform |
Matrix3D |
A transform that defines the location for the new occurrence. |
Samples
Version
Introduced in version August 2014