Category Animation, Object ProAnimObj

Function ProAnimobjectCreate


Description
Prepares an animation object.

NOTE: This function does not support external objects.

Synopsis
#include <ProAnimate.h>
ProErrorProAnimobjectCreate(
ProSelection p_select
/* (In)
The item to be animated. Currently, this can be a part or an assembly only.
*/
ProMatrix position
/* (In)
Indicates the location of the animation item with respect to its immediate parent.
*/
ProAnimObj* anim_obj
/* (Out)
The handle to the newly created object for animation.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the object.
PRO_TK_BAD_INPUTSThe specified object type is not supported.

Manual References:

  1. User Interface: Animation: Animation Objects
  2. User Interface: Animation: Animation Objects
  3. User Interface: Animation: Animation Frames

Sample Code References:

  1. pt_examples ( TestAnimation.c )
  2. pt_examples ( TestCollect.c )
  3. pt_userguide ( UgAnimAsmcompAnim.c )