Skip to main content
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/
Source Link

The property you are looking for is 'Scene.camera'.

If you have 'python tooltipspython tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera
added python tooltip link
Source Link
Ray Mairlot
  • 29.4k
  • 12
  • 105
  • 126

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips''python tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera
added 158 characters in body
Source Link
Ray Mairlot
  • 29.4k
  • 12
  • 105
  • 126

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips' enabled in the user preferences you can hover over the camera property forfield in the scene. In'Scene' tab of the interface it is located here'Properties' area, to reveal the python code for this property:

enter image description hereenter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera

The property you are looking for is the camera property for the scene. In the interface it is located here:

enter image description here

The code to access this property and assign it to a variable is:

obj_camera = bpy.context.scene.camera

The property you are looking for is 'Scene.camera'.

If you have 'python tooltips' enabled in the user preferences you can hover over the camera field in the 'Scene' tab of the 'Properties' area, to reveal the python code for this property:

enter image description here

The code to access this property for the current scene and assign it to a variable is:

obj_camera = bpy.context.scene.camera
Source Link
Ray Mairlot
  • 29.4k
  • 12
  • 105
  • 126
Loading