FittingInterfaces Track (Object)
All Frameworks Object Hierarchy This Framework Indexes
Track (Object)
The interface to access a CATIATrack.
Role: A CATIATrack (or track) object is an object to
define motion to various items (such as a product or a shuttle).
These tracks can be simulated which results in them to move along
the defined trajectory (with a set speed).
Property Index
MoveMode
Returns or sets the track's movement mode.
Speed
Returns or sets the track speed.
Method Index
GetMatrixAll
GetMatrixAll
Gets the base location of the track.
Mirror
Produces a "mirror image" of the track.
Move
Moves the track a certain position.
Properties
Returns or sets the track's movement mode. Can be speed or
time based.
In Speed mode, the total time is calculated based on the
time need to travel the distance of the track at the given speed.
In Time mode, the movement speed to calculated so that the
end of the track is reached by the end of the total time.
Uses enum DMUTrackMoveMode, which defined is
in this interface.
Returns or sets the track speed. Please note that the value of
the speed should be greater than zero.
Example
This example sets the track speed to 17.54 .
myTrack.Speed = 17.54
Methods
o Sub GetMatrixAll ( oMatrixAll )
GetMatrixAll
Gets the base location of the track.
The sum of several internal transforms.
Parameters:
oMatrixAll
An array of 12 doubles. A 3 by 3 rotation matrix followed by
a position (x/y/z) vector, in millimeters.
Returns:
S_OK if everything was succcessfull
o Sub Mirror ( iPoint , iNormal )
Produces a "mirror image" of the track.
Role: Determines the "mirror image" of a track. The "mirror" is
a 3d plane specified by a point on the plane and the normal to the surface
of the plane. The mirror calculation involves going through each shot
and projecting it in the space on the other side of the mirror plane. The
projection "reflects" the point perpendicularly to the plane.
Parameters:
iPoint
A point on the plane that will be used to define the mirror.
iNormal
A normal to the plane that will be used to define the mirror.
Moves the track a certain position.
Parameters:
iTransfo
Specifies a relative amount to move the track.
Copyright © 2003, Dassault Systèmes. All rights reserved.