Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

IDs and information for Tmotioncam

Tmotioncam

Attributes

  • ENGLISH NAME : MotionCamera
  • NAME : Tmotioncam
  • INCLUDE : Texpression
  • PATH : motioncam/description/tmotioncam.res
  • PLUGIN : motioncam
  • MAXON online help (may not exist): TMOTIONCAM

Elements

ID UI Name Type Parameters Cycle
TMOTIONCAM_VIS_CAM_ENABLED Vis:UseCustomCameraColor BOOL  
TMOTIONCAM_VIS_CAM_COL Vis:CameraColor COLOR  
TMOTIONCAM_VIS_RIG_ENABLED Vis:DrawRig BOOL  
TMOTIONCAM_VIS_RIG_MODE Vis:RigMode LONG  
TMOTIONCAM_VIS_RIG_MODE_SIMPLE Simple
TMOTIONCAM_VIS_RIG_MODE_FIGURE Figure
TMOTIONCAM_VIS_RIG_COL Vis:RigColor COLOR  
TMOTIONCAM_VIS_TARGET_ENABLED Vis:DrawMarker BOOL  
TMOTIONCAM_VIS_TARGET_RADIUS Vis:MarkerRadius REAL
UNIT REAL
MIN 0.0
STEP 1.0
TMOTIONCAM_VIS_TARGET_DRAWDISTTEXT Vis:DrawTargetDistance BOOL  
TMOTIONCAM_VIS_TARGET_DRAWABERRATION Vis:DrawAberration BOOL  
TMOTIONCAM_VIS_TARGET_DRAWSINGLETARGETS Vis:DrawSingleTargets BOOL  
TMOTIONCAM_VIS_TARGET_COLOR Vis:TargetColor COLOR  
TMOTIONCAM_EXPORT_TARGETPOS_LINK TargetPos:Link LINK  
TMOTIONCAM_EXPORT_TARGETPOS_VECTOR TargetPos:Vector VECTOR
ANIM OFF
UNIT METER
TMOTIONCAM_EXPORT_FOOTPOS_LINK Foot:Link LINK  
TMOTIONCAM_EXPORT_FOOTPOS_VECTOR Foot:PosVector VECTOR
ANIM OFF
UNIT METER
TMOTIONCAM_EXPORT_HEADPOS_LINK Head:Link LINK  
TMOTIONCAM_EXPORT_HEADPOS_VECTOR Head:PosVector VECTOR
ANIM OFF
UNIT METER
TMOTIONCAM_EXPORT_SPEED Speed(Units/sec) REAL
ANIM OFF
UNIT METER
TMOTIONCAM_RIG_HEIGHT Rig:Height REAL UNIT
TMOTIONCAM_RIG_PARALLAX Rig:Parallax VECTOR UNIT
TMOTIONCAM_ROT_MANUAL_HEAD ManualHeadRotation VECTOR
UNIT DEGREE
MIN -180.0
MAX 180.0
TMOTIONCAM_ROT_MANUAL_CAM ManualCameraRotation VECTOR
UNIT DEGREE
MIN -180.0
MAX 180.0
TMOTIONCAM_BASE_LINK Base:Link LINK  
TMOTIONCAM_BASE_INHERITPARAMS Base:InheritCameraParameters BOOL  
TMOTIONCAM_BASE_OVERRIDE_RIGHEIGHT Base:OverrideRigDimensions BOOL  
TMOTIONCAM_SPLINE_ENABLED Splines:Enabled BOOL  
TMOTIONCAM_SPLINE_TANGENTIAL Splines:Tangential BOOL  
TMOTIONCAM_SPLINE_A Splines:PathSplineA LINK  
TMOTIONCAM_SPLINE_A_RAIL Splines:RailSplineA LINK  
TMOTIONCAM_SPLINE_B Splines:PathSplineB LINK  
TMOTIONCAM_SPLINE_B_RAIL Splines:RailSplineB LINK  
TMOTIONCAM_SPLINE_POS_A Splines:CamPosA REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_SPLINE_POS_A_SPLINE Splines:CamPosACurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_A_ENABLED Splines:Auto.AnimAEnabled BOOL PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_A_START Splines:Auto.AnimAStart BASETIME PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_A_END Splines:Auto.AnimAEnd BASETIME PARENTCOLLAPSE
TMOTIONCAM_SPLINE_POS_B Splines:CamPosB REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_SPLINE_POS_B_SPLINE Splines:CamPosBCurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_B_ENABLED Splines:Auto.AnimBEnabled BOOL PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_B_START Splines:Auto.AnimBStart BASETIME PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_B_END Splines:Auto.AnimBEnd BASETIME PARENTCOLLAPSE
TMOTIONCAM_SPLINE_POS_BLEND Splines:BlendA<->B REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_SPLINE_POS_BLEND_SPLINE Splines:CamPosBlendCurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_BLEND_ENABLED Splines:Auto.AnimBlendEnabled BOOL PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_BLEND_START Splines:Auto.AnimBlendStart BASETIME PARENTCOLLAPSE
TMOTIONCAM_SPLINE_AUTO_BLEND_END Splines:Auto.AnimBlendEnd BASETIME PARENTCOLLAPSE
TMOTIONCAM_SPLINE_INTENSITY Splines:Intensity REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_ENABLED Targets:Enabled BOOL  
TMOTIONCAM_TARGET_COMPENSATE_PARALLAX CompensateAberration BOOL  
TMOTIONCAM_TARGET_A1 Targets:TargetA1 LINK  
TMOTIONCAM_TARGET_SPLINE_A1_POS Targets:TargetA1Pos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_A2 Targets:TargetA2 LINK  
TMOTIONCAM_TARGET_SPLINE_A2_POS Targets:TargetA2Pos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_B1 Targets:TargetB1 LINK  
TMOTIONCAM_TARGET_SPLINE_B1_POS Targets:TargetB1Pos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_B2 Targets:TargetB2 LINK  
TMOTIONCAM_TARGET_SPLINE_B2_POS Targets:TargetB2Pos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_UPVECTOR Targets:UpVector LINK  
TMOTIONCAM_TARGET_SPLINE_UPVECTOR_POS Targets:TargetUpVectorPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_BLEND_A Targets:TargetPosA1<->A2 REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_BLEND_A_SPLINE Targets:BlendACurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_TARGET_BLEND_B Targets:TargetPosB1<->B2 REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_BLEND_B_SPLINE Targets:BlendBCurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_TARGET_BLEND_AB Targets:TargetPosA<->B REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_BLEND_AB_SPLINE Targets:BlendABCurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_TARGET_INTENSITY Targets:Intensity REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_TARGET_INTENSITY_SPLINE Targets:IntensityCurve SPLINE PARENTCOLLAPSE
TMOTIONCAM_FOLLOW_ENABLED Chase:Enabled BOOL  
TMOTIONCAM_FOLLOW_LINK Chase:Link LINK  
TMOTIONCAM_FOLLOW_MAXDISTANCE Chase:Max.Distance REAL
UNIT METER
MIN 0.0
TMOTIONCAM_FOLLOW_MINDISTANCE Chase:Min.Distance REAL
UNIT METER
MIN 0.0
TMOTIONCAM_AUTOBANKING_ENABLED Auto.Banking:Enabled BOOL  
TMOTIONCAM_AUTOBANKING_INTENSITY Auto.Banking:Intensity REAL
UNIT REAL
MIN 0.0
STEP 0.1
TMOTIONCAM_AUTOBANKING_DAMPEN Auto.Banking:Dampen REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOOT_DYN_ENABLED FootDyn:Enabled BOOL  
TMOTIONCAM_FOOT_DYN_MODE FootDyn:Mode LONG  
TMOTIONCAM_DYN_MODE_DAMPEN Dampen
TMOTIONCAM_DYN_MODE_SPRING Spring
TMOTIONCAM_FOOT_DYN_DAMP_POS FootDyn:DampPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOOT_DYN_DAMP_ROT FootDyn:DampRot REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOOT_DYN_INERTIA_POS FootDyn:InertiaPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOOT_DYN_INERTIA_ROT FootDyn:InertiaRot REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_HEAD_DYN_ENABLED HeadDyn:Enabled BOOL  
TMOTIONCAM_HEAD_DYN_MODE HeadDyn:Mode LONG  
TMOTIONCAM_DYN_MODE_DAMPEN Dampen
TMOTIONCAM_DYN_MODE_SPRING Spring
TMOTIONCAM_HEAD_DYN_DAMP_POS HeadDyn:DampPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_HEAD_DYN_DAMP_ROT HeadDyn:DampRot REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_HEAD_DYN_INERTIA_POS HeadDyn:InertiaPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_HEAD_DYN_INERTIA_ROT HeadDyn:InertiaRot REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_CAM_DYN_ENABLED HandsDyn:Enabled BOOL  
TMOTIONCAM_CAM_DYN_MODE HandsDyn:Mode LONG  
TMOTIONCAM_DYN_MODE_DAMPEN Dampen
TMOTIONCAM_DYN_MODE_SPRING Spring
TMOTIONCAM_CAM_DYN_DAMP_POS HandsDyn:DampPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_CAM_DYN_DAMP_ROT HandsDyn:DampRot REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_CAM_DYN_INERTIA_POS HandsDyn:InertiaPos REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_CAM_DYN_INERTIA_ROT HandsDyn:InertiaRot REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOCUS_DYN_ENABLED FocusDyn:Enabled BOOL  
TMOTIONCAM_FOCUS_DYN_MODE FocusDyn:Mode LONG  
TMOTIONCAM_DYN_MODE_DAMPEN Dampen
TMOTIONCAM_DYN_MODE_SPRING Spring
TMOTIONCAM_FOCUS_DYN_DAMP FocusDyn:Damp REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOCUS_DYN_INERTIA FocusDyn:Inertia REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_PRESET Preset LONG  
TMOTIONCAM_NMOTION_PRESET_CUSTOM (Custom)
TMOTIONCAM_NMOTION_PRESET_QUIET Calm
TMOTIONCAM_NMOTION_PRESET_STEADYCAM_1 SteadyCam1
TMOTIONCAM_NMOTION_PRESET_STEADYCAM_2 SteadyCam2
TMOTIONCAM_NMOTION_PRESET_EGO Ego
TMOTIONCAM_NMOTION_PRESET_DOGMA DogmaCam
TMOTIONCAM_NMOTION_FOOT_INTENSITY Footsteps:Intensity REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_FOOT_SCALE Footsteps:Scale VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_FOOT_INTENSITY
UNIT REAL
TMOTIONCAM_NMOTION_FOOT_FREQ Footsteps:Frequency REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_FOOT_INTENSITY
UNIT REAL
TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY Motion:HeadRot:Intensity REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_HEAD_ROT_MAX Motion:HeadRot:Max VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY
UNIT DEGREE
STEP 0.1
TMOTIONCAM_NMOTION_HEAD_ROT_FREQ Motion:HeadRot:Frequency VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY
UNIT REAL
TMOTIONCAM_NMOTION_HEAD_ROT_OCT Motion:HeadRot:Octaves REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY
UNIT REAL
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 10.0
STEP 0.1
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_HEAD_ROT_DESYNC Motion:HeadRot:DeSync REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY
UNIT REAL
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 10.0
STEP 0.1
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_HEAD_ROT_OFFSET Motion:HeadRot:Offset VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY
UNIT METER
STEP 0.1
TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY Motion:CamRot:Intensity REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_CAM_ROT_MAX Motion:CamRot:Max VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY
UNIT DEGREE
STEP 0.1
TMOTIONCAM_NMOTION_CAM_ROT_FREQ Motion:CamRot:Frequency VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY
UNIT REAL
TMOTIONCAM_NMOTION_CAM_ROT_OCT Motion:CamRot:Octaves REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY
UNIT REAL
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 10.0
STEP 0.1
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_CAM_ROT_DESYNC Motion:CamRot:DeSync REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY
UNIT REAL
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 10.0
STEP 0.1
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_CAM_ROT_OFFSET Motion:CamRot:Offset VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY
UNIT METER
STEP 0.1
TMOTIONCAM_NMOTION_CAM_POS_INTENSITY Motion:CamPos:Intensity REAL
PARENTCOLLAPSE
UNIT PERCENT
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_CAM_POS_MAX Motion:CamPos:Max VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_POS_INTENSITY
UNIT METER
STEP 0.1
TMOTIONCAM_NMOTION_CAM_POS_FREQ Motion:CamPos:Frequency VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_POS_INTENSITY
UNIT REAL
TMOTIONCAM_NMOTION_CAM_POS_OCT Motion:CamPos:Octaves REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_POS_INTENSITY
UNIT REAL
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 10.0
STEP 0.1
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_CAM_POS_DESYNC Motion:CamPos:DeSync REAL
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_POS_INTENSITY
UNIT REAL
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 10.0
STEP 0.1
CUSTOMGUI REALSLIDER
TMOTIONCAM_NMOTION_CAM_POS_OFFSET Motion:CamPos:Offset VECTOR
PARENTCOLLAPSE TMOTIONCAM_NMOTION_CAM_POS_INTENSITY
UNIT METER
STEP 0.1
TMOTIONCAM_FOCUS_ENABLED Focus:EnableFocusControl BOOL  
TMOTIONCAM_FOCUS_FOCALLENGTH Focus:FocalLength REAL
MIN 1
MAX 10000
TMOTIONCAM_FOCUS_APERTURE Focus:SensorSize REAL
MIN 1.0
MAX 2000.0
STEP 0.1
TMOTIONCAM_FOCUS_AUTO_ENABLED Focus:EnableAutoFocus BOOL  
TMOTIONCAM_FOCUS_DISTANCE_DIST Focus:TargetDistance REAL
UNIT METER
MIN 0.0
TMOTIONCAM_FOCUS_DISTANCE_OFFSET Focus:Offset REAL UNIT
TMOTIONCAM_FOCUS_VERTIGO_INTENSITY DollyZoom:Intensity REAL
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
TMOTIONCAM_FOCUS_DEPTH_ENABLED Focus:EnableDepthControl BOOL  
TMOTIONCAM_FOCUS_DEPTH_MODE Focus:DepthMode LONG  
TMOTIONCAM_FOCUS_DEPTH_MODE_STANDARD Standard
TMOTIONCAM_FOCUS_DEPTH_MODE_FORPOST ForPost
TMOTIONCAM_FOCUS_DEPTH_AREA Focus:FocusArea REAL
UNIT METER
MIN 0.0
TMOTIONCAM_FOCUS_DEPTH_SOFT Focus:BlurArea REAL
UNIT PERCENT
MIN 0.0
MAX 100.0

