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 Omotiontracker

Omotiontracker

Attributes

  • ENGLISH NAME : MotionTrackerObject
  • NAME : Omotiontracker
  • INCLUDE : Obase
  • PATH : motiontracker/description/omotiontracker.res
  • PLUGIN : motiontracker
  • MAXON online help (may not exist): OMOTIONTRACKER

Elements

ID UI Name Type Parameters Cycle
PH_FOOTAGE_FILENAME Footage FILENAME
ANIM OFF
FIT_H
SCALE_H
PH_LENS_PROFILE_FILENAME LensProfile FILENAME
ANIM OFF
FIT_H
SCALE_H
PARENTCOLLAPSE
PH_FOOTAGE_DOWNSAMPLING_FACTOR Resampling REAL
ANIM OFF
MIN 1.0
STEP 6.25
MAX 100.0
MINSLIDER 1.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_RDATA_FILMASPECT FilmAspect REAL
ANIM OFF
STEP 0.01
MIN 0.01
MAX 100.0
PH_RDATA_FILMPRESET LONG ANIM
PH_RDATA_FILMPRESET_CUSTOM Custom
PH_RDATA_FILMPRESET_SQUARE Square(1:1)
PH_RDATA_FILMPRESET_STANDARD Standard(4:3)
PH_RDATA_FILMPRESET_HDTV HDTV(16:9)
PH_RDATA_FILMPRESET_35MMSTILL 35mmStill(3:2)
PH_RDATA_FILMPRESET_WIDESCREEN Widescreen(14:9)
PH_RDATA_FILMPRESET_35MM 35mm(1.85:1)
PH_RDATA_FILMPRESET_PANAVISION Panavision(2.39:1)
PH_FOOTAGE_TRACK_FRAME_START FrameStart LONG
ANIM OFF
MIN 0
PH_FOOTAGE_TRACK_FRAME_STOP FrameStop LONG
ANIM OFF
MIN 0
PH_FOOTAGE_VIEW_SCALE FootageScale REAL
ANIM OFF
STEP 10.0
MIN 1.0
MAX 10000.0
MINSLIDER 10.0
MAXSLIDER 1000.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_FOOTAGE_VIEW_OFFSET_X FootageOffsetX REAL
ANIM OFF
STEP 1.0
UNIT PERCENT
PH_FOOTAGE_VIEW_OFFSET_Y FootageOffsetY REAL
ANIM OFF
STEP 1.0
UNIT PERCENT
PH_FOOTAGE_OFFSET_TRACKS_SELECTED BOOL
HIDDEN
ANIM OFF
PH_FOOTAGE_VIEW_FULL FullFootage BUTTON  
PH_FOOTAGE_MATCH_VIEW_WIDTH MatchWidth BUTTON  
PH_FOOTAGE_MATCH_VIEW_HEIGHT MatchHeight BUTTON  
PH_FOOTAGE_BRIGHTNESS Brightness REAL
ANIM OFF
MIN 0.0
MAX 200.0
MINSLIDER 0.0
MAXSLIDER 200.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_FOOTAGE_SHOW_IMAGE ShowFootagethroughCamera BOOL ANIM
PH_CREATE_BACKGROUND_OBJECT CreateBackgroundObject BUTTON  
PH_2D_TRACK_SUBTAB_MODE LONG
SCALE_H
ANIM OFF
CUSTOMGUI QUICKTABRADIO
PH_SUBTAB_2D_TRACK_AUTO AutomaticTracking
PH_SUBTAB_2D_TRACK_MANUAL ManualTracking
PH_SUBTAB_2D_TRACK_DISPLAY Options
PH_2D_TRACK_MANUAL_TRACK_BACKWARD < BUTTON  
PH_2D_TRACK_MANUAL_TRACK <ManualTrack> BUTTON  
PH_2D_TRACK_MANUAL_TRACK_FORWARD > BUTTON  
PH_2D_TRACK_USER_TRACKS_ITEMTREE ITEMTREE
HEADERS
FOLDERS
SCALE_H
MULTIPLE
COLUMNS 6
ICON
DRAGDROP
RESIZABLE
PH_2D_TRACK_USER_AUTOKEYING VirtualKeyframes BOOL
ANIM OFF
ALIGN_LEFT
PARENTCOLLAPSE
PH_2D_TRACK_USER_AUTOKEYING_MODE Mode LONG
PARENTCOLLAPSE PH_2D_TRACK_USER_AUTOKEYING
ANIM OFF
PH_2D_TRACK_USER_AUTOKEYING_ERROR_THRESHOLD ErrorThreshold REAL
PARENTCOLLAPSE PH_2D_TRACK_USER_AUTOKEYING
ANIM OFF
STEP 0.01
MINSLIDER 0.0
MAXSLIDER 1.0
CUSTOMGUI REALSLIDER
PH_2D_TRACK_USER_AUTOKEYING_INTERVAL FrameInterval LONG
PARENTCOLLAPSE PH_2D_TRACK_USER_AUTOKEYING
ANIM OFF
MINSLIDER 1
MAXSLIDER 50
CUSTOMGUI LONGSLIDER
PH_2D_TRACK_COLOR_MIX_PRESET ColorFilter LONG
ANIM OFF
ALIGN_LEFT
PARENTCOLLAPSE
PH_2D_TRACK_USER_redWeightActive Filter.Red REAL
PARENTCOLLAPSE PH_2D_TRACK_COLOR_MIX_PRESET
ANIM OFF
MIN -200.0
MAX 200.0
STEP 1.0
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_USER_greenWeightActive Filter.Green REAL
PARENTCOLLAPSE PH_2D_TRACK_COLOR_MIX_PRESET
ANIM OFF
MIN -200.0
MAX 200.0
STEP 1.0
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_USER_blueWeightActive Filter.Blue REAL
PARENTCOLLAPSE PH_2D_TRACK_COLOR_MIX_PRESET
ANIM OFF
MIN -200.0
MAX 200.0
STEP 1.0
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_numFeatsTargetFullFrame NumberofTracks LONG
ANIM OFF
MIN 1
MAX 10000
PH_2D_TRACK_minSpacing MinimumSpacing LONG
ANIM OFF
MIN 1
MAX 1000
PH_2D_TRACK_autoReplaceLostFeatures AutoReplaceLostTracks BOOL ANIM
PH_2D_TRACK_AUTO_CREATE_MARKERS CreateAutoTracks BUTTON  
PH_2D_TRACK_AUTO_TRACK_BACKWARD < BUTTON  
PH_2D_TRACK_AUTO_TRACK <AutoTrack> BUTTON  
PH_2D_TRACK_AUTO_TRACK_FORWARD > BUTTON  
PH_2D_TRACK_AUTO_RESET DeleteAutoTracks BUTTON  
PH_2D_TRACK_FILTER_minTrackLen_Active BOOL ANIM
PH_2D_TRACK_FILTER_minTrackLen MinimumLength(Frames) LONG
SCALE_H
ANIM OFF
MIN 2
MAX 200
MINSLIDER 5
MAXSLIDER 50
CUSTOMGUI LONGSLIDER
PH_2D_TRACK_FILTER_maxAccel_Active BOOL ANIM
PH_2D_TRACK_FILTER_maxAccel MaximumAcceleration REAL
SCALE_H
ANIM OFF
MIN 0.0
MAX 10.0
MINSLIDER 0.0
MAXSLIDER 5.0
STEP 0.01
CUSTOMGUI REALSLIDER
PH_2D_TRACK_FILTER_maxError_Active BOOL ANIM
PH_2D_TRACK_FILTER_maxError ErrorThreshold REAL
SCALE_H
ANIM OFF
MIN 0.0
MAX 100.0
MINSLIDER 0.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_FILTER_smartAccel_Active BOOL ANIM
PH_2D_TRACK_FILTER_smartAccel SmartAcceleration REAL
SCALE_H
ANIM OFF
MIN 0.0
MAX 5.0
MINSLIDER 0.0
MAXSLIDER 5.0
STEP 0.1
CUSTOMGUI REALSLIDER
PH_2D_TRACK_featSizeDefault DefaultPatternSize LONG
ANIM OFF
MIN 3
STEP 2
MAX 10001
PH_2D_TRACK_trackWindowSizeDefault DefaultSearchSize LONG
ANIM OFF
MIN 5
STEP 10
MAX 10001
PH_2D_TRACK_circularFeatsDefault DefaultPatternShape LONG
ANIM OFF
FIT_H
SCALE_H
PH_2D_TRACK_SQUARE_FEATURE Square
PH_2D_TRACK_CIRCLE_FEATURE Circle
PH_2D_TRACK_DISP_FEAT_MODE TrackDisplay LONG
ANIM OFF
FIT_H
SCALE_H
PH_2D_TRACK_dispFeat_showFeat ShowTracks
PH_2D_TRACK_dispFeat_showFeatWithTrack ShowTrackswithPath
PH_2D_TRACK_dispFeat_none None
PH_SHOW_TRACKER_VIEW_OF_FOOTAGE_MODE FootageDisplay LONG
ANIM OFF
FIT_H
SCALE_H
PH_2D_TRACK_showFeatSize DisplayPatternBox BOOL ANIM
PH_2D_TRACK_showTrackWindowSize DisplaySearchBox BOOL ANIM
PH_2D_TRACK_showMagnifierOnDrag ShowRekeyMagnifier BOOL ANIM
PH_2D_TRACK_USER_redWeightDefault DefaultRedWeight REAL
ANIM OFF
MIN -200.0
MAX 200.0
STEP 10.0
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_USER_greenWeightDefault DefaultGreenWeight REAL
ANIM OFF
MIN -200.0
MAX 200.0
STEP 10.0
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_USER_blueWeightDefault DefaultBlueWeight REAL
ANIM OFF
MIN -200.0
MAX 200.0
STEP 10.0
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
UNIT PERCENT
PH_2D_TRACK_useExtrapolated2dTracking ExtrapolateSearchPosition BOOL ANIM
PH_USE_VIRTUAL_OBJECT_PREFIX_FOR_TRACK_TREEVIEW ObjectTrackerPrefix BOOL ANIM
PH_3D_RECON_SUBTAB_MODE LONG
SCALE_H
ANIM OFF
CUSTOMGUI QUICKTABRADIO
PH_SUBTAB_3D_RECON_RECON Solver
PH_SUBTAB_3D_RECON_DISPLAY Display
PH_SOLVE_MODE SolveMode LONG ANIM
PH_SOLVE_MODE_FULL_3D Full3DReconstruction
PH_SOLVE_MODE_NODAL NodalPan
PH_SOLVE_MODE_PLANAR PlanarTrack
PH_FOCAL_SOLVE_MODE FocalLength LONG ANIM
PH_FOCAL_MODE_UNKNOWN_VARIABLE Unknown
PH_FOCAL_MODE_UNKNOWN_FIXED UnknownbutConstant
PH_FOCAL_MODE_KNOWN_FIXED KnownandConstant
PH_FOCAL_KNOWN_FIXED FocalLength REAL
ANIM OFF
MIN 1.0
MAX 10000.0
STEP 0.1
PH_CAMERAOBJECT_FOCUS_PRESET LONG ANIM
PH_CAMERAOBJECT_FOCUS_PRESET_CUSTOM Custom(mm)
PH_CAMERAOBJECT_FOCUS_PRESET_WIDESUPER SuperWide(15mm)
PH_CAMERAOBJECT_FOCUS_PRESET_WIDE WideAngle(25mm)
PH_CAMERAOBJECT_FOCUS_PRESET_C4D Classic(36mm)
PH_CAMERAOBJECT_FOCUS_PRESET_NORMAL NormalLens(50mm)
PH_CAMERAOBJECT_FOCUS_PRESET_PORTRAIT Portrait(80mm)
PH_CAMERAOBJECT_FOCUS_PRESET_TELE Tele(135mm)
PH_CAMERAOBJECT_FOCUS_PRESET_TELESUPER SuperTele(300mm)
PH_APERTURE_KNOWN_FIXED SensorSize(FilmGate) REAL
ANIM OFF
MIN 1.0
MAX 2000.0
STEP 0.1
PH_CAMERAOBJECT_APERTURE_PRESET LONG ANIM
PH_CAMERAOBJECT_APERTURE_PRESET_CUSTOM Custom(mm)
PH_CAMERAOBJECT_APERTURE_PRESET_8 8mm(4.8mm)
PH_CAMERAOBJECT_APERTURE_PRESET_16 16mm(9.6mm)
PH_CAMERAOBJECT_APERTURE_PRESET_35MOVIE 35mmMovie(22.0mm)
PH_CAMERAOBJECT_APERTURE_PRESET_35STILL 35mmPhoto(36.0mm)
PH_CAMERAOBJECT_APERTURE_PRESET_70 70mm(52.5mm)
PH_CAMERAOBJECT_FOV FieldofView(Horizontal) REAL
ANIM OFF
MIN 0.2
MAX 174.0
UNIT DEGREE
PH_CAMERAOBJECT_FOV_VERTICAL FieldofView(Vertical) REAL
ANIM OFF
MIN 0.2
MAX 174.0
UNIT DEGREE
PH_KEEP_BACKGROUND_RECON_WHEN_TRACK_2D_CHANGES LockSolvedData BOOL ANIM
PH_3D_RECON_HIERARCHICAL_SOLVE_ALL_STAGES Run3DSolver BUTTON SCALE_H
PH_3D_RECON_NULLOBJECT_DISPLAY_MODE 3DFeatureDisplay LONG ANIM
PH_3D_RECON_NULLOBJECT_DISPLAY_NONE None
PH_3D_RECON_NULLOBJECT_DISPLAY_DOT Dot
PH_3D_RECON_NULLOBJECT_DISPLAY_POINT Locator
PH_3D_RECON_NULLOBJECT_DISPLAY_CIRCLE Circle
PH_3D_RECON_NULLOBJECT_DISPLAY_RECTANGLE Rectangle
PH_3D_RECON_NULLOBJECT_DISPLAY_DIAMOND Diamond
PH_3D_RECON_NULLOBJECT_DISPLAY_TRIANGLE Triangle
PH_3D_RECON_NULLOBJECT_DISPLAY_PENTAGON Pentagon
PH_3D_RECON_NULLOBJECT_DISPLAY_HEXAGON Hexagon
PH_3D_RECON_NULLOBJECT_DISPLAY_OCTAGON Octagon
PH_3D_RECON_NULLOBJECT_DISPLAY_STAR Star
PH_3D_RECON_NULLOBJECT_DISPLAY_AXIS Axis
PH_3D_RECON_NULLOBJECT_DISPLAY_CUBE Cube
PH_3D_RECON_NULLOBJECT_DISPLAY_PYRAMID Pyramid
PH_3D_RECON_NULLOBJECT_DISPLAY_SPHERE Sphere
PH_3D_RECON_NULLOBJECT_RADIUS Radius REAL
ANIM OFF
UNIT METER
MIN 0.0
PH_SR_PRESET_MODE Preset LONG ANIM
PH_SR_PRESET_MODE_PREVIEW Preview
PH_SR_PRESET_MODE_MEDIUM MediumQuality
PH_SR_PRESET_MODE_HIGH HighQuality
PH_SR_PRESET_MODE_CUSTOM Custom
PH_SR_NUM_EXPAND_FILTER_PASSES Iterations LONG
ANIM OFF
MIN 1
MAX 3
PH_SR_SUBSAMPLING_LEVEL FootageSubsampling LONG
ANIM OFF
MIN 0
MAX 8
PH_SR_POINT_DENSITY PointDensity LONG
ANIM OFF
MIN 1
MAX 8
PH_SR_PATCH_SIZE_PIX PatchSize LONG
ANIM OFF
MIN 3
PH_SR_TEXTURE_DETAIL_THRESHOLD MinTextureDetail REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
PH_SR_RUN_FILTER_GROUPS_DBG FilterSmallGroups BOOL ANIM
PH_SR_MIN_BASELINE_ANGLE MinAngle REAL
ANIM OFF
UNIT DEGREE
MIN 0.0
MAX 180.0
PH_SR_OVERALL_AREA_WEIGHT AreaWeight REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
PH_SR_OVERALL_PHOTOMETRIC_WEIGHT PhotometricWeight REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
PH_SR_EXPORT_PARTIAL_SOLVES_DBG ExportPartialSolves BOOL ANIM
PH_SR_SUBSAMPLING_LEVEL FootageSubsampling LONG
ANIM OFF
MIN 0
PH_SR_CELL_SIZE_PIX CellSize LONG
ANIM OFF
MIN 1
MAX 8
PH_SR_NCC_THRESH QualityThreshold REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
PH_SR_MIN_NUM_SUPPORT_IMAGES MinImageSetSize LONG
ANIM OFF
MIN 2
PH_SR_MAX_FRAME_OFFSET MaxFrameRange LONG ANIM
PH_SR_MAX_BASELINE_ANGLE MaxAngle REAL
ANIM OFF
UNIT DEGREE
MIN 0.0
PH_SR_TEXTURE_DETAIL_THRESHOLD MinTextureDetail REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
PH_SR_STRICT_COMPAT_MODE_DBG StrictCompatibilityMode BOOL ANIM
PH_SR_RUN_EXPANSION_DBG RunExpansionPhase BOOL ANIM
PH_SR_RUN_FILTER_OUTER_DBG FilterOuter BOOL ANIM
PH_SR_RUN_FILTER_VISIBILITY_DBG FilterVisibility BOOL ANIM
PH_SR_RUN_FILTER_SURFACE_DBG FilterSurface BOOL ANIM
PH_SR_OVERALL_RAY_WEIGHT RayWeight REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
PH_SR_RUN_SCENE_RECONSTRUCTION GeneratePointCloud BUTTON SCALE_H
PH_SR_UPDATE_SCENE_MESHING GenerateMesh BUTTON SCALE_H
PH_DEBUG_3D_SOLVE_WITHOUT_DEFFERED SolvewithoutDeferred BUTTON  
PH_3D_RECON_SOLVE_DEFERRED SolveDeferred BUTTON  
PH_OBJECT_SOLVE RunObjectTrackSolver BUTTON  
PH_SELECTED_TRACK_DATA_DUMP_CURR_FRAME DumpSel2DTrackCurrFrame BUTTON  
PH_DEBUG_BUTTON_10 ForceRe-export BUTTON  
PH_DEBUG_BUTTON_11 CancelTask BUTTON  
PH_DEBUG_BUTTON_7 Resettracking BUTTON  
PH_DEBUG_BUTTON_15 LONG ANIM
PH_DEBUG_BUTTON_14 ExportPartialRecontoScene BUTTON  
PH_DEBUG_SAVE_PARTIAL_RECONSTRUCTIONS SavePartialReconstructions BUTTON  
PH_DEBUG_LOAD_PARTIAL_RECONSTRUCTIONS LoadPartialReconstructions BUTTON  
PH_DEBUG_BUTTON_17 PatchExportTest BUTTON  
PH_DEBUG_BUTTON_19 SDKTest BUTTON  
PH_DEBUG_BUTTON_18 Cloneselectedtracks BUTTON  
PH_DEBUG_BUTTON_16 Discardtrackdataforselected BUTTON  

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.Omotiontracker)
    doc.InsertObject(obj)
    c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
    
    #You can set parameters two different ways. 
    #First way              
    obj[c4d.PH_FOOTAGE_FILENAME] = "c:\\SomeFile.txt"
    obj[c4d.PH_LENS_PROFILE_FILENAME] = "c:\\SomeFile.txt"
    obj[c4d.PH_FOOTAGE_DOWNSAMPLING_FACTOR] = 0.1
    obj[c4d.PH_RDATA_FILMASPECT] = 0.1
    obj[c4d.PH_RDATA_FILMPRESET] = c4d.PH_RDATA_FILMPRESET_CUSTOM
    obj[c4d.PH_FOOTAGE_TRACK_FRAME_START] = 1
    obj[c4d.PH_FOOTAGE_TRACK_FRAME_STOP] = 1
    obj[c4d.PH_FOOTAGE_VIEW_SCALE] = 0.1
    obj[c4d.PH_FOOTAGE_VIEW_OFFSET_X] = 0.1
    obj[c4d.PH_FOOTAGE_VIEW_OFFSET_Y] = 0.1
    obj[c4d.PH_FOOTAGE_OFFSET_TRACKS_SELECTED] = True
    obj[c4d.PH_FOOTAGE_BRIGHTNESS] = 0.1
    obj[c4d.PH_FOOTAGE_SHOW_IMAGE] = True
    obj[c4d.PH_2D_TRACK_SUBTAB_MODE] = c4d.PH_SUBTAB_2D_TRACK_AUTO
    obj[c4d.PH_2D_TRACK_USER_AUTOKEYING] = True
    obj[c4d.PH_2D_TRACK_USER_AUTOKEYING_MODE] = 1
    obj[c4d.PH_2D_TRACK_USER_AUTOKEYING_ERROR_THRESHOLD] = 0.1
    obj[c4d.PH_2D_TRACK_USER_AUTOKEYING_INTERVAL] = 1
    obj[c4d.PH_2D_TRACK_COLOR_MIX_PRESET] = 1
    obj[c4d.PH_2D_TRACK_USER_redWeightActive] = 0.1
    obj[c4d.PH_2D_TRACK_USER_greenWeightActive] = 0.1
    obj[c4d.PH_2D_TRACK_USER_blueWeightActive] = 0.1
    obj[c4d.PH_2D_TRACK_numFeatsTargetFullFrame] = 1
    obj[c4d.PH_2D_TRACK_minSpacing] = 1
    obj[c4d.PH_2D_TRACK_autoReplaceLostFeatures] = True
    obj[c4d.PH_2D_TRACK_FILTER_minTrackLen_Active] = True
    obj[c4d.PH_2D_TRACK_FILTER_minTrackLen] = 1
    obj[c4d.PH_2D_TRACK_FILTER_maxAccel_Active] = True
    obj[c4d.PH_2D_TRACK_FILTER_maxAccel] = 0.1
    obj[c4d.PH_2D_TRACK_FILTER_maxError_Active] = True
    obj[c4d.PH_2D_TRACK_FILTER_maxError] = 0.1
    obj[c4d.PH_2D_TRACK_FILTER_smartAccel_Active] = True
    obj[c4d.PH_2D_TRACK_FILTER_smartAccel] = 0.1
    obj[c4d.PH_2D_TRACK_featSizeDefault] = 1
    obj[c4d.PH_2D_TRACK_trackWindowSizeDefault] = 1
    obj[c4d.PH_2D_TRACK_circularFeatsDefault] = c4d.PH_2D_TRACK_SQUARE_FEATURE
    obj[c4d.PH_2D_TRACK_DISP_FEAT_MODE] = c4d.PH_2D_TRACK_dispFeat_showFeat
    obj[c4d.PH_SHOW_TRACKER_VIEW_OF_FOOTAGE_MODE] = 1
    obj[c4d.PH_2D_TRACK_showFeatSize] = True
    obj[c4d.PH_2D_TRACK_showTrackWindowSize] = True
    obj[c4d.PH_2D_TRACK_showMagnifierOnDrag] = True
    obj[c4d.PH_2D_TRACK_USER_redWeightDefault] = 0.1
    obj[c4d.PH_2D_TRACK_USER_greenWeightDefault] = 0.1
    obj[c4d.PH_2D_TRACK_USER_blueWeightDefault] = 0.1
    obj[c4d.PH_2D_TRACK_useExtrapolated2dTracking] = True
    obj[c4d.PH_USE_VIRTUAL_OBJECT_PREFIX_FOR_TRACK_TREEVIEW] = True
    obj[c4d.PH_3D_RECON_SUBTAB_MODE] = c4d.PH_SUBTAB_3D_RECON_RECON
    obj[c4d.PH_SOLVE_MODE] = c4d.PH_SOLVE_MODE_FULL_3D
    obj[c4d.PH_FOCAL_SOLVE_MODE] = c4d.PH_FOCAL_MODE_UNKNOWN_VARIABLE
    obj[c4d.PH_FOCAL_KNOWN_FIXED] = 0.1
    obj[c4d.PH_CAMERAOBJECT_FOCUS_PRESET] = c4d.PH_CAMERAOBJECT_FOCUS_PRESET_CUSTOM
    obj[c4d.PH_APERTURE_KNOWN_FIXED] = 0.1
    obj[c4d.PH_CAMERAOBJECT_APERTURE_PRESET] = c4d.PH_CAMERAOBJECT_APERTURE_PRESET_CUSTOM
    obj[c4d.PH_CAMERAOBJECT_FOV] = 0.1
    obj[c4d.PH_CAMERAOBJECT_FOV_VERTICAL] = 0.1
    obj[c4d.PH_KEEP_BACKGROUND_RECON_WHEN_TRACK_2D_CHANGES] = True
    obj[c4d.PH_3D_RECON_NULLOBJECT_DISPLAY_MODE] = c4d.PH_3D_RECON_NULLOBJECT_DISPLAY_NONE
    obj[c4d.PH_3D_RECON_NULLOBJECT_RADIUS] = 0.1
    obj[c4d.PH_SR_PRESET_MODE] = c4d.PH_SR_PRESET_MODE_PREVIEW
    obj[c4d.PH_SR_NUM_EXPAND_FILTER_PASSES] = 1
    obj[c4d.PH_SR_SUBSAMPLING_LEVEL] = 1
    obj[c4d.PH_SR_POINT_DENSITY] = 1
    obj[c4d.PH_SR_PATCH_SIZE_PIX] = 1
    obj[c4d.PH_SR_TEXTURE_DETAIL_THRESHOLD] = 0.1
    obj[c4d.PH_SR_RUN_FILTER_GROUPS_DBG] = True
    obj[c4d.PH_SR_MIN_BASELINE_ANGLE] = 0.1
    obj[c4d.PH_SR_OVERALL_AREA_WEIGHT] = 0.1
    obj[c4d.PH_SR_OVERALL_PHOTOMETRIC_WEIGHT] = 0.1
    obj[c4d.PH_SR_EXPORT_PARTIAL_SOLVES_DBG] = True
    obj[c4d.PH_SR_SUBSAMPLING_LEVEL] = 1
    obj[c4d.PH_SR_CELL_SIZE_PIX] = 1
    obj[c4d.PH_SR_NCC_THRESH] = 0.1
    obj[c4d.PH_SR_MIN_NUM_SUPPORT_IMAGES] = 1
    obj[c4d.PH_SR_MAX_FRAME_OFFSET] = 1
    obj[c4d.PH_SR_MAX_BASELINE_ANGLE] = 0.1
    obj[c4d.PH_SR_TEXTURE_DETAIL_THRESHOLD] = 0.1
    obj[c4d.PH_SR_STRICT_COMPAT_MODE_DBG] = True
    obj[c4d.PH_SR_RUN_EXPANSION_DBG] = True
    obj[c4d.PH_SR_RUN_FILTER_OUTER_DBG] = True
    obj[c4d.PH_SR_RUN_FILTER_VISIBILITY_DBG] = True
    obj[c4d.PH_SR_RUN_FILTER_SURFACE_DBG] = True
    obj[c4d.PH_SR_OVERALL_RAY_WEIGHT] = 0.1
    obj[c4d.PH_DEBUG_BUTTON_15] = 1
    
    #Second way, using the base container.
    bc = obj.GetDataInstance()
    bc.SetFileName(c4d.PH_FOOTAGE_FILENAME,"c:\\SomeFile.txt")
    bc.SetFileName(c4d.PH_LENS_PROFILE_FILENAME,"c:\\SomeFile.txt")
    bc.SetFloat(c4d.PH_FOOTAGE_DOWNSAMPLING_FACTOR,0.1)
    bc.SetFloat(c4d.PH_RDATA_FILMASPECT,0.1)
    bc.SetInt32(c4d.PH_RDATA_FILMPRESET,c4d.PH_RDATA_FILMPRESET_CUSTOM)
    bc.SetInt32(c4d.PH_FOOTAGE_TRACK_FRAME_START,1)
    bc.SetInt32(c4d.PH_FOOTAGE_TRACK_FRAME_STOP,1)
    bc.SetFloat(c4d.PH_FOOTAGE_VIEW_SCALE,0.1)
    bc.SetFloat(c4d.PH_FOOTAGE_VIEW_OFFSET_X,0.1)
    bc.SetFloat(c4d.PH_FOOTAGE_VIEW_OFFSET_Y,0.1)
    bc.SetBool(c4d.PH_FOOTAGE_OFFSET_TRACKS_SELECTED,True)
    bc.SetFloat(c4d.PH_FOOTAGE_BRIGHTNESS,0.1)
    bc.SetBool(c4d.PH_FOOTAGE_SHOW_IMAGE,True)
    bc.SetInt32(c4d.PH_2D_TRACK_SUBTAB_MODE,c4d.PH_SUBTAB_2D_TRACK_AUTO)
    bc.SetBool(c4d.PH_2D_TRACK_USER_AUTOKEYING,True)
    bc.SetInt32(c4d.PH_2D_TRACK_USER_AUTOKEYING_MODE,1)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_AUTOKEYING_ERROR_THRESHOLD,0.1)
    bc.SetInt32(c4d.PH_2D_TRACK_USER_AUTOKEYING_INTERVAL,1)
    bc.SetInt32(c4d.PH_2D_TRACK_COLOR_MIX_PRESET,1)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_redWeightActive,0.1)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_greenWeightActive,0.1)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_blueWeightActive,0.1)
    bc.SetInt32(c4d.PH_2D_TRACK_numFeatsTargetFullFrame,1)
    bc.SetInt32(c4d.PH_2D_TRACK_minSpacing,1)
    bc.SetBool(c4d.PH_2D_TRACK_autoReplaceLostFeatures,True)
    bc.SetBool(c4d.PH_2D_TRACK_FILTER_minTrackLen_Active,True)
    bc.SetInt32(c4d.PH_2D_TRACK_FILTER_minTrackLen,1)
    bc.SetBool(c4d.PH_2D_TRACK_FILTER_maxAccel_Active,True)
    bc.SetFloat(c4d.PH_2D_TRACK_FILTER_maxAccel,0.1)
    bc.SetBool(c4d.PH_2D_TRACK_FILTER_maxError_Active,True)
    bc.SetFloat(c4d.PH_2D_TRACK_FILTER_maxError,0.1)
    bc.SetBool(c4d.PH_2D_TRACK_FILTER_smartAccel_Active,True)
    bc.SetFloat(c4d.PH_2D_TRACK_FILTER_smartAccel,0.1)
    bc.SetInt32(c4d.PH_2D_TRACK_featSizeDefault,1)
    bc.SetInt32(c4d.PH_2D_TRACK_trackWindowSizeDefault,1)
    bc.SetInt32(c4d.PH_2D_TRACK_circularFeatsDefault,c4d.PH_2D_TRACK_SQUARE_FEATURE)
    bc.SetInt32(c4d.PH_2D_TRACK_DISP_FEAT_MODE,c4d.PH_2D_TRACK_dispFeat_showFeat)
    bc.SetInt32(c4d.PH_SHOW_TRACKER_VIEW_OF_FOOTAGE_MODE,1)
    bc.SetBool(c4d.PH_2D_TRACK_showFeatSize,True)
    bc.SetBool(c4d.PH_2D_TRACK_showTrackWindowSize,True)
    bc.SetBool(c4d.PH_2D_TRACK_showMagnifierOnDrag,True)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_redWeightDefault,0.1)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_greenWeightDefault,0.1)
    bc.SetFloat(c4d.PH_2D_TRACK_USER_blueWeightDefault,0.1)
    bc.SetBool(c4d.PH_2D_TRACK_useExtrapolated2dTracking,True)
    bc.SetBool(c4d.PH_USE_VIRTUAL_OBJECT_PREFIX_FOR_TRACK_TREEVIEW,True)
    bc.SetInt32(c4d.PH_3D_RECON_SUBTAB_MODE,c4d.PH_SUBTAB_3D_RECON_RECON)
    bc.SetInt32(c4d.PH_SOLVE_MODE,c4d.PH_SOLVE_MODE_FULL_3D)
    bc.SetInt32(c4d.PH_FOCAL_SOLVE_MODE,c4d.PH_FOCAL_MODE_UNKNOWN_VARIABLE)
    bc.SetFloat(c4d.PH_FOCAL_KNOWN_FIXED,0.1)
    bc.SetInt32(c4d.PH_CAMERAOBJECT_FOCUS_PRESET,c4d.PH_CAMERAOBJECT_FOCUS_PRESET_CUSTOM)
    bc.SetFloat(c4d.PH_APERTURE_KNOWN_FIXED,0.1)
    bc.SetInt32(c4d.PH_CAMERAOBJECT_APERTURE_PRESET,c4d.PH_CAMERAOBJECT_APERTURE_PRESET_CUSTOM)
    bc.SetFloat(c4d.PH_CAMERAOBJECT_FOV,0.1)
    bc.SetFloat(c4d.PH_CAMERAOBJECT_FOV_VERTICAL,0.1)
    bc.SetBool(c4d.PH_KEEP_BACKGROUND_RECON_WHEN_TRACK_2D_CHANGES,True)
    bc.SetInt32(c4d.PH_3D_RECON_NULLOBJECT_DISPLAY_MODE,c4d.PH_3D_RECON_NULLOBJECT_DISPLAY_NONE)
    bc.SetFloat(c4d.PH_3D_RECON_NULLOBJECT_RADIUS,0.1)
    bc.SetInt32(c4d.PH_SR_PRESET_MODE,c4d.PH_SR_PRESET_MODE_PREVIEW)
    bc.SetInt32(c4d.PH_SR_NUM_EXPAND_FILTER_PASSES,1)
    bc.SetInt32(c4d.PH_SR_SUBSAMPLING_LEVEL,1)
    bc.SetInt32(c4d.PH_SR_POINT_DENSITY,1)
    bc.SetInt32(c4d.PH_SR_PATCH_SIZE_PIX,1)
    bc.SetFloat(c4d.PH_SR_TEXTURE_DETAIL_THRESHOLD,0.1)
    bc.SetBool(c4d.PH_SR_RUN_FILTER_GROUPS_DBG,True)
    bc.SetFloat(c4d.PH_SR_MIN_BASELINE_ANGLE,0.1)
    bc.SetFloat(c4d.PH_SR_OVERALL_AREA_WEIGHT,0.1)
    bc.SetFloat(c4d.PH_SR_OVERALL_PHOTOMETRIC_WEIGHT,0.1)
    bc.SetBool(c4d.PH_SR_EXPORT_PARTIAL_SOLVES_DBG,True)
    bc.SetInt32(c4d.PH_SR_SUBSAMPLING_LEVEL,1)
    bc.SetInt32(c4d.PH_SR_CELL_SIZE_PIX,1)
    bc.SetFloat(c4d.PH_SR_NCC_THRESH,0.1)
    bc.SetInt32(c4d.PH_SR_MIN_NUM_SUPPORT_IMAGES,1)
    bc.SetInt32(c4d.PH_SR_MAX_FRAME_OFFSET,1)
    bc.SetFloat(c4d.PH_SR_MAX_BASELINE_ANGLE,0.1)
    bc.SetFloat(c4d.PH_SR_TEXTURE_DETAIL_THRESHOLD,0.1)
    bc.SetBool(c4d.PH_SR_STRICT_COMPAT_MODE_DBG,True)
    bc.SetBool(c4d.PH_SR_RUN_EXPANSION_DBG,True)
    bc.SetBool(c4d.PH_SR_RUN_FILTER_OUTER_DBG,True)
    bc.SetBool(c4d.PH_SR_RUN_FILTER_VISIBILITY_DBG,True)
    bc.SetBool(c4d.PH_SR_RUN_FILTER_SURFACE_DBG,True)
    bc.SetFloat(c4d.PH_SR_OVERALL_RAY_WEIGHT,0.1)
    bc.SetInt32(c4d.PH_DEBUG_BUTTON_15,1)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../motiontracker/description/omotiontracker.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseObject *pObject = BaseObject::Alloc(Omotiontracker);
    pDoc->InsertObject(pObject);
    pDoc->StartUndo();
    pDoc->AddUndo(UNDO_NEW,pObject);
    pDoc->EndUndo();
    EventAdd(EVENT_FORCEREDRAW);
    
    //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;
    pObject->SetParameter(DescID(PH_FOOTAGE_FILENAME),GeData(Filename("c:\\SomeFile.txt"),flags);
    pObject->SetParameter(DescID(PH_LENS_PROFILE_FILENAME),GeData(Filename("c:\\SomeFile.txt"),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_DOWNSAMPLING_FACTOR),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_RDATA_FILMASPECT),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_RDATA_FILMPRESET),GeData(PH_RDATA_FILMPRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_TRACK_FRAME_START),GeData(1),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_TRACK_FRAME_STOP),GeData(1),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_VIEW_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_VIEW_OFFSET_X),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_VIEW_OFFSET_Y),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_OFFSET_TRACKS_SELECTED),GeData(true),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_BRIGHTNESS),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_FOOTAGE_SHOW_IMAGE),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_SUBTAB_MODE),GeData(PH_SUBTAB_2D_TRACK_AUTO),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_AUTOKEYING),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_AUTOKEYING_MODE),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_AUTOKEYING_ERROR_THRESHOLD),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_AUTOKEYING_INTERVAL),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_COLOR_MIX_PRESET),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_redWeightActive),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_greenWeightActive),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_blueWeightActive),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_numFeatsTargetFullFrame),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_minSpacing),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_autoReplaceLostFeatures),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_minTrackLen_Active),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_minTrackLen),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_maxAccel_Active),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_maxAccel),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_maxError_Active),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_maxError),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_smartAccel_Active),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_FILTER_smartAccel),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_featSizeDefault),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_trackWindowSizeDefault),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_circularFeatsDefault),GeData(PH_2D_TRACK_SQUARE_FEATURE),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_DISP_FEAT_MODE),GeData(PH_2D_TRACK_dispFeat_showFeat),flags);
    pObject->SetParameter(DescID(PH_SHOW_TRACKER_VIEW_OF_FOOTAGE_MODE),GeData(1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_showFeatSize),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_showTrackWindowSize),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_showMagnifierOnDrag),GeData(true),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_redWeightDefault),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_greenWeightDefault),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_USER_blueWeightDefault),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_2D_TRACK_useExtrapolated2dTracking),GeData(true),flags);
    pObject->SetParameter(DescID(PH_USE_VIRTUAL_OBJECT_PREFIX_FOR_TRACK_TREEVIEW),GeData(true),flags);
    pObject->SetParameter(DescID(PH_3D_RECON_SUBTAB_MODE),GeData(PH_SUBTAB_3D_RECON_RECON),flags);
    pObject->SetParameter(DescID(PH_SOLVE_MODE),GeData(PH_SOLVE_MODE_FULL_3D),flags);
    pObject->SetParameter(DescID(PH_FOCAL_SOLVE_MODE),GeData(PH_FOCAL_MODE_UNKNOWN_VARIABLE),flags);
    pObject->SetParameter(DescID(PH_FOCAL_KNOWN_FIXED),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_CAMERAOBJECT_FOCUS_PRESET),GeData(PH_CAMERAOBJECT_FOCUS_PRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(PH_APERTURE_KNOWN_FIXED),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_CAMERAOBJECT_APERTURE_PRESET),GeData(PH_CAMERAOBJECT_APERTURE_PRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(PH_CAMERAOBJECT_FOV),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_CAMERAOBJECT_FOV_VERTICAL),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_KEEP_BACKGROUND_RECON_WHEN_TRACK_2D_CHANGES),GeData(true),flags);
    pObject->SetParameter(DescID(PH_3D_RECON_NULLOBJECT_DISPLAY_MODE),GeData(PH_3D_RECON_NULLOBJECT_DISPLAY_NONE),flags);
    pObject->SetParameter(DescID(PH_3D_RECON_NULLOBJECT_RADIUS),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_PRESET_MODE),GeData(PH_SR_PRESET_MODE_PREVIEW),flags);
    pObject->SetParameter(DescID(PH_SR_NUM_EXPAND_FILTER_PASSES),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_SUBSAMPLING_LEVEL),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_POINT_DENSITY),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_PATCH_SIZE_PIX),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_TEXTURE_DETAIL_THRESHOLD),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_RUN_FILTER_GROUPS_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_MIN_BASELINE_ANGLE),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_OVERALL_AREA_WEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_OVERALL_PHOTOMETRIC_WEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_EXPORT_PARTIAL_SOLVES_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_SUBSAMPLING_LEVEL),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_CELL_SIZE_PIX),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_NCC_THRESH),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_MIN_NUM_SUPPORT_IMAGES),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_MAX_FRAME_OFFSET),GeData(1),flags);
    pObject->SetParameter(DescID(PH_SR_MAX_BASELINE_ANGLE),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_TEXTURE_DETAIL_THRESHOLD),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_SR_STRICT_COMPAT_MODE_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_RUN_EXPANSION_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_RUN_FILTER_OUTER_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_RUN_FILTER_VISIBILITY_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_RUN_FILTER_SURFACE_DBG),GeData(true),flags);
    pObject->SetParameter(DescID(PH_SR_OVERALL_RAY_WEIGHT),GeData(0.1),flags);
    pObject->SetParameter(DescID(PH_DEBUG_BUTTON_15),GeData(1),flags);
    pObject->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pObject->GetDataInstance();
    bc->SetFileName(PH_FOOTAGE_FILENAME,"c:\\SomeFile.txt");
    bc->SetFileName(PH_LENS_PROFILE_FILENAME,"c:\\SomeFile.txt");
    bc->SetFloat(PH_FOOTAGE_DOWNSAMPLING_FACTOR,0.1);
    bc->SetFloat(PH_RDATA_FILMASPECT,0.1);
    bc->SetInt32(PH_RDATA_FILMPRESET,PH_RDATA_FILMPRESET_CUSTOM);
    bc->SetInt32(PH_FOOTAGE_TRACK_FRAME_START,1);
    bc->SetInt32(PH_FOOTAGE_TRACK_FRAME_STOP,1);
    bc->SetFloat(PH_FOOTAGE_VIEW_SCALE,0.1);
    bc->SetFloat(PH_FOOTAGE_VIEW_OFFSET_X,0.1);
    bc->SetFloat(PH_FOOTAGE_VIEW_OFFSET_Y,0.1);
    bc->SetBool(PH_FOOTAGE_OFFSET_TRACKS_SELECTED,true);
    bc->SetFloat(PH_FOOTAGE_BRIGHTNESS,0.1);
    bc->SetBool(PH_FOOTAGE_SHOW_IMAGE,true);
    bc->SetInt32(PH_2D_TRACK_SUBTAB_MODE,PH_SUBTAB_2D_TRACK_AUTO);
    bc->SetBool(PH_2D_TRACK_USER_AUTOKEYING,true);
    bc->SetInt32(PH_2D_TRACK_USER_AUTOKEYING_MODE,1);
    bc->SetFloat(PH_2D_TRACK_USER_AUTOKEYING_ERROR_THRESHOLD,0.1);
    bc->SetInt32(PH_2D_TRACK_USER_AUTOKEYING_INTERVAL,1);
    bc->SetInt32(PH_2D_TRACK_COLOR_MIX_PRESET,1);
    bc->SetFloat(PH_2D_TRACK_USER_redWeightActive,0.1);
    bc->SetFloat(PH_2D_TRACK_USER_greenWeightActive,0.1);
    bc->SetFloat(PH_2D_TRACK_USER_blueWeightActive,0.1);
    bc->SetInt32(PH_2D_TRACK_numFeatsTargetFullFrame,1);
    bc->SetInt32(PH_2D_TRACK_minSpacing,1);
    bc->SetBool(PH_2D_TRACK_autoReplaceLostFeatures,true);
    bc->SetBool(PH_2D_TRACK_FILTER_minTrackLen_Active,true);
    bc->SetInt32(PH_2D_TRACK_FILTER_minTrackLen,1);
    bc->SetBool(PH_2D_TRACK_FILTER_maxAccel_Active,true);
    bc->SetFloat(PH_2D_TRACK_FILTER_maxAccel,0.1);
    bc->SetBool(PH_2D_TRACK_FILTER_maxError_Active,true);
    bc->SetFloat(PH_2D_TRACK_FILTER_maxError,0.1);
    bc->SetBool(PH_2D_TRACK_FILTER_smartAccel_Active,true);
    bc->SetFloat(PH_2D_TRACK_FILTER_smartAccel,0.1);
    bc->SetInt32(PH_2D_TRACK_featSizeDefault,1);
    bc->SetInt32(PH_2D_TRACK_trackWindowSizeDefault,1);
    bc->SetInt32(PH_2D_TRACK_circularFeatsDefault,PH_2D_TRACK_SQUARE_FEATURE);
    bc->SetInt32(PH_2D_TRACK_DISP_FEAT_MODE,PH_2D_TRACK_dispFeat_showFeat);
    bc->SetInt32(PH_SHOW_TRACKER_VIEW_OF_FOOTAGE_MODE,1);
    bc->SetBool(PH_2D_TRACK_showFeatSize,true);
    bc->SetBool(PH_2D_TRACK_showTrackWindowSize,true);
    bc->SetBool(PH_2D_TRACK_showMagnifierOnDrag,true);
    bc->SetFloat(PH_2D_TRACK_USER_redWeightDefault,0.1);
    bc->SetFloat(PH_2D_TRACK_USER_greenWeightDefault,0.1);
    bc->SetFloat(PH_2D_TRACK_USER_blueWeightDefault,0.1);
    bc->SetBool(PH_2D_TRACK_useExtrapolated2dTracking,true);
    bc->SetBool(PH_USE_VIRTUAL_OBJECT_PREFIX_FOR_TRACK_TREEVIEW,true);
    bc->SetInt32(PH_3D_RECON_SUBTAB_MODE,PH_SUBTAB_3D_RECON_RECON);
    bc->SetInt32(PH_SOLVE_MODE,PH_SOLVE_MODE_FULL_3D);
    bc->SetInt32(PH_FOCAL_SOLVE_MODE,PH_FOCAL_MODE_UNKNOWN_VARIABLE);
    bc->SetFloat(PH_FOCAL_KNOWN_FIXED,0.1);
    bc->SetInt32(PH_CAMERAOBJECT_FOCUS_PRESET,PH_CAMERAOBJECT_FOCUS_PRESET_CUSTOM);
    bc->SetFloat(PH_APERTURE_KNOWN_FIXED,0.1);
    bc->SetInt32(PH_CAMERAOBJECT_APERTURE_PRESET,PH_CAMERAOBJECT_APERTURE_PRESET_CUSTOM);
    bc->SetFloat(PH_CAMERAOBJECT_FOV,0.1);
    bc->SetFloat(PH_CAMERAOBJECT_FOV_VERTICAL,0.1);
    bc->SetBool(PH_KEEP_BACKGROUND_RECON_WHEN_TRACK_2D_CHANGES,true);
    bc->SetInt32(PH_3D_RECON_NULLOBJECT_DISPLAY_MODE,PH_3D_RECON_NULLOBJECT_DISPLAY_NONE);
    bc->SetFloat(PH_3D_RECON_NULLOBJECT_RADIUS,0.1);
    bc->SetInt32(PH_SR_PRESET_MODE,PH_SR_PRESET_MODE_PREVIEW);
    bc->SetInt32(PH_SR_NUM_EXPAND_FILTER_PASSES,1);
    bc->SetInt32(PH_SR_SUBSAMPLING_LEVEL,1);
    bc->SetInt32(PH_SR_POINT_DENSITY,1);
    bc->SetInt32(PH_SR_PATCH_SIZE_PIX,1);
    bc->SetFloat(PH_SR_TEXTURE_DETAIL_THRESHOLD,0.1);
    bc->SetBool(PH_SR_RUN_FILTER_GROUPS_DBG,true);
    bc->SetFloat(PH_SR_MIN_BASELINE_ANGLE,0.1);
    bc->SetFloat(PH_SR_OVERALL_AREA_WEIGHT,0.1);
    bc->SetFloat(PH_SR_OVERALL_PHOTOMETRIC_WEIGHT,0.1);
    bc->SetBool(PH_SR_EXPORT_PARTIAL_SOLVES_DBG,true);
    bc->SetInt32(PH_SR_SUBSAMPLING_LEVEL,1);
    bc->SetInt32(PH_SR_CELL_SIZE_PIX,1);
    bc->SetFloat(PH_SR_NCC_THRESH,0.1);
    bc->SetInt32(PH_SR_MIN_NUM_SUPPORT_IMAGES,1);
    bc->SetInt32(PH_SR_MAX_FRAME_OFFSET,1);
    bc->SetFloat(PH_SR_MAX_BASELINE_ANGLE,0.1);
    bc->SetFloat(PH_SR_TEXTURE_DETAIL_THRESHOLD,0.1);
    bc->SetBool(PH_SR_STRICT_COMPAT_MODE_DBG,true);
    bc->SetBool(PH_SR_RUN_EXPANSION_DBG,true);
    bc->SetBool(PH_SR_RUN_FILTER_OUTER_DBG,true);
    bc->SetBool(PH_SR_RUN_FILTER_VISIBILITY_DBG,true);
    bc->SetBool(PH_SR_RUN_FILTER_SURFACE_DBG,true);
    bc->SetFloat(PH_SR_OVERALL_RAY_WEIGHT,0.1);
    bc->SetInt32(PH_DEBUG_BUTTON_15,1);
    pObject->Message(MSG_UPDATE);                                                      
}
             

