Replaces this occurrence or all occurrences that reference the same external component with a new component.
This method will fail if the occurrence is not referencing an external component.
"occurrence_var" is a variable referencing an Occurrence object.
|
"occurrence_var" is a variable referencing an Occurrence object.
|
Type | Description |
boolean | Returns true if the replacement was successful. |
Name | Type | Description |
newFile | DataFile | Specifies the DataFile you want to use as the replacement. The DataFile specified must exist in the same hub as the parent assembly. |
replaceAll | boolean | Indicates if you want to replace only this single occurrence or all occurrences that reference the same external design. |