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 Ocamera

Ocamera

Attributes

  • ENGLISH NAME : CameraObject
  • NAME : Ocamera
  • INCLUDE : Obase
  • PATH : c4dplugin/description/ocamera.res
  • PLUGIN : c4dplugin
  • MAXON online help (may not exist): OCAMERA

Elements

ID UI Name Type Parameters Cycle
CAMERA_PROJECTION Projection LONG  
Pperspective Perspective
Pparallel Parallel
Pleft Left
Pright Right
Pfront Front
Pback Back
Ptop Top
Pbottom Bottom
Pmilitary Military
Pfrog Frog
Pbird Bird
Pgentleman Gentleman
Pisometric Isometric
Pdimetric Dimetric
CAMERA_FOCUS FocalLength REAL
MIN 1
MAX 10000
STEP 0.1
CAMERAOBJECT_FOCUS_PRESET LONG ANIM
CAMERAOBJECT_FOCUS_PRESET_CUSTOM Custom(mm)
CAMERAOBJECT_FOCUS_PRESET_WIDESUPER SuperWide(15mm)
CAMERAOBJECT_FOCUS_PRESET_WIDE WideAngle(25mm)
CAMERAOBJECT_FOCUS_PRESET_C4D Classic(36mm)
CAMERAOBJECT_FOCUS_PRESET_NORMAL NormalLens(50mm)
CAMERAOBJECT_FOCUS_PRESET_PORTRAIT Portrait(80mm)
CAMERAOBJECT_FOCUS_PRESET_TELE Tele(135mm)
CAMERAOBJECT_FOCUS_PRESET_TELESUPER SuperTele(300mm)
CAMERAOBJECT_APERTURE SensorSize(FilmGate) REAL
MIN 1.0
MAX 2000.0
STEP 0.1
CAMERAOBJECT_APERTURE_PRESET LONG ANIM
CAMERAOBJECT_APERTURE_PRESET_CUSTOM Custom(mm)
CAMERAOBJECT_APERTURE_PRESET_8 8mm(4.8mm)
CAMERAOBJECT_APERTURE_PRESET_16 16mm(9.6mm)
CAMERAOBJECT_APERTURE_PRESET_35MOVIE 35mmMovie(22.0mm)
CAMERAOBJECT_APERTURE_PRESET_35STILL 35mmPhoto(36.0mm)
CAMERAOBJECT_APERTURE_PRESET_70 70mm(52.5mm)
CAMERAOBJECT_FOV FieldofView(Horizontal) REAL
MIN 0.2
MAX 174.0
UNIT DEGREE
CAMERAOBJECT_FOV_VERTICAL FieldofView(Vertical) REAL
MIN 0.2
MAX 174.0
UNIT DEGREE
CAMERA_ZOOM Zoom REAL
MIN 0.0001
MAX 1000000.0
STEP 0.1
CAMERAOBJECT_FILM_OFFSET_X FilmOffsetX REAL UNIT
CAMERAOBJECT_FILM_OFFSET_Y FilmOffsetY REAL UNIT
CAMERAOBJECT_TARGETDISTANCE FocusDistance REAL
UNIT METER
MINEX
MIN 0.0
CAMERAOBJECT_TARGETDISTANCE_PICK BITMAPBUTTON  
CAMERAOBJECT_USETARGETOBJECT UseTargetObject BOOL  
CAMERAOBJECT_TARGETOBJECT FocusObject LINK FIT_H
CAMERAOBJECT_WHITE_BALANCE_TEMPERATURE WhiteBalance(K) REAL
MIN 1000.0
MAX 10000.0
STEP 10.0
CAMERAOBJECT_WHITE_BALANCE LONG ANIM
CAMERAOBJECT_WHITE_BALANCE_CUSTOM Custom
CAMERAOBJECT_WHITE_BALANCE_CANDLE Candle(2000K)
CAMERAOBJECT_WHITE_BALANCE_TUNGSTEN Tungsten(3000K)
CAMERAOBJECT_WHITE_BALANCE_FLUORESCENT Fluorescent(4500K)
CAMERAOBJECT_WHITE_BALANCE_FLASH Flash(5500K)
CAMERAOBJECT_WHITE_BALANCE_DAYLIGHT Daylight(6500K)
CAMERAOBJECT_WHITE_BALANCE_OVERCAST Overcast(7500K)
CAMERAOBJECT_WHITE_BALANCE_SHADE Shade(9000K)
CAMERAOBJECT_WHITE_BALANCE_LIGHTS_ONLY AffectLightsOnly BOOL  
CAMERAOBJECT_AFX ExporttoCompositing BOOL  
CAMERAOBJECT_MOVIECAMERA MovieCamera BOOL  
CAMERAOBJECT_FNUMBER_VALUE F-Stop(f/#) REAL
MIN 0.01
MAX 256.0
STEP 0.1
CAMERAOBJECT_FNUMBER LONG ANIM
CAMERAOBJECT_FNUMBER_CUSTOM Custom
CAMERAOBJECT_FNUMBER_10 f/1.0
CAMERAOBJECT_FNUMBER_11 f/1.1
CAMERAOBJECT_FNUMBER_12 f/1.2
CAMERAOBJECT_FNUMBER_14 f/1.4
CAMERAOBJECT_FNUMBER_16 f/1.6
CAMERAOBJECT_FNUMBER_18 f/1.8
CAMERAOBJECT_FNUMBER_20 f/2.0
CAMERAOBJECT_FNUMBER_22 f/2.2
CAMERAOBJECT_FNUMBER_25 f/2.5
CAMERAOBJECT_FNUMBER_28 f/2.8
CAMERAOBJECT_FNUMBER_32 f/3.2
CAMERAOBJECT_FNUMBER_35 f/3.5
CAMERAOBJECT_FNUMBER_40 f/4.0
CAMERAOBJECT_FNUMBER_45 f/4.5
CAMERAOBJECT_FNUMBER_50 f/5.0
CAMERAOBJECT_FNUMBER_56 f/5.6
CAMERAOBJECT_FNUMBER_63 f/6.3
CAMERAOBJECT_FNUMBER_71 f/7.1
CAMERAOBJECT_FNUMBER_80 f/8.0
CAMERAOBJECT_FNUMBER_90 f/9.0
CAMERAOBJECT_FNUMBER_100 f/10.0
CAMERAOBJECT_FNUMBER_110 f/11.0
CAMERAOBJECT_FNUMBER_130 f/13.0
CAMERAOBJECT_FNUMBER_140 f/14.0
CAMERAOBJECT_FNUMBER_160 f/16.0
CAMERAOBJECT_FNUMBER_180 f/18.0
CAMERAOBJECT_FNUMBER_200 f/20.0
CAMERAOBJECT_FNUMBER_220 f/22.0
CAMERAOBJECT_EXPOSURE Exposure BOOL  
CAMERAOBJECT_ISO_VALUE ISO REAL
MIN 10.0
MAX 10000.0
STEP 10.0
CAMERAOBJECT_ISO_PRESET LONG ANIM
CAMERAOBJECT_ISO_PRESET_CUSTOM Custom
CAMERAOBJECT_ISO_PRESET_50 50
CAMERAOBJECT_ISO_PRESET_100 100
CAMERAOBJECT_ISO_PRESET_200 200
CAMERAOBJECT_ISO_PRESET_400 400
CAMERAOBJECT_ISO_PRESET_800 800
CAMERAOBJECT_ISO_PRESET_1600 1600
CAMERAOBJECT_ISO_PRESET_3200 3200
CAMERAOBJECT_ISO_PRESET_6400 6400
CAMERAOBJECT_GAIN_VALUE Gain(dB) REAL
MIN -100.0
MAX 100.0
STEP 1.0
CAMERAOBJECT_SHUTTER_SPEED_VALUE ShutterSpeed(s) REAL
MIN 0.0001
MAX 100.0
STEP 0.001
CAMERAOBJECT_SHUTTER_SPEED_PRESET LONG ANIM
CAMERAOBJECT_SHUTTER_SPEED_PRESET_CUSTOM Custom
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_1000 1/1000s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_500 1/500s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_250 1/250s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_125 1/125s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_60 1/60s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_30 1/30s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_15 1/15s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_8 1/8s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_4 1/4s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_2 1/2s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_1_1 1s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_2_1 2s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_4_1 4s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_8_1 8s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_15_1 15s
CAMERAOBJECT_SHUTTER_SPEED_PRESET_30_1 30s
CAMERAOBJECT_SHUTTER_ANGLE ShutterAngle REAL
MIN 10.0
MAX 1080.0
STEP 1.0
UNIT DEGREE
CAMERAOBJECT_SHUTTER_OFFSET ShutterOffset REAL
MIN 0.0
MAX 360.0
STEP 1.0
UNIT DEGREE
CAMERAOBJECT_SHUTTER_EFFICIENCY ShutterEfficiency REAL
MIN 0.0
MAX 100.0
STEP 1.0
UNIT PERCENT
CAMERAOBJECT_LENS_DISTORTION_QUAD LensDistortion-Quadratic REAL
MIN -100.0
MAX 100.0
STEP 0.1
UNIT PERCENT
CAMERAOBJECT_LENS_DISTORTION_CUBIC LensDistortion-Cubic REAL
MIN -100.0
MAX 100.0
STEP 0.1
UNIT PERCENT
CAMERAOBJECT_VIGNETTING_INTENSITY VignettingIntensity REAL
MIN 0.0
MAX 500.0
STEP 0.1
UNIT PERCENT
CAMERAOBJECT_VIGNETTING_OFFSET VignettingOffset REAL
MIN 0.0
MAX 100.0
STEP 0.1
UNIT PERCENT
CAMERAOBJECT_CHROMATIC_ABERRATION_STRENGTH ChromaticAberration REAL
MIN -1000.0
MAX 1000.0
STEP 0.1
UNIT PERCENT
CAMERAOBJECT_APERTURE_SHAPE DiaphragmShape BOOL PARENTCOLLAPSE
CAMERAOBJECT_APERTURE_BLADES Blades LONG
PARENTCOLLAPSE CAMERAOBJECT_APERTURE_SHAPE
MIN 3
MAX 32
CAMERAOBJECT_APERTURE_ANGLE Angle REAL
PARENTCOLLAPSE CAMERAOBJECT_APERTURE_SHAPE
MIN 0.0
MAX 3600.0
UNIT DEGREE
CAMERAOBJECT_APERTURE_BIAS Bias REAL
PARENTCOLLAPSE CAMERAOBJECT_APERTURE_SHAPE
MIN -1.0
MAX 1.0
STEP 0.1
CAMERAOBJECT_APERTURE_ANISOTROPY Anisotropy REAL
PARENTCOLLAPSE CAMERAOBJECT_APERTURE_SHAPE
MIN -100.0
MAX 100.0
STEP 1.0
UNIT PERCENT
CAMERAOBJECT_APERTURE_SHADER Shader SHADERLINK
PARENTCOLLAPSE CAMERAOBJECT_APERTURE_SHAPE
FIT_H
CAMERAOBJECT_NEAR_CLIPPING_ENABLE EnableNearClipping BOOL  
CAMERAOBJECT_NEAR_CLIPPING NearClipping REAL
UNIT METER
MIN 0.0
CAMERAOBJECT_FAR_CLIPPING_ENABLE EnableFarClipping BOOL  
CAMERAOBJECT_FAR_CLIPPING FarClipping REAL
UNIT METER
MIN 0.0
CAMERAOBJECT_PROJECTIONRENDER ProjectionRenderFilename FILENAME HIDDEN
CAMERAOBJECT_SHOW ShowCone BOOL  
CAMERAOBJECT_FRONTBLUR DOFMapFrontBlur BOOL  
CAMERAOBJECT_FRONTSTART FrontBlurStart REAL
PARENTID CAMERAOBJECT_FRONTBLUR
UNIT METER
MIN 0.0
CAMERAOBJECT_FRONTEND FrontBlurEnd REAL
PARENTID CAMERAOBJECT_FRONTBLUR
UNIT METER
MIN 0.0
CAMERAOBJECT_REARBLUR DOFMapRearBlur BOOL  
CAMERAOBJECT_REARSTART RearBlurStart REAL
PARENTID CAMERAOBJECT_REARBLUR
UNIT METER
MIN 0.0
CAMERAOBJECT_REAREND RearBlurEnd REAL
PARENTID CAMERAOBJECT_REARBLUR
UNIT METER
MIN 0.0
CAMERAOBJECT_STEREO_MODE Mode LONG  
CAMERAOBJECT_STEREO_MODE_MONO Mono
CAMERAOBJECT_STEREO_MODE_SYMMETRICAL Symmetrical
CAMERAOBJECT_STEREO_MODE_LEFT Left
CAMERAOBJECT_STEREO_MODE_RIGHT Right
CAMERAOBJECT_STEREO_EYESEPARATION EyeSeparation REAL
UNIT METER
MIN 0
STEP 0.01
CAMERAOBJECT_STEREO_PLACEMENT Placement LONG  
CAMERAOBJECT_STEREO_PLACEMENT_PARALLEL Parallel
CAMERAOBJECT_STEREO_PLACEMENT_OFF_AXIS OffAxis
CAMERAOBJECT_STEREO_PLACEMENT_ON_AXIS OnAxis
CAMERAOBJECT_STEREO_PLACEMENT_RADIAL Radial
CAMERAOBJECT_STEREO_SHOW_ALL ShowAllCameras BOOL  
CAMERAOBJECT_STEREO_ZERO_PARALLAX ZeroParallax REAL
UNIT METER
MIN 0
CAMERAOBJECT_STEREO_AUTO_PLANES AutoPlanes LONG  
CAMERAOBJECT_STEREO_AUTO_PLANES_MANUAL Manual
CAMERAOBJECT_STEREO_AUTO_PLANES_70 70
CAMERAOBJECT_STEREO_AUTO_PLANES_90 90
CAMERAOBJECT_STEREO_NEAR_PLANE NearPlane REAL
UNIT METER
MIN 0
CAMERAOBJECT_STEREO_FAR_PLANE FarPlane REAL
UNIT METER
MIN 0
CAMERAOBJECT_STEREO_SHOW_FLOATING_FRAME ShowFloatingFrame BOOL  
CAMERAOBJECT_SPC_STEREO_MODE StereoMode LONG  
CAMERAOBJECT_SPC_STEREO_MONO Mono
CAMERAOBJECT_SPC_STEREO_PARALLEL Parallel
CAMERAOBJECT_SPC_STEREO_TOEIN Toe-In
CAMERAOBJECT_SPC_STEREO_LAYOUT StereoLayout LONG  
SPC_LAYOUT_ABOVE_UNDER Above-Under
SPC_LAYOUT_SIDE_BY_SIDE Side-By-Side
SPC_LAYOUT_LEFT_ONLY LeftOnly
SPC_LAYOUT_RIGHT_ONLY RightOnly
CAMERAOBJECT_SPC_STEREO_EYESEPARATION EyeSeparation REAL
UNIT METER
MIN 0
STEP 0.01
CAMERAOBJECT_SPC_STEREO_NECK_DIST EyetoNeckDistance REAL
UNIT METER
MIN 0
STEP 0.01
CAMERAOBJECT_SPC_STEREO_FOCAL FocalDistance REAL
UNIT METER
MIN 0.01
STEP 0.01
CAMERAOBJECT_SPC_STEREO_N_POLE_MODE TopPoleSmoothing LONG  
CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE None
CAMERAOBJECT_SPC_STEREO_SMOOTH_LINEAR Linear
CAMERAOBJECT_SPC_STEREO_SMOOTH_EXP Exponential
CAMERAOBJECT_SPC_STEREO_N_POLE_ANGLE TopSmoothingAngle REAL
UNIT DEGREE
MIN -90.0
MAX 0.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_SPC_STEREO_N_POLE_EXP TopPoleExp REAL
MIN 0
MAX 10.0
STEP 0.1
CAMERAOBJECT_SPC_STEREO_S_POLE_MODE BottomPoleSmoothing LONG  
CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE None
CAMERAOBJECT_SPC_STEREO_SMOOTH_LINEAR Linear
CAMERAOBJECT_SPC_STEREO_SMOOTH_EXP Exponential
CAMERAOBJECT_SPC_STEREO_S_POLE_ANGLE BottomSmoothingAngle REAL
UNIT DEGREE
MIN 0.0
MAX 90.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_SPC_STEREO_S_POLE_EXP BottomPoleExp REAL
MIN 0
MAX 10.0
STEP 0.1
CAMERAOBJECT_LAYOUTHELP_ENABLE EnableCompositionHelpers BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_ENABLE DrawGrid BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_ENABLE DrawDiagonal BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_ENABLE DrawTriangles BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_ENABLE DrawGoldenSection BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ENABLE DrawGoldenSpiral BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_ENABLE DrawCrosshair BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_CELLS GridCells LONG
MIN 2
MAX 20
CUSTOMGUI LONGSLIDER
CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_COLOR Color COLOR  
CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_MIRROR MirrorDiagonal BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_COLOR Color COLOR  
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE TrianglesMode LONG  
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE_1 Mode1
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE_2 Mode2
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MIRROR MirrorTriangles BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_FLIP FlipTriangles BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_COLOR Color COLOR  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_I GoldenSectionIterations LONG
MIN 1
MAX 5
CUSTOMGUI LONGSLIDER
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_TOP GoldenSectionTop BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_RIGHT GoldenSectionRight BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_BOTTOM GoldenSectionBottom BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_LEFT GoldenSectionLeft BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_COLOR Color COLOR  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_H MirrorHGoldenSpiral BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_V MirrorVGoldenSpiral BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_FLIP FlipGoldenSpiral BOOL  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_V AlignVGoldenSpiral LONG  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_TOP Top
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_CENTER Center
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_BOTTOM Bottom
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_H AlignHGoldenSpiral LONG  
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_LEFT Left
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_CENTER Center
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_RIGHT Right
CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_COLOR Color COLOR  
CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_SCALE Scale REAL
UNIT PERCENT
MIN 0.0
MINSLIDER 0.0
MAXSLIDER 200.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_COLOR Color COLOR  
CAMERAOBJECT_SPC_ENABLE Enable BOOL  
CAMERAOBJECT_SPC_GIZMO FOVHelper LONG  
SPC_GIZMO_LATLONG Equirectangular
SPC_GIZMO_DOME Dome
CAMERAOBJECT_SPC_PROJECTION_MAPPING Mapping LONG  
SPC_MAPPING_LATLONG Lat-Long
SPC_MAPPING_CUBIC CubeMap(cross)
SPC_MAPPING_CUBIC32 CubeMap(3x2)
SPC_MAPPING_CUBIC_STRING CubeMap(string)
CAMERAOBJECT_SPC_FIT_FRAME FitFrame BOOL  
CAMERAOBJECT_SPC_FULL_RANGE_ENABLE UseFullRange BOOL  
CAMERAOBJECT_SPC_LONG_MIN LongMin REAL
UNIT DEGREE
MIN -180.0
MAX 180.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_SPC_LONG_MAX LongMax REAL
UNIT DEGREE
MIN -180.0
MAX 180.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_SPC_LAT_MIN LatMin REAL
UNIT DEGREE
MIN -90.0
MAX 90.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_SPC_LAT_MAX LatMax REAL
UNIT DEGREE
MIN -90.0
MAX 90.0
CUSTOMGUI REALSLIDER
CAMERAOBJECT_SPC_DOME_LAT Latitude REAL
UNIT DEGREE
MINSLIDER -90.0
MAXSLIDER 90.0
CUSTOMGUI REALSLIDER

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.Ocamera)
    doc.InsertObject(obj)
    c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
    
    #You can set parameters two different ways. 
    #First way              
    obj[c4d.CAMERA_PROJECTION] = c4d.Pperspective
    obj[c4d.CAMERA_FOCUS] = 0.1
    obj[c4d.CAMERAOBJECT_FOCUS_PRESET] = c4d.CAMERAOBJECT_FOCUS_PRESET_CUSTOM
    obj[c4d.CAMERAOBJECT_APERTURE] = 0.1
    obj[c4d.CAMERAOBJECT_APERTURE_PRESET] = c4d.CAMERAOBJECT_APERTURE_PRESET_CUSTOM
    obj[c4d.CAMERAOBJECT_FOV] = 0.1
    obj[c4d.CAMERAOBJECT_FOV_VERTICAL] = 0.1
    obj[c4d.CAMERA_ZOOM] = 0.1
    obj[c4d.CAMERAOBJECT_FILM_OFFSET_X] = 0.1
    obj[c4d.CAMERAOBJECT_FILM_OFFSET_Y] = 0.1
    obj[c4d.CAMERAOBJECT_TARGETDISTANCE] = 0.1
    obj[c4d.CAMERAOBJECT_USETARGETOBJECT] = True
    obj[c4d.CAMERAOBJECT_WHITE_BALANCE_TEMPERATURE] = 0.1
    obj[c4d.CAMERAOBJECT_WHITE_BALANCE] = c4d.CAMERAOBJECT_WHITE_BALANCE_CUSTOM
    obj[c4d.CAMERAOBJECT_WHITE_BALANCE_LIGHTS_ONLY] = True
    obj[c4d.CAMERAOBJECT_AFX] = True
    obj[c4d.CAMERAOBJECT_MOVIECAMERA] = True
    obj[c4d.CAMERAOBJECT_FNUMBER_VALUE] = 0.1
    obj[c4d.CAMERAOBJECT_FNUMBER] = c4d.CAMERAOBJECT_FNUMBER_CUSTOM
    obj[c4d.CAMERAOBJECT_EXPOSURE] = True
    obj[c4d.CAMERAOBJECT_ISO_VALUE] = 0.1
    obj[c4d.CAMERAOBJECT_ISO_PRESET] = c4d.CAMERAOBJECT_ISO_PRESET_CUSTOM
    obj[c4d.CAMERAOBJECT_GAIN_VALUE] = 0.1
    obj[c4d.CAMERAOBJECT_SHUTTER_SPEED_VALUE] = 0.1
    obj[c4d.CAMERAOBJECT_SHUTTER_SPEED_PRESET] = c4d.CAMERAOBJECT_SHUTTER_SPEED_PRESET_CUSTOM
    obj[c4d.CAMERAOBJECT_SHUTTER_ANGLE] = 0.1
    obj[c4d.CAMERAOBJECT_SHUTTER_OFFSET] = 0.1
    obj[c4d.CAMERAOBJECT_SHUTTER_EFFICIENCY] = 0.1
    obj[c4d.CAMERAOBJECT_LENS_DISTORTION_QUAD] = 0.1
    obj[c4d.CAMERAOBJECT_LENS_DISTORTION_CUBIC] = 0.1
    obj[c4d.CAMERAOBJECT_VIGNETTING_INTENSITY] = 0.1
    obj[c4d.CAMERAOBJECT_VIGNETTING_OFFSET] = 0.1
    obj[c4d.CAMERAOBJECT_CHROMATIC_ABERRATION_STRENGTH] = 0.1
    obj[c4d.CAMERAOBJECT_APERTURE_SHAPE] = True
    obj[c4d.CAMERAOBJECT_APERTURE_BLADES] = 1
    obj[c4d.CAMERAOBJECT_APERTURE_ANGLE] = 0.1
    obj[c4d.CAMERAOBJECT_APERTURE_BIAS] = 0.1
    obj[c4d.CAMERAOBJECT_APERTURE_ANISOTROPY] = 0.1
    obj[c4d.CAMERAOBJECT_NEAR_CLIPPING_ENABLE] = True
    obj[c4d.CAMERAOBJECT_NEAR_CLIPPING] = 0.1
    obj[c4d.CAMERAOBJECT_FAR_CLIPPING_ENABLE] = True
    obj[c4d.CAMERAOBJECT_FAR_CLIPPING] = 0.1
    obj[c4d.CAMERAOBJECT_PROJECTIONRENDER] = "c:\\SomeFile.txt"
    obj[c4d.CAMERAOBJECT_SHOW] = True
    obj[c4d.CAMERAOBJECT_FRONTBLUR] = True
    obj[c4d.CAMERAOBJECT_FRONTSTART] = 0.1
    obj[c4d.CAMERAOBJECT_FRONTEND] = 0.1
    obj[c4d.CAMERAOBJECT_REARBLUR] = True
    obj[c4d.CAMERAOBJECT_REARSTART] = 0.1
    obj[c4d.CAMERAOBJECT_REAREND] = 0.1
    obj[c4d.CAMERAOBJECT_STEREO_MODE] = c4d.CAMERAOBJECT_STEREO_MODE_MONO
    obj[c4d.CAMERAOBJECT_STEREO_EYESEPARATION] = 0.1
    obj[c4d.CAMERAOBJECT_STEREO_PLACEMENT] = c4d.CAMERAOBJECT_STEREO_PLACEMENT_PARALLEL
    obj[c4d.CAMERAOBJECT_STEREO_SHOW_ALL] = True
    obj[c4d.CAMERAOBJECT_STEREO_ZERO_PARALLAX] = 0.1
    obj[c4d.CAMERAOBJECT_STEREO_AUTO_PLANES] = c4d.CAMERAOBJECT_STEREO_AUTO_PLANES_MANUAL
    obj[c4d.CAMERAOBJECT_STEREO_NEAR_PLANE] = 0.1
    obj[c4d.CAMERAOBJECT_STEREO_FAR_PLANE] = 0.1
    obj[c4d.CAMERAOBJECT_STEREO_SHOW_FLOATING_FRAME] = True
    obj[c4d.CAMERAOBJECT_SPC_STEREO_MODE] = c4d.CAMERAOBJECT_SPC_STEREO_MONO
    obj[c4d.CAMERAOBJECT_SPC_STEREO_LAYOUT] = c4d.SPC_LAYOUT_ABOVE_UNDER
    obj[c4d.CAMERAOBJECT_SPC_STEREO_EYESEPARATION] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_STEREO_NECK_DIST] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_STEREO_FOCAL] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_STEREO_N_POLE_MODE] = c4d.CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE
    obj[c4d.CAMERAOBJECT_SPC_STEREO_N_POLE_ANGLE] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_STEREO_N_POLE_EXP] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_STEREO_S_POLE_MODE] = c4d.CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE
    obj[c4d.CAMERAOBJECT_SPC_STEREO_S_POLE_ANGLE] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_STEREO_S_POLE_EXP] = 0.1
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_ENABLE] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_CELLS] = 1
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_MIRROR] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE] = c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE_1
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MIRROR] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_FLIP] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_I] = 1
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_TOP] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_RIGHT] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_BOTTOM] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_LEFT] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_H] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_V] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_FLIP] = True
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_V] = c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_TOP
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_H] = c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_LEFT
    obj[c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_SCALE] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_ENABLE] = True
    obj[c4d.CAMERAOBJECT_SPC_GIZMO] = c4d.SPC_GIZMO_LATLONG
    obj[c4d.CAMERAOBJECT_SPC_PROJECTION_MAPPING] = c4d.SPC_MAPPING_LATLONG
    obj[c4d.CAMERAOBJECT_SPC_FIT_FRAME] = True
    obj[c4d.CAMERAOBJECT_SPC_FULL_RANGE_ENABLE] = True
    obj[c4d.CAMERAOBJECT_SPC_LONG_MIN] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_LONG_MAX] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_LAT_MIN] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_LAT_MAX] = 0.1
    obj[c4d.CAMERAOBJECT_SPC_DOME_LAT] = 0.1
    
    #Second way, using the base container.
    bc = obj.GetDataInstance()
    bc.SetInt32(c4d.CAMERA_PROJECTION,c4d.Pperspective)
    bc.SetFloat(c4d.CAMERA_FOCUS,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_FOCUS_PRESET,c4d.CAMERAOBJECT_FOCUS_PRESET_CUSTOM)
    bc.SetFloat(c4d.CAMERAOBJECT_APERTURE,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_APERTURE_PRESET,c4d.CAMERAOBJECT_APERTURE_PRESET_CUSTOM)
    bc.SetFloat(c4d.CAMERAOBJECT_FOV,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_FOV_VERTICAL,0.1)
    bc.SetFloat(c4d.CAMERA_ZOOM,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_FILM_OFFSET_X,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_FILM_OFFSET_Y,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_TARGETDISTANCE,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_USETARGETOBJECT,True)
    bc.SetFloat(c4d.CAMERAOBJECT_WHITE_BALANCE_TEMPERATURE,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_WHITE_BALANCE,c4d.CAMERAOBJECT_WHITE_BALANCE_CUSTOM)
    bc.SetBool(c4d.CAMERAOBJECT_WHITE_BALANCE_LIGHTS_ONLY,True)
    bc.SetBool(c4d.CAMERAOBJECT_AFX,True)
    bc.SetBool(c4d.CAMERAOBJECT_MOVIECAMERA,True)
    bc.SetFloat(c4d.CAMERAOBJECT_FNUMBER_VALUE,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_FNUMBER,c4d.CAMERAOBJECT_FNUMBER_CUSTOM)
    bc.SetBool(c4d.CAMERAOBJECT_EXPOSURE,True)
    bc.SetFloat(c4d.CAMERAOBJECT_ISO_VALUE,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_ISO_PRESET,c4d.CAMERAOBJECT_ISO_PRESET_CUSTOM)
    bc.SetFloat(c4d.CAMERAOBJECT_GAIN_VALUE,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SHUTTER_SPEED_VALUE,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_SHUTTER_SPEED_PRESET,c4d.CAMERAOBJECT_SHUTTER_SPEED_PRESET_CUSTOM)
    bc.SetFloat(c4d.CAMERAOBJECT_SHUTTER_ANGLE,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SHUTTER_OFFSET,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SHUTTER_EFFICIENCY,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_LENS_DISTORTION_QUAD,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_LENS_DISTORTION_CUBIC,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_VIGNETTING_INTENSITY,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_VIGNETTING_OFFSET,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_CHROMATIC_ABERRATION_STRENGTH,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_APERTURE_SHAPE,True)
    bc.SetInt32(c4d.CAMERAOBJECT_APERTURE_BLADES,1)
    bc.SetFloat(c4d.CAMERAOBJECT_APERTURE_ANGLE,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_APERTURE_BIAS,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_APERTURE_ANISOTROPY,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_NEAR_CLIPPING_ENABLE,True)
    bc.SetFloat(c4d.CAMERAOBJECT_NEAR_CLIPPING,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_FAR_CLIPPING_ENABLE,True)
    bc.SetFloat(c4d.CAMERAOBJECT_FAR_CLIPPING,0.1)
    bc.SetFileName(c4d.CAMERAOBJECT_PROJECTIONRENDER,"c:\\SomeFile.txt")
    bc.SetBool(c4d.CAMERAOBJECT_SHOW,True)
    bc.SetBool(c4d.CAMERAOBJECT_FRONTBLUR,True)
    bc.SetFloat(c4d.CAMERAOBJECT_FRONTSTART,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_FRONTEND,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_REARBLUR,True)
    bc.SetFloat(c4d.CAMERAOBJECT_REARSTART,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_REAREND,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_STEREO_MODE,c4d.CAMERAOBJECT_STEREO_MODE_MONO)
    bc.SetFloat(c4d.CAMERAOBJECT_STEREO_EYESEPARATION,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_STEREO_PLACEMENT,c4d.CAMERAOBJECT_STEREO_PLACEMENT_PARALLEL)
    bc.SetBool(c4d.CAMERAOBJECT_STEREO_SHOW_ALL,True)
    bc.SetFloat(c4d.CAMERAOBJECT_STEREO_ZERO_PARALLAX,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_STEREO_AUTO_PLANES,c4d.CAMERAOBJECT_STEREO_AUTO_PLANES_MANUAL)
    bc.SetFloat(c4d.CAMERAOBJECT_STEREO_NEAR_PLANE,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_STEREO_FAR_PLANE,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_STEREO_SHOW_FLOATING_FRAME,True)
    bc.SetInt32(c4d.CAMERAOBJECT_SPC_STEREO_MODE,c4d.CAMERAOBJECT_SPC_STEREO_MONO)
    bc.SetInt32(c4d.CAMERAOBJECT_SPC_STEREO_LAYOUT,c4d.SPC_LAYOUT_ABOVE_UNDER)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_EYESEPARATION,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_NECK_DIST,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_FOCAL,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_SPC_STEREO_N_POLE_MODE,c4d.CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_N_POLE_ANGLE,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_N_POLE_EXP,0.1)
    bc.SetInt32(c4d.CAMERAOBJECT_SPC_STEREO_S_POLE_MODE,c4d.CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_S_POLE_ANGLE,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_STEREO_S_POLE_EXP,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_ENABLE,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_ENABLE,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_ENABLE,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_ENABLE,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_ENABLE,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ENABLE,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_ENABLE,True)
    bc.SetInt32(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_CELLS,1)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_MIRROR,True)
    bc.SetInt32(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE,c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE_1)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MIRROR,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_FLIP,True)
    bc.SetInt32(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_I,1)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_TOP,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_RIGHT,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_BOTTOM,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_LEFT,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_H,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_V,True)
    bc.SetBool(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_FLIP,True)
    bc.SetInt32(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_V,c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_TOP)
    bc.SetInt32(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_H,c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_LEFT)
    bc.SetFloat(c4d.CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_SCALE,0.1)
    bc.SetBool(c4d.CAMERAOBJECT_SPC_ENABLE,True)
    bc.SetInt32(c4d.CAMERAOBJECT_SPC_GIZMO,c4d.SPC_GIZMO_LATLONG)
    bc.SetInt32(c4d.CAMERAOBJECT_SPC_PROJECTION_MAPPING,c4d.SPC_MAPPING_LATLONG)
    bc.SetBool(c4d.CAMERAOBJECT_SPC_FIT_FRAME,True)
    bc.SetBool(c4d.CAMERAOBJECT_SPC_FULL_RANGE_ENABLE,True)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_LONG_MIN,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_LONG_MAX,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_LAT_MIN,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_LAT_MAX,0.1)
    bc.SetFloat(c4d.CAMERAOBJECT_SPC_DOME_LAT,0.1)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../c4dplugin/description/ocamera.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseObject *pObject = BaseObject::Alloc(Ocamera);
    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(CAMERA_PROJECTION),GeData(Pperspective),flags);
    pObject->SetParameter(DescID(CAMERA_FOCUS),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FOCUS_PRESET),GeData(CAMERAOBJECT_FOCUS_PRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE_PRESET),GeData(CAMERAOBJECT_APERTURE_PRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FOV),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FOV_VERTICAL),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERA_ZOOM),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FILM_OFFSET_X),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FILM_OFFSET_Y),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_TARGETDISTANCE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_USETARGETOBJECT),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_WHITE_BALANCE_TEMPERATURE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_WHITE_BALANCE),GeData(CAMERAOBJECT_WHITE_BALANCE_CUSTOM),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_WHITE_BALANCE_LIGHTS_ONLY),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_AFX),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_MOVIECAMERA),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FNUMBER_VALUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FNUMBER),GeData(CAMERAOBJECT_FNUMBER_CUSTOM),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_EXPOSURE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_ISO_VALUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_ISO_PRESET),GeData(CAMERAOBJECT_ISO_PRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_GAIN_VALUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SHUTTER_SPEED_VALUE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SHUTTER_SPEED_PRESET),GeData(CAMERAOBJECT_SHUTTER_SPEED_PRESET_CUSTOM),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SHUTTER_ANGLE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SHUTTER_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SHUTTER_EFFICIENCY),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LENS_DISTORTION_QUAD),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LENS_DISTORTION_CUBIC),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_VIGNETTING_INTENSITY),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_VIGNETTING_OFFSET),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_CHROMATIC_ABERRATION_STRENGTH),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE_SHAPE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE_BLADES),GeData(1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE_ANGLE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE_BIAS),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_APERTURE_ANISOTROPY),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_NEAR_CLIPPING_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_NEAR_CLIPPING),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FAR_CLIPPING_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FAR_CLIPPING),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_PROJECTIONRENDER),GeData(Filename("c:\\SomeFile.txt"),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SHOW),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FRONTBLUR),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FRONTSTART),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_FRONTEND),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_REARBLUR),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_REARSTART),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_REAREND),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_MODE),GeData(CAMERAOBJECT_STEREO_MODE_MONO),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_EYESEPARATION),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_PLACEMENT),GeData(CAMERAOBJECT_STEREO_PLACEMENT_PARALLEL),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_SHOW_ALL),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_ZERO_PARALLAX),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_AUTO_PLANES),GeData(CAMERAOBJECT_STEREO_AUTO_PLANES_MANUAL),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_NEAR_PLANE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_FAR_PLANE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_STEREO_SHOW_FLOATING_FRAME),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_MODE),GeData(CAMERAOBJECT_SPC_STEREO_MONO),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_LAYOUT),GeData(SPC_LAYOUT_ABOVE_UNDER),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_EYESEPARATION),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_NECK_DIST),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_FOCAL),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_N_POLE_MODE),GeData(CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_N_POLE_ANGLE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_N_POLE_EXP),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_S_POLE_MODE),GeData(CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_S_POLE_ANGLE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_STEREO_S_POLE_EXP),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_CELLS),GeData(1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_MIRROR),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE),GeData(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE_1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MIRROR),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_FLIP),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_I),GeData(1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_TOP),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_RIGHT),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_BOTTOM),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_LEFT),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_H),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_V),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_FLIP),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_V),GeData(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_TOP),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_H),GeData(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_LEFT),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_GIZMO),GeData(SPC_GIZMO_LATLONG),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_PROJECTION_MAPPING),GeData(SPC_MAPPING_LATLONG),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_FIT_FRAME),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_FULL_RANGE_ENABLE),GeData(true),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_LONG_MIN),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_LONG_MAX),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_LAT_MIN),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_LAT_MAX),GeData(0.1),flags);
    pObject->SetParameter(DescID(CAMERAOBJECT_SPC_DOME_LAT),GeData(0.1),flags);
    pObject->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pObject->GetDataInstance();
    bc->SetInt32(CAMERA_PROJECTION,Pperspective);
    bc->SetFloat(CAMERA_FOCUS,0.1);
    bc->SetInt32(CAMERAOBJECT_FOCUS_PRESET,CAMERAOBJECT_FOCUS_PRESET_CUSTOM);
    bc->SetFloat(CAMERAOBJECT_APERTURE,0.1);
    bc->SetInt32(CAMERAOBJECT_APERTURE_PRESET,CAMERAOBJECT_APERTURE_PRESET_CUSTOM);
    bc->SetFloat(CAMERAOBJECT_FOV,0.1);
    bc->SetFloat(CAMERAOBJECT_FOV_VERTICAL,0.1);
    bc->SetFloat(CAMERA_ZOOM,0.1);
    bc->SetFloat(CAMERAOBJECT_FILM_OFFSET_X,0.1);
    bc->SetFloat(CAMERAOBJECT_FILM_OFFSET_Y,0.1);
    bc->SetFloat(CAMERAOBJECT_TARGETDISTANCE,0.1);
    bc->SetBool(CAMERAOBJECT_USETARGETOBJECT,true);
    bc->SetFloat(CAMERAOBJECT_WHITE_BALANCE_TEMPERATURE,0.1);
    bc->SetInt32(CAMERAOBJECT_WHITE_BALANCE,CAMERAOBJECT_WHITE_BALANCE_CUSTOM);
    bc->SetBool(CAMERAOBJECT_WHITE_BALANCE_LIGHTS_ONLY,true);
    bc->SetBool(CAMERAOBJECT_AFX,true);
    bc->SetBool(CAMERAOBJECT_MOVIECAMERA,true);
    bc->SetFloat(CAMERAOBJECT_FNUMBER_VALUE,0.1);
    bc->SetInt32(CAMERAOBJECT_FNUMBER,CAMERAOBJECT_FNUMBER_CUSTOM);
    bc->SetBool(CAMERAOBJECT_EXPOSURE,true);
    bc->SetFloat(CAMERAOBJECT_ISO_VALUE,0.1);
    bc->SetInt32(CAMERAOBJECT_ISO_PRESET,CAMERAOBJECT_ISO_PRESET_CUSTOM);
    bc->SetFloat(CAMERAOBJECT_GAIN_VALUE,0.1);
    bc->SetFloat(CAMERAOBJECT_SHUTTER_SPEED_VALUE,0.1);
    bc->SetInt32(CAMERAOBJECT_SHUTTER_SPEED_PRESET,CAMERAOBJECT_SHUTTER_SPEED_PRESET_CUSTOM);
    bc->SetFloat(CAMERAOBJECT_SHUTTER_ANGLE,0.1);
    bc->SetFloat(CAMERAOBJECT_SHUTTER_OFFSET,0.1);
    bc->SetFloat(CAMERAOBJECT_SHUTTER_EFFICIENCY,0.1);
    bc->SetFloat(CAMERAOBJECT_LENS_DISTORTION_QUAD,0.1);
    bc->SetFloat(CAMERAOBJECT_LENS_DISTORTION_CUBIC,0.1);
    bc->SetFloat(CAMERAOBJECT_VIGNETTING_INTENSITY,0.1);
    bc->SetFloat(CAMERAOBJECT_VIGNETTING_OFFSET,0.1);
    bc->SetFloat(CAMERAOBJECT_CHROMATIC_ABERRATION_STRENGTH,0.1);
    bc->SetBool(CAMERAOBJECT_APERTURE_SHAPE,true);
    bc->SetInt32(CAMERAOBJECT_APERTURE_BLADES,1);
    bc->SetFloat(CAMERAOBJECT_APERTURE_ANGLE,0.1);
    bc->SetFloat(CAMERAOBJECT_APERTURE_BIAS,0.1);
    bc->SetFloat(CAMERAOBJECT_APERTURE_ANISOTROPY,0.1);
    bc->SetBool(CAMERAOBJECT_NEAR_CLIPPING_ENABLE,true);
    bc->SetFloat(CAMERAOBJECT_NEAR_CLIPPING,0.1);
    bc->SetBool(CAMERAOBJECT_FAR_CLIPPING_ENABLE,true);
    bc->SetFloat(CAMERAOBJECT_FAR_CLIPPING,0.1);
    bc->SetFileName(CAMERAOBJECT_PROJECTIONRENDER,"c:\\SomeFile.txt");
    bc->SetBool(CAMERAOBJECT_SHOW,true);
    bc->SetBool(CAMERAOBJECT_FRONTBLUR,true);
    bc->SetFloat(CAMERAOBJECT_FRONTSTART,0.1);
    bc->SetFloat(CAMERAOBJECT_FRONTEND,0.1);
    bc->SetBool(CAMERAOBJECT_REARBLUR,true);
    bc->SetFloat(CAMERAOBJECT_REARSTART,0.1);
    bc->SetFloat(CAMERAOBJECT_REAREND,0.1);
    bc->SetInt32(CAMERAOBJECT_STEREO_MODE,CAMERAOBJECT_STEREO_MODE_MONO);
    bc->SetFloat(CAMERAOBJECT_STEREO_EYESEPARATION,0.1);
    bc->SetInt32(CAMERAOBJECT_STEREO_PLACEMENT,CAMERAOBJECT_STEREO_PLACEMENT_PARALLEL);
    bc->SetBool(CAMERAOBJECT_STEREO_SHOW_ALL,true);
    bc->SetFloat(CAMERAOBJECT_STEREO_ZERO_PARALLAX,0.1);
    bc->SetInt32(CAMERAOBJECT_STEREO_AUTO_PLANES,CAMERAOBJECT_STEREO_AUTO_PLANES_MANUAL);
    bc->SetFloat(CAMERAOBJECT_STEREO_NEAR_PLANE,0.1);
    bc->SetFloat(CAMERAOBJECT_STEREO_FAR_PLANE,0.1);
    bc->SetBool(CAMERAOBJECT_STEREO_SHOW_FLOATING_FRAME,true);
    bc->SetInt32(CAMERAOBJECT_SPC_STEREO_MODE,CAMERAOBJECT_SPC_STEREO_MONO);
    bc->SetInt32(CAMERAOBJECT_SPC_STEREO_LAYOUT,SPC_LAYOUT_ABOVE_UNDER);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_EYESEPARATION,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_NECK_DIST,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_FOCAL,0.1);
    bc->SetInt32(CAMERAOBJECT_SPC_STEREO_N_POLE_MODE,CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_N_POLE_ANGLE,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_N_POLE_EXP,0.1);
    bc->SetInt32(CAMERAOBJECT_SPC_STEREO_S_POLE_MODE,CAMERAOBJECT_SPC_STEREO_SMOOTH_NONE);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_S_POLE_ANGLE,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_STEREO_S_POLE_EXP,0.1);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_ENABLE,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_ENABLE,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_ENABLE,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_ENABLE,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_ENABLE,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ENABLE,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_ENABLE,true);
    bc->SetInt32(CAMERAOBJECT_LAYOUTHELP_DRAW_GRID_CELLS,1);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_DIAGONAL_MIRROR,true);
    bc->SetInt32(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE,CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MODE_1);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_MIRROR,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_TRIANGLES_FLIP,true);
    bc->SetInt32(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_I,1);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_TOP,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_RIGHT,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_BOTTOM,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSECTION_LEFT,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_H,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_MIRROR_V,true);
    bc->SetBool(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_FLIP,true);
    bc->SetInt32(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_V,CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_TOP);
    bc->SetInt32(CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_H,CAMERAOBJECT_LAYOUTHELP_DRAW_GOLDENSPIRAL_ALIGN_LEFT);
    bc->SetFloat(CAMERAOBJECT_LAYOUTHELP_DRAW_CROSSHAIR_SCALE,0.1);
    bc->SetBool(CAMERAOBJECT_SPC_ENABLE,true);
    bc->SetInt32(CAMERAOBJECT_SPC_GIZMO,SPC_GIZMO_LATLONG);
    bc->SetInt32(CAMERAOBJECT_SPC_PROJECTION_MAPPING,SPC_MAPPING_LATLONG);
    bc->SetBool(CAMERAOBJECT_SPC_FIT_FRAME,true);
    bc->SetBool(CAMERAOBJECT_SPC_FULL_RANGE_ENABLE,true);
    bc->SetFloat(CAMERAOBJECT_SPC_LONG_MIN,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_LONG_MAX,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_LAT_MIN,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_LAT_MAX,0.1);
    bc->SetFloat(CAMERAOBJECT_SPC_DOME_LAT,0.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.CAMERAOBJECT_TARGETDISTANCE_PICK)

C++

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