vcMultiPositionTargetContainer
A container for multiple position targets.
See in: Overview
Module: vcRobotics2
Parent: -
Children -
Referenced by: vcRobotProgramManager.TargetContainer, vcRobotRoutine.TargetContainer
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| OwnedTargets | vcList | R | Gets the targets owned by this container, if any. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| createTarget | vcPositionTarget | vcPositionTargetType type, Optional Keyword[name = String] | Creates a new target into this container.See moreParameters: type (str): Type name of the statement. Optional: name (str): Name for the new target. If omitted, a name will be automatically generated. Returns: vcPositionTarget: The new target. Exceptions: ValueError: When the target name is reserved or when the type name is empty or not supported. |
| findTarget | vcPositionTarget | String name | Clones the statement within or into this scope.See moreParameters: statement (vcExecutor2.vcStatement): A statement to clone. index (int): Index to insert the statement to. Must be zero or positive. If index is greater than the number of contained statements, the cloned statement is added to the end. Returns: vcExecutor2.vcStatement: The copied instance. Exceptions: RuntimeError: When copying fails due to incompatible statement. |
Events
Learn how to use events here. The events are also inherited from the parent class.
| Name | Parameters | Description |
| OnTargetAdded | vcPositionTarget position | Invoked when a new target position is added to the object. Parameters: target position (vcPositionTarget): The newly added target position. |
| OnTargetRemoving | vcPositionTarget position | Invoked when a target position is about to be removed from the object.See moreParameters: target position (vcPositionTarget): The target position about to be removed. |