All Frameworks  Object Hierarchy  This Framework  Indexes   

Shot (Object)

The interface to access a CATIAShot.
Role: A CATIAShot (or shot) is the base element that Sampled objects are composed of. For example, when considering a Track, each recorded position is a shot.

Method Index

AppendAbsDatas
Appends to the data related to the shot.
AppendDatas
Appends to the data related to the shot.
GetAbsDatas
Retrieves the data related to the shot.
GetDatas
Retrieves the data related to the shot.
GetDuration
Retrieves the duration (time) associated to a shot.
GetTechnologicalDatas
Retrieves all the data associated to the part.
SetAbsDatas
Set the data related to the shot.
SetDatas
Set the data related to the shot.
SetDuration
Sets the duration (time) associated to a shot.
SetTechnologicalDatas
Sets all the data associated to the part.

Methods


o Sub AppendAbsDatas( iPosition)
Appends to the data related to the shot. Role: In certain cases, a shot contains more than one data item. The SetDatas method is used to store the first data item. This method is then used to specify any additional data items
Parameters:
iPosition
An array of associated values to the shot. Please note that these values are absolute (relative to the world coordinate system), specifically to where the object started from.
o Sub AppendDatas( iPosition)
Appends to the data related to the shot. Role: In certain cases, a shot contains more than one data item. The SetDatas method is used to store the first data item. This method is then used to specify any additional data items.
Parameters:
iPosition
An array of associated values to the shot. Please note that these values are relative to the position of object, specifically to where the object started from.
o Sub GetAbsDatas( iIndex,
oPosition)
Retrieves the data related to the shot. Role: To get the numerical information related to the shot. For example, for a Track, each shot corresponds to a position that is used when evaluating a defined trajectory. Please note that these values are absolute (relative to the world coordinate system), specifically to where the object started from.
Parameters:
iIndex
A shot can have more than one piece of data associated to it. The value of iIndex refers to which specific data item to retrieve. The legal values of iIndex correspond to the rank of the data item (that is the 0 for the first item, 1 for the second item).
Returns:
An array of associated values to the shot.
o Sub GetDatas( iIndex,
oPosition)
Retrieves the data related to the shot. Role: To get the numerical information related to the shot. For example, for a Track, each shot corresponds to a position that is used when evaluating a defined trajectory. Please note that these values are relative to the position of object, specifically to where the object started from.
Parameters:
iIndex
A shot can have more than one piece of data associated to it. The value value of iIndex refers to which specific data item to retrieve. The legal values of iIndex correspond to the rank of the data item (that is the 0 for the first item, 1 for the second item).
Returns:
An array of associated values to the shot.
o Func GetDuration() As
Retrieves the duration (time) associated to a shot. The duration of a shot is the amount of time needed to travel from the previous shot to the current shot. Some key things to note are:
  • The first shot should have a duration of zero.
  • The value of the duration is a positive real number. Hence, 0.454 & 1345 are legal while -18 is not.
Returns:
the duration of a shot.
o Sub GetTechnologicalDatas( oDatas)
Retrieves all the data associated to the part.
o Sub SetAbsDatas( iPosition)
Set the data related to the shot. Role: To set the numerical information related to the shot. For example, for a Track, each shot corresponds to a position that is used when evaluating a defined trajectory.
Parameters:
iPosition
An array of associated values to the shot. Please note that these values are absolute (relative to the world coordinate system), specifically to where the object started from.
o Sub SetDatas( iPosition)
Set the data related to the shot. Role: To set the numerical information related to the shot. For example, for a Track, each shot corresponds to a position that is used when evaluating a defined trajectory.
Parameters:
iPosition
An array of associated values to the shot. Please note that these values are relative to the position of object, specifically to where the object started from.
o Sub SetDuration( iDuration)
Sets the duration (time) associated to a shot. The duration of a shot is the amount of time needed to travel from the previous shot to the current shot. Some key things to note are:
  • The first shot should have a duration of zero.
  • The value of the duration is a positive real number. Hence, 0.454 & 1345 are legal while -18 is not.
o Sub SetTechnologicalDatas( iDatas)
Sets all the data associated to the part.

Copyright © 2003, Dassault Systèmes. All rights reserved.