## View.MemoCameras

### Introduced

v10.5 (2012)

### Description

Returns a collection of MemoCamera objects for a view in a MemoCameraCollection object.

### C# Syntax

    // get accessor

    MemoCameraCollection rtn = View.MemoCameras;

### Examples

#### Python Example

    #

    # Script to demonstrate how to record the 4 memo cameras in the perspective view

    #

    # Get the View Manager views

    views = Application.Desktop.ActiveLayout.Views("vm").views

    # Get view B (perspective)

    viewB = views[1]

    # Get memocams for view B

    memoCameras = viewB.MemoCameras

    Application.LogMessage( "view nb memocams: " + str(memoCameras.Count) )

    # Record 4 memo cameras in view B

    for index, memoCamera in enumerate(memoCameras):

    	if index == 0:

    		Application.SetValue("Camera.kine.global.posx", -10, "")

    		Application.SetValue("Camera.kine.global.posy", 2, "")

    		Application.SetValue("Camera.kine.global.posz", 20, "")

    	elif index == 1:

    		Application.SetValue("Camera.kine.global.posx", 0, "")

    	elif index == 2:

    		Application.SetValue("Camera.kine.global.posx", 10, "")

    	elif index == 3:

    		Application.SetValue("Camera.kine.global.posx", 0, "")

    		Application.SetValue("Camera.kine.global.posy", -2, "")

    	memoCamera.Record()

### See Also

MemoCamera MemoCameraCollection