Buttons

This node has buttons. Buttons can manually be executed by calling the following code

Python

c4d.CallButton(obj,c4d.PH_FOOTAGE_VIEW_FULL)
c4d.CallButton(obj,c4d.PH_FOOTAGE_MATCH_VIEW_WIDTH)
c4d.CallButton(obj,c4d.PH_FOOTAGE_MATCH_VIEW_HEIGHT)
c4d.CallButton(obj,c4d.PH_CREATE_BACKGROUND_OBJECT)
c4d.CallButton(obj,c4d.PH_2D_TRACK_MANUAL_TRACK_BACKWARD)
c4d.CallButton(obj,c4d.PH_2D_TRACK_MANUAL_TRACK)
c4d.CallButton(obj,c4d.PH_2D_TRACK_MANUAL_TRACK_FORWARD)
c4d.CallButton(obj,c4d.PH_2D_TRACK_AUTO_CREATE_MARKERS)
c4d.CallButton(obj,c4d.PH_2D_TRACK_AUTO_TRACK_BACKWARD)
c4d.CallButton(obj,c4d.PH_2D_TRACK_AUTO_TRACK)
c4d.CallButton(obj,c4d.PH_2D_TRACK_AUTO_TRACK_FORWARD)
c4d.CallButton(obj,c4d.PH_2D_TRACK_AUTO_RESET)
c4d.CallButton(obj,c4d.PH_3D_RECON_HIERARCHICAL_SOLVE_ALL_STAGES)
c4d.CallButton(obj,c4d.PH_SR_RUN_SCENE_RECONSTRUCTION)
c4d.CallButton(obj,c4d.PH_SR_UPDATE_SCENE_MESHING)
c4d.CallButton(obj,c4d.PH_DEBUG_3D_SOLVE_WITHOUT_DEFFERED)
c4d.CallButton(obj,c4d.PH_3D_RECON_SOLVE_DEFERRED)
c4d.CallButton(obj,c4d.PH_OBJECT_SOLVE)
c4d.CallButton(obj,c4d.PH_SELECTED_TRACK_DATA_DUMP_CURR_FRAME)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_10)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_11)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_7)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_14)
c4d.CallButton(obj,c4d.PH_DEBUG_SAVE_PARTIAL_RECONSTRUCTIONS)
c4d.CallButton(obj,c4d.PH_DEBUG_LOAD_PARTIAL_RECONSTRUCTIONS)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_17)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_19)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_18)
c4d.CallButton(obj,c4d.PH_DEBUG_BUTTON_16)