Example Code

The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown. This code is just to show you how to access the values for getting and setting the parameters.

Python

import c4d
from c4d import gui
def main():
    obj = c4d.BaseObject(c4d.Osphere)
    tag = obj.MakeTag(c4d.Tmotioncam)
    doc.InsertObject(obj)
    c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
    
    #You can set parameters two different ways. 
    #First way              
    tag[c4d.TMOTIONCAM_VIS_CAM_ENABLED] = True
    tag[c4d.TMOTIONCAM_VIS_RIG_ENABLED] = True
    tag[c4d.TMOTIONCAM_VIS_RIG_MODE] = c4d.TMOTIONCAM_VIS_RIG_MODE_SIMPLE
    tag[c4d.TMOTIONCAM_VIS_TARGET_ENABLED] = True
    tag[c4d.TMOTIONCAM_VIS_TARGET_RADIUS] = 0.1
    tag[c4d.TMOTIONCAM_VIS_TARGET_DRAWDISTTEXT] = True
    tag[c4d.TMOTIONCAM_VIS_TARGET_DRAWABERRATION] = True
    tag[c4d.TMOTIONCAM_VIS_TARGET_DRAWSINGLETARGETS] = True
    tag[c4d.TMOTIONCAM_EXPORT_TARGETPOS_VECTOR] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_EXPORT_FOOTPOS_VECTOR] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_EXPORT_HEADPOS_VECTOR] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_EXPORT_SPEED] = 0.1
    tag[c4d.TMOTIONCAM_RIG_HEIGHT] = 0.1
    tag[c4d.TMOTIONCAM_RIG_PARALLAX] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_ROT_MANUAL_HEAD] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_ROT_MANUAL_CAM] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_BASE_INHERITPARAMS] = True
    tag[c4d.TMOTIONCAM_BASE_OVERRIDE_RIGHEIGHT] = True
    tag[c4d.TMOTIONCAM_SPLINE_ENABLED] = True
    tag[c4d.TMOTIONCAM_SPLINE_TANGENTIAL] = True
    tag[c4d.TMOTIONCAM_SPLINE_POS_A] = 0.1
    tag[c4d.TMOTIONCAM_SPLINE_AUTO_A_ENABLED] = True
    tag[c4d.TMOTIONCAM_SPLINE_POS_B] = 0.1
    tag[c4d.TMOTIONCAM_SPLINE_AUTO_B_ENABLED] = True
    tag[c4d.TMOTIONCAM_SPLINE_POS_BLEND] = 0.1
    tag[c4d.TMOTIONCAM_SPLINE_AUTO_BLEND_ENABLED] = True
    tag[c4d.TMOTIONCAM_SPLINE_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_ENABLED] = True
    tag[c4d.TMOTIONCAM_TARGET_COMPENSATE_PARALLAX] = True
    tag[c4d.TMOTIONCAM_TARGET_SPLINE_A1_POS] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_SPLINE_A2_POS] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_SPLINE_B1_POS] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_SPLINE_B2_POS] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_SPLINE_UPVECTOR_POS] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_BLEND_A] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_BLEND_B] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_BLEND_AB] = 0.1
    tag[c4d.TMOTIONCAM_TARGET_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_FOLLOW_ENABLED] = True
    tag[c4d.TMOTIONCAM_FOLLOW_MAXDISTANCE] = 0.1
    tag[c4d.TMOTIONCAM_FOLLOW_MINDISTANCE] = 0.1
    tag[c4d.TMOTIONCAM_AUTOBANKING_ENABLED] = True
    tag[c4d.TMOTIONCAM_AUTOBANKING_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_AUTOBANKING_DAMPEN] = 0.1
    tag[c4d.TMOTIONCAM_FOOT_DYN_ENABLED] = True
    tag[c4d.TMOTIONCAM_FOOT_DYN_MODE] = c4d.TMOTIONCAM_DYN_MODE_DAMPEN
    tag[c4d.TMOTIONCAM_FOOT_DYN_DAMP_POS] = 0.1
    tag[c4d.TMOTIONCAM_FOOT_DYN_DAMP_ROT] = 0.1
    tag[c4d.TMOTIONCAM_FOOT_DYN_INERTIA_POS] = 0.1
    tag[c4d.TMOTIONCAM_FOOT_DYN_INERTIA_ROT] = 0.1
    tag[c4d.TMOTIONCAM_HEAD_DYN_ENABLED] = True
    tag[c4d.TMOTIONCAM_HEAD_DYN_MODE] = c4d.TMOTIONCAM_DYN_MODE_DAMPEN
    tag[c4d.TMOTIONCAM_HEAD_DYN_DAMP_POS] = 0.1
    tag[c4d.TMOTIONCAM_HEAD_DYN_DAMP_ROT] = 0.1
    tag[c4d.TMOTIONCAM_HEAD_DYN_INERTIA_POS] = 0.1
    tag[c4d.TMOTIONCAM_HEAD_DYN_INERTIA_ROT] = 0.1
    tag[c4d.TMOTIONCAM_CAM_DYN_ENABLED] = True
    tag[c4d.TMOTIONCAM_CAM_DYN_MODE] = c4d.TMOTIONCAM_DYN_MODE_DAMPEN
    tag[c4d.TMOTIONCAM_CAM_DYN_DAMP_POS] = 0.1
    tag[c4d.TMOTIONCAM_CAM_DYN_DAMP_ROT] = 0.1
    tag[c4d.TMOTIONCAM_CAM_DYN_INERTIA_POS] = 0.1
    tag[c4d.TMOTIONCAM_CAM_DYN_INERTIA_ROT] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_DYN_ENABLED] = True
    tag[c4d.TMOTIONCAM_FOCUS_DYN_MODE] = c4d.TMOTIONCAM_DYN_MODE_DAMPEN
    tag[c4d.TMOTIONCAM_FOCUS_DYN_DAMP] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_DYN_INERTIA] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_PRESET] = c4d.TMOTIONCAM_NMOTION_PRESET_CUSTOM
    tag[c4d.TMOTIONCAM_NMOTION_FOOT_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_FOOT_SCALE] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_FOOT_FREQ] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_HEAD_ROT_MAX] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_HEAD_ROT_FREQ] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_HEAD_ROT_OCT] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_HEAD_ROT_DESYNC] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_HEAD_ROT_OFFSET] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_CAM_ROT_MAX] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_CAM_ROT_FREQ] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_CAM_ROT_OCT] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_CAM_ROT_DESYNC] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_CAM_ROT_OFFSET] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_CAM_POS_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_CAM_POS_MAX] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_CAM_POS_FREQ] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_NMOTION_CAM_POS_OCT] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_CAM_POS_DESYNC] = 0.1
    tag[c4d.TMOTIONCAM_NMOTION_CAM_POS_OFFSET] = c4d.Vector(1.0,1.0,1.0)
    tag[c4d.TMOTIONCAM_FOCUS_ENABLED] = True
    tag[c4d.TMOTIONCAM_FOCUS_FOCALLENGTH] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_APERTURE] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_AUTO_ENABLED] = True
    tag[c4d.TMOTIONCAM_FOCUS_DISTANCE_DIST] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_DISTANCE_OFFSET] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_VERTIGO_INTENSITY] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_DEPTH_ENABLED] = True
    tag[c4d.TMOTIONCAM_FOCUS_DEPTH_MODE] = c4d.TMOTIONCAM_FOCUS_DEPTH_MODE_STANDARD
    tag[c4d.TMOTIONCAM_FOCUS_DEPTH_AREA] = 0.1
    tag[c4d.TMOTIONCAM_FOCUS_DEPTH_SOFT] = 0.1
    
    #Second way, using the base container.
    bc = tag.GetDataInstance()
    bc.SetBool(c4d.TMOTIONCAM_VIS_CAM_ENABLED,True)
    bc.SetBool(c4d.TMOTIONCAM_VIS_RIG_ENABLED,True)
    bc.SetInt32(c4d.TMOTIONCAM_VIS_RIG_MODE,c4d.TMOTIONCAM_VIS_RIG_MODE_SIMPLE)
    bc.SetBool(c4d.TMOTIONCAM_VIS_TARGET_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_VIS_TARGET_RADIUS,0.1)
    bc.SetBool(c4d.TMOTIONCAM_VIS_TARGET_DRAWDISTTEXT,True)
    bc.SetBool(c4d.TMOTIONCAM_VIS_TARGET_DRAWABERRATION,True)
    bc.SetBool(c4d.TMOTIONCAM_VIS_TARGET_DRAWSINGLETARGETS,True)
    bc.SetVector(c4d.TMOTIONCAM_EXPORT_TARGETPOS_VECTOR, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_EXPORT_FOOTPOS_VECTOR, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_EXPORT_HEADPOS_VECTOR, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_EXPORT_SPEED,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_RIG_HEIGHT,0.1)
    bc.SetVector(c4d.TMOTIONCAM_RIG_PARALLAX, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_ROT_MANUAL_HEAD, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_ROT_MANUAL_CAM, c4d.Vector(1.0,1.0,1.0)
    bc.SetBool(c4d.TMOTIONCAM_BASE_INHERITPARAMS,True)
    bc.SetBool(c4d.TMOTIONCAM_BASE_OVERRIDE_RIGHEIGHT,True)
    bc.SetBool(c4d.TMOTIONCAM_SPLINE_ENABLED,True)
    bc.SetBool(c4d.TMOTIONCAM_SPLINE_TANGENTIAL,True)
    bc.SetFloat(c4d.TMOTIONCAM_SPLINE_POS_A,0.1)
    bc.SetBool(c4d.TMOTIONCAM_SPLINE_AUTO_A_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_SPLINE_POS_B,0.1)
    bc.SetBool(c4d.TMOTIONCAM_SPLINE_AUTO_B_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_SPLINE_POS_BLEND,0.1)
    bc.SetBool(c4d.TMOTIONCAM_SPLINE_AUTO_BLEND_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_SPLINE_INTENSITY,0.1)
    bc.SetBool(c4d.TMOTIONCAM_TARGET_ENABLED,True)
    bc.SetBool(c4d.TMOTIONCAM_TARGET_COMPENSATE_PARALLAX,True)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_SPLINE_A1_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_SPLINE_A2_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_SPLINE_B1_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_SPLINE_B2_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_SPLINE_UPVECTOR_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_BLEND_A,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_BLEND_B,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_BLEND_AB,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_TARGET_INTENSITY,0.1)
    bc.SetBool(c4d.TMOTIONCAM_FOLLOW_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_FOLLOW_MAXDISTANCE,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOLLOW_MINDISTANCE,0.1)
    bc.SetBool(c4d.TMOTIONCAM_AUTOBANKING_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_AUTOBANKING_INTENSITY,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_AUTOBANKING_DAMPEN,0.1)
    bc.SetBool(c4d.TMOTIONCAM_FOOT_DYN_ENABLED,True)
    bc.SetInt32(c4d.TMOTIONCAM_FOOT_DYN_MODE,c4d.TMOTIONCAM_DYN_MODE_DAMPEN)
    bc.SetFloat(c4d.TMOTIONCAM_FOOT_DYN_DAMP_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOOT_DYN_DAMP_ROT,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOOT_DYN_INERTIA_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOOT_DYN_INERTIA_ROT,0.1)
    bc.SetBool(c4d.TMOTIONCAM_HEAD_DYN_ENABLED,True)
    bc.SetInt32(c4d.TMOTIONCAM_HEAD_DYN_MODE,c4d.TMOTIONCAM_DYN_MODE_DAMPEN)
    bc.SetFloat(c4d.TMOTIONCAM_HEAD_DYN_DAMP_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_HEAD_DYN_DAMP_ROT,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_HEAD_DYN_INERTIA_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_HEAD_DYN_INERTIA_ROT,0.1)
    bc.SetBool(c4d.TMOTIONCAM_CAM_DYN_ENABLED,True)
    bc.SetInt32(c4d.TMOTIONCAM_CAM_DYN_MODE,c4d.TMOTIONCAM_DYN_MODE_DAMPEN)
    bc.SetFloat(c4d.TMOTIONCAM_CAM_DYN_DAMP_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_CAM_DYN_DAMP_ROT,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_CAM_DYN_INERTIA_POS,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_CAM_DYN_INERTIA_ROT,0.1)
    bc.SetBool(c4d.TMOTIONCAM_FOCUS_DYN_ENABLED,True)
    bc.SetInt32(c4d.TMOTIONCAM_FOCUS_DYN_MODE,c4d.TMOTIONCAM_DYN_MODE_DAMPEN)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_DYN_DAMP,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_DYN_INERTIA,0.1)
    bc.SetInt32(c4d.TMOTIONCAM_NMOTION_PRESET,c4d.TMOTIONCAM_NMOTION_PRESET_CUSTOM)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_FOOT_INTENSITY,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_FOOT_SCALE, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_FOOT_FREQ,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_HEAD_ROT_MAX, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_HEAD_ROT_FREQ, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_HEAD_ROT_OCT,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_HEAD_ROT_DESYNC,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_HEAD_ROT_OFFSET, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_CAM_ROT_MAX, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_CAM_ROT_FREQ, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_CAM_ROT_OCT,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_CAM_ROT_DESYNC,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_CAM_ROT_OFFSET, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_CAM_POS_INTENSITY,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_CAM_POS_MAX, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_CAM_POS_FREQ, c4d.Vector(1.0,1.0,1.0)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_CAM_POS_OCT,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_NMOTION_CAM_POS_DESYNC,0.1)
    bc.SetVector(c4d.TMOTIONCAM_NMOTION_CAM_POS_OFFSET, c4d.Vector(1.0,1.0,1.0)
    bc.SetBool(c4d.TMOTIONCAM_FOCUS_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_FOCALLENGTH,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_APERTURE,0.1)
    bc.SetBool(c4d.TMOTIONCAM_FOCUS_AUTO_ENABLED,True)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_DISTANCE_DIST,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_DISTANCE_OFFSET,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_VERTIGO_INTENSITY,0.1)
    bc.SetBool(c4d.TMOTIONCAM_FOCUS_DEPTH_ENABLED,True)
    bc.SetInt32(c4d.TMOTIONCAM_FOCUS_DEPTH_MODE,c4d.TMOTIONCAM_FOCUS_DEPTH_MODE_STANDARD)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_DEPTH_AREA,0.1)
    bc.SetFloat(c4d.TMOTIONCAM_FOCUS_DEPTH_SOFT,0.1)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../motioncam/description/tmotioncam.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseObject *pObject = BaseObject::Alloc(Osphere);
    pDoc->InsertObject(pObject);
    pDoc->StartUndo();
    pDoc->AddUndo(UNDOTYPE_NEW,pObject);
    pDoc->EndUndo();
    pDoc->StartUndo();
    BaseTag *pTag = pObject->MakeTag(Tmotioncam);
    pDoc->AddUndo(UNDOTYPE_NEW,pTag);
    pDoc->EndUndo();
    pObject->Message(MSG_UPDATE);
    
    //You can set parameters two different ways. 

    //First way              
    //Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead. 

    DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_CAM_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_RIG_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_RIG_MODE),GeData(TMOTIONCAM_VIS_RIG_MODE_SIMPLE),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_TARGET_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_TARGET_RADIUS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_TARGET_DRAWDISTTEXT),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_TARGET_DRAWABERRATION),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_VIS_TARGET_DRAWSINGLETARGETS),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_EXPORT_TARGETPOS_VECTOR),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_EXPORT_FOOTPOS_VECTOR),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_EXPORT_HEADPOS_VECTOR),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_EXPORT_SPEED),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_RIG_HEIGHT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_RIG_PARALLAX),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_ROT_MANUAL_HEAD),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_ROT_MANUAL_CAM),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_BASE_INHERITPARAMS),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_BASE_OVERRIDE_RIGHEIGHT),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_TANGENTIAL),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_POS_A),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_AUTO_A_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_POS_B),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_AUTO_B_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_POS_BLEND),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_AUTO_BLEND_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_SPLINE_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_COMPENSATE_PARALLAX),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_SPLINE_A1_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_SPLINE_A2_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_SPLINE_B1_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_SPLINE_B2_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_SPLINE_UPVECTOR_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_BLEND_A),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_BLEND_B),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_BLEND_AB),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_TARGET_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOLLOW_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOLLOW_MAXDISTANCE),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOLLOW_MINDISTANCE),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_AUTOBANKING_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_AUTOBANKING_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_AUTOBANKING_DAMPEN),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOOT_DYN_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOOT_DYN_MODE),GeData(TMOTIONCAM_DYN_MODE_DAMPEN),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOOT_DYN_DAMP_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOOT_DYN_DAMP_ROT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOOT_DYN_INERTIA_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOOT_DYN_INERTIA_ROT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_HEAD_DYN_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_HEAD_DYN_MODE),GeData(TMOTIONCAM_DYN_MODE_DAMPEN),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_HEAD_DYN_DAMP_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_HEAD_DYN_DAMP_ROT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_HEAD_DYN_INERTIA_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_HEAD_DYN_INERTIA_ROT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_CAM_DYN_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_CAM_DYN_MODE),GeData(TMOTIONCAM_DYN_MODE_DAMPEN),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_CAM_DYN_DAMP_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_CAM_DYN_DAMP_ROT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_CAM_DYN_INERTIA_POS),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_CAM_DYN_INERTIA_ROT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DYN_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DYN_MODE),GeData(TMOTIONCAM_DYN_MODE_DAMPEN),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DYN_DAMP),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DYN_INERTIA),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_PRESET),GeData(TMOTIONCAM_NMOTION_PRESET_CUSTOM),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_FOOT_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_FOOT_SCALE),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_FOOT_FREQ),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_HEAD_ROT_MAX),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_HEAD_ROT_FREQ),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_HEAD_ROT_OCT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_HEAD_ROT_DESYNC),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_HEAD_ROT_OFFSET),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_ROT_MAX),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_ROT_FREQ),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_ROT_OCT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_ROT_DESYNC),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_ROT_OFFSET),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_POS_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_POS_MAX),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_POS_FREQ),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_POS_OCT),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_POS_DESYNC),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_NMOTION_CAM_POS_OFFSET),GeData(Vector(1.0,1.0,1.0)),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_FOCALLENGTH),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_APERTURE),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_AUTO_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DISTANCE_DIST),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DISTANCE_OFFSET),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_VERTIGO_INTENSITY),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DEPTH_ENABLED),GeData(true),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DEPTH_MODE),GeData(TMOTIONCAM_FOCUS_DEPTH_MODE_STANDARD),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DEPTH_AREA),GeData(0.1),flags);
    pTag->SetParameter(DescID(TMOTIONCAM_FOCUS_DEPTH_SOFT),GeData(0.1),flags);
    pTag->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pTag->GetDataInstance();
    bc->SetBool(TMOTIONCAM_VIS_CAM_ENABLED,true);
    bc->SetBool(TMOTIONCAM_VIS_RIG_ENABLED,true);
    bc->SetInt32(TMOTIONCAM_VIS_RIG_MODE,TMOTIONCAM_VIS_RIG_MODE_SIMPLE);
    bc->SetBool(TMOTIONCAM_VIS_TARGET_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_VIS_TARGET_RADIUS,0.1);
    bc->SetBool(TMOTIONCAM_VIS_TARGET_DRAWDISTTEXT,true);
    bc->SetBool(TMOTIONCAM_VIS_TARGET_DRAWABERRATION,true);
    bc->SetBool(TMOTIONCAM_VIS_TARGET_DRAWSINGLETARGETS,true);
    bc->SetVector(TMOTIONCAM_EXPORT_TARGETPOS_VECTOR, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_EXPORT_FOOTPOS_VECTOR, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_EXPORT_HEADPOS_VECTOR, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_EXPORT_SPEED,0.1);
    bc->SetFloat(TMOTIONCAM_RIG_HEIGHT,0.1);
    bc->SetVector(TMOTIONCAM_RIG_PARALLAX, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_ROT_MANUAL_HEAD, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_ROT_MANUAL_CAM, c4d.Vector(1.0,1.0,1.0);
    bc->SetBool(TMOTIONCAM_BASE_INHERITPARAMS,true);
    bc->SetBool(TMOTIONCAM_BASE_OVERRIDE_RIGHEIGHT,true);
    bc->SetBool(TMOTIONCAM_SPLINE_ENABLED,true);
    bc->SetBool(TMOTIONCAM_SPLINE_TANGENTIAL,true);
    bc->SetFloat(TMOTIONCAM_SPLINE_POS_A,0.1);
    bc->SetBool(TMOTIONCAM_SPLINE_AUTO_A_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_SPLINE_POS_B,0.1);
    bc->SetBool(TMOTIONCAM_SPLINE_AUTO_B_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_SPLINE_POS_BLEND,0.1);
    bc->SetBool(TMOTIONCAM_SPLINE_AUTO_BLEND_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_SPLINE_INTENSITY,0.1);
    bc->SetBool(TMOTIONCAM_TARGET_ENABLED,true);
    bc->SetBool(TMOTIONCAM_TARGET_COMPENSATE_PARALLAX,true);
    bc->SetFloat(TMOTIONCAM_TARGET_SPLINE_A1_POS,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_SPLINE_A2_POS,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_SPLINE_B1_POS,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_SPLINE_B2_POS,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_SPLINE_UPVECTOR_POS,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_BLEND_A,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_BLEND_B,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_BLEND_AB,0.1);
    bc->SetFloat(TMOTIONCAM_TARGET_INTENSITY,0.1);
    bc->SetBool(TMOTIONCAM_FOLLOW_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_FOLLOW_MAXDISTANCE,0.1);
    bc->SetFloat(TMOTIONCAM_FOLLOW_MINDISTANCE,0.1);
    bc->SetBool(TMOTIONCAM_AUTOBANKING_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_AUTOBANKING_INTENSITY,0.1);
    bc->SetFloat(TMOTIONCAM_AUTOBANKING_DAMPEN,0.1);
    bc->SetBool(TMOTIONCAM_FOOT_DYN_ENABLED,true);
    bc->SetInt32(TMOTIONCAM_FOOT_DYN_MODE,TMOTIONCAM_DYN_MODE_DAMPEN);
    bc->SetFloat(TMOTIONCAM_FOOT_DYN_DAMP_POS,0.1);
    bc->SetFloat(TMOTIONCAM_FOOT_DYN_DAMP_ROT,0.1);
    bc->SetFloat(TMOTIONCAM_FOOT_DYN_INERTIA_POS,0.1);
    bc->SetFloat(TMOTIONCAM_FOOT_DYN_INERTIA_ROT,0.1);
    bc->SetBool(TMOTIONCAM_HEAD_DYN_ENABLED,true);
    bc->SetInt32(TMOTIONCAM_HEAD_DYN_MODE,TMOTIONCAM_DYN_MODE_DAMPEN);
    bc->SetFloat(TMOTIONCAM_HEAD_DYN_DAMP_POS,0.1);
    bc->SetFloat(TMOTIONCAM_HEAD_DYN_DAMP_ROT,0.1);
    bc->SetFloat(TMOTIONCAM_HEAD_DYN_INERTIA_POS,0.1);
    bc->SetFloat(TMOTIONCAM_HEAD_DYN_INERTIA_ROT,0.1);
    bc->SetBool(TMOTIONCAM_CAM_DYN_ENABLED,true);
    bc->SetInt32(TMOTIONCAM_CAM_DYN_MODE,TMOTIONCAM_DYN_MODE_DAMPEN);
    bc->SetFloat(TMOTIONCAM_CAM_DYN_DAMP_POS,0.1);
    bc->SetFloat(TMOTIONCAM_CAM_DYN_DAMP_ROT,0.1);
    bc->SetFloat(TMOTIONCAM_CAM_DYN_INERTIA_POS,0.1);
    bc->SetFloat(TMOTIONCAM_CAM_DYN_INERTIA_ROT,0.1);
    bc->SetBool(TMOTIONCAM_FOCUS_DYN_ENABLED,true);
    bc->SetInt32(TMOTIONCAM_FOCUS_DYN_MODE,TMOTIONCAM_DYN_MODE_DAMPEN);
    bc->SetFloat(TMOTIONCAM_FOCUS_DYN_DAMP,0.1);
    bc->SetFloat(TMOTIONCAM_FOCUS_DYN_INERTIA,0.1);
    bc->SetInt32(TMOTIONCAM_NMOTION_PRESET,TMOTIONCAM_NMOTION_PRESET_CUSTOM);
    bc->SetFloat(TMOTIONCAM_NMOTION_FOOT_INTENSITY,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_FOOT_SCALE, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_NMOTION_FOOT_FREQ,0.1);
    bc->SetFloat(TMOTIONCAM_NMOTION_HEAD_ROT_INTENSITY,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_HEAD_ROT_MAX, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_NMOTION_HEAD_ROT_FREQ, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_NMOTION_HEAD_ROT_OCT,0.1);
    bc->SetFloat(TMOTIONCAM_NMOTION_HEAD_ROT_DESYNC,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_HEAD_ROT_OFFSET, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_NMOTION_CAM_ROT_INTENSITY,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_CAM_ROT_MAX, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_NMOTION_CAM_ROT_FREQ, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_NMOTION_CAM_ROT_OCT,0.1);
    bc->SetFloat(TMOTIONCAM_NMOTION_CAM_ROT_DESYNC,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_CAM_ROT_OFFSET, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_NMOTION_CAM_POS_INTENSITY,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_CAM_POS_MAX, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(TMOTIONCAM_NMOTION_CAM_POS_FREQ, c4d.Vector(1.0,1.0,1.0);
    bc->SetFloat(TMOTIONCAM_NMOTION_CAM_POS_OCT,0.1);
    bc->SetFloat(TMOTIONCAM_NMOTION_CAM_POS_DESYNC,0.1);
    bc->SetVector(TMOTIONCAM_NMOTION_CAM_POS_OFFSET, c4d.Vector(1.0,1.0,1.0);
    bc->SetBool(TMOTIONCAM_FOCUS_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_FOCUS_FOCALLENGTH,0.1);
    bc->SetFloat(TMOTIONCAM_FOCUS_APERTURE,0.1);
    bc->SetBool(TMOTIONCAM_FOCUS_AUTO_ENABLED,true);
    bc->SetFloat(TMOTIONCAM_FOCUS_DISTANCE_DIST,0.1);
    bc->SetFloat(TMOTIONCAM_FOCUS_DISTANCE_OFFSET,0.1);
    bc->SetFloat(TMOTIONCAM_FOCUS_VERTIGO_INTENSITY,0.1);
    bc->SetBool(TMOTIONCAM_FOCUS_DEPTH_ENABLED,true);
    bc->SetInt32(TMOTIONCAM_FOCUS_DEPTH_MODE,TMOTIONCAM_FOCUS_DEPTH_MODE_STANDARD);
    bc->SetFloat(TMOTIONCAM_FOCUS_DEPTH_AREA,0.1);
    bc->SetFloat(TMOTIONCAM_FOCUS_DEPTH_SOFT,0.1);
    pTag->Message(MSG_UPDATE);                                                      
}