## GetPrimCameraWithoutInterest

### Introduced

v12.0 (2014)

### Description

Creates a camera primitive object without an interest.

### Scripting Syntax

    oReturn = GetPrimCameraWithoutInterest( [PresetObj], [Name], [Parent], [Primitive], [3DObjCamera] );

### Return Value

Returns the camera object (an X3DObject object).

### Parameters

Parameter | Type | Description
--- | --- | ---
PresetObj | String or a preset object (see SIGetPreset) | Any preset for Camera Primitives Default Value: "Camera"
Name | String | Name of the camera.
Parent | String | Parent object for the camera. Default Value: "Scene_Root"
Primitive | Primitive | Returns the camera primitive.
3DObjCamera | Camera | Returns the camera object.

### Examples

#### 1. VBScript Example

    Dim cam

    Dim prim

    GetPrimCameraWithoutInterest "Camera", "Bob",, prim, cam

    LogMessage "Camera object named " + cam.FullName + " created"

    LogMessage "Camera primitive named " + prim.FullName + " created"

#### 2. Python Example

    RetVal = Application.GetPrimCameraWithoutInterest("","","")

    # Extract the objective from the ISIVTCollection

    CamPrim = RetVal( "Primitive" )

    CamObj = RetVal( "3DObjCamera" )

    Application.LogMessage( CamPrim.FullName )

    Application.LogMessage( CamObj.FullName )

    # INFO : Camera1.camera

    # INFO : Camera1

### See Also

SIGetPrimCamera