C++

DescriptionCommand dc;
dc.id = DescID(PH_FOOTAGE_VIEW_FULL);             
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);

DescriptionCommand dc; dc.id = DescID(PH_FOOTAGE_MATCH_VIEW_WIDTH); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_FOOTAGE_MATCH_VIEW_HEIGHT); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_CREATE_BACKGROUND_OBJECT); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_MANUAL_TRACK_BACKWARD); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_MANUAL_TRACK); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_MANUAL_TRACK_FORWARD); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_AUTO_CREATE_MARKERS); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_AUTO_TRACK_BACKWARD); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_AUTO_TRACK); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_AUTO_TRACK_FORWARD); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_2D_TRACK_AUTO_RESET); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_3D_RECON_HIERARCHICAL_SOLVE_ALL_STAGES); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_SR_RUN_SCENE_RECONSTRUCTION); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_SR_UPDATE_SCENE_MESHING); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_3D_SOLVE_WITHOUT_DEFFERED); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_3D_RECON_SOLVE_DEFERRED); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_OBJECT_SOLVE); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_SELECTED_TRACK_DATA_DUMP_CURR_FRAME); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_10); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_11); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_7); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_14); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_SAVE_PARTIAL_RECONSTRUCTIONS); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_LOAD_PARTIAL_RECONSTRUCTIONS); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_17); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_19); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_18); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(PH_DEBUG_BUTTON_16); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);