After you have created animation objects, you must create an animation frame in which to store the objects. To create an animation frame, call the function
ProAnimframeCreate() and supply a frame view matrix. The frame view matrix is a transformation from the top model coordinate system that allows you to alter the view of the top-level model in your animation. This functionality could be used, for example, to change the view of an assembly while the assembly components (animation objects) move as specified in the call to
ProAnimobjectCreate().
Creating an animation frame does not cause the animation objects to be contained in the frame. To add animation objects to a frame, you must call the function
ProAnimframeObjAdd().
To remove an object from a frame, call the function
ProAnimframeObjRemove(). To delete a frame, call
ProAnimframeDelete().
The function
ProAnimframeObjVisit() enables you to visit each animation object in an animation frame. The input arguments of the function specify the action and filtration functions, which are of type
ProAnimObjAct.