# Copyright 2009 Autodesk, Inc.  All rights reserved.
# Use of this software is subject to the terms of the Autodesk license agreement 
# provided at the time of installation or download, or which otherwise accompanies
# this software in either electronic or hard copy form.
#
# Script description:
# Create a new Camera in the select and sets its vector
#
# Topic: FBCamera
#

from pyfbsdk import FBCamera, FBVector3d

# Once created, the camera needs to be made visible
lCamera = FBCamera("Camera created by script")
lCamera.Show = True
lCamera.SetVector( FBVector3d( 50, 50, 50 ) )

# Cleanup
del( lCamera, FBCamera, FBVector3d)