SensorTargetCollection#
- class ansys.stk.core.stkobjects.SensorTargetCollection#
Class defining the target collection for a target-pointing Sensor.
Overview#
Given an index, returns an SensorTarget interface. |
|
Add a target. |
|
Remove a target given an index. |
|
Remove a target given the targetβs name. |
|
Remove all targets in the collection. |
|
Add a target to the collection. |
|
Remove a target from the collection. |
Import detail#
from ansys.stk.core.stkobjects import SensorTargetCollection
Property detail#
- property SensorTargetCollection._new_enum: EnumeratorProxy#
Enumerates through the collection.
Method detail#
- SensorTargetCollection.item(self, index: int) SensorTarget #
Given an index, returns an SensorTarget interface.
- Parameters:
index :
int
- Returns:
SensorTarget
- SensorTargetCollection.remove_target(self, name: str) None #
Remove a target given the targetβs name.
- SensorTargetCollection.add_object(self, object: ISTKObject) None #
Add a target to the collection.
- Parameters:
object :
ISTKObject
- Returns:
- SensorTargetCollection.remove_object(self, object: ISTKObject) None #
Remove a target from the collection.
- Parameters:
object :
ISTKObject
- Returns: