All Frameworks  Object Hierarchy  This Framework  Indexes  

Replay (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---Replay
 


The interface to access a CATIAReplay

Use this interface to customize the Replay object


Method Index

AddProductMotion
Adds a product to be taken into account in the Replay object.
AddSample
Adds a sample(set of values) for a channel at a specific time
GetNbProductMotion
Get the number of channel related to products.
GetNbSample
Get the number of samples for a channel number.
GetProduct
Get the product for a channel.
GetSamplePosition
Get the sample values.
GetSampleTime
Get the sample time.
RemoveSample
Remove a specific sample.

Methods


o Func AddProductMotion(CATIAProduct iProduct) As long
Adds a product to be taken into account in the Replay object.
Parameters:
iProduct
CATIAProduct. Product to add.
oChannel
Channel number.
o Sub AddSample(long iChannel,
double iCurrentTime,
CATSafeArrayVariant iPosition)
Adds a sample(set of values) for a channel at a specific time
Parameters:
iChannel
Channel number.
iCurrentTime
Time.
iPosition
Array of values to consider the the specified channel.
o Func GetNbProductMotion() As long
Get the number of channel related to products.
Parameters:
oNbChannel
Number of channel associated to products.
o Func GetNbSample(long iChannel) As long
Get the number of samples for a channel number.
Parameters:
iChannel
Channel index.
oNbSample
Number of samples.
o Func GetProduct(long iChannel) As CATIAProduct
Get the product for a channel.
Parameters:
iChannel
Channel index.
oProduct
Product.
o Sub GetSamplePosition(long iChannel,
long iSample,
CATSafeArrayVariant oPosition)
Get the sample values.
Parameters:
iChannel
Channel index.
iSample
Sample index.
oPosition
Array of values.
o Func GetSampleTime(long iChannel,
long iSample) As double
Get the sample time.
Parameters:
iChannel
Channel index.
iSample
Sample index.
oTime
Time value.
o Sub RemoveSample(long iChannel,
long iSample)
Remove a specific sample.
Parameters:
iChannel
Channel index.
iSample
Sample index.

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