MemoCamera

Object Hierarchy

継承

SIObject

UIObject

MemoCamera

導入

v10.5 (2012)

詳細

MemoCamera は、ビューのメモ カメラ コントロールを示します。次のビューにはメモ カメラ コントロールが含まれています。

- ビュー マネージャのトップ、ライト、フロント、ユーザおよびカメラ ビュー

- Ice Tree

- Object View

- スケマティック

- Render Tree

メソッド

IsClassOfオペレータ IsEqualToオペレータ Recall Record
Reset      
       

プロパティ

Application Categories FullNameオペレータ Help
Nameオペレータ NestedObjects Origin OriginPath
Parent Typeオペレータ    
       

1. Python の例

#

# 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()

2. Python の例

#

# Script to demonstrate how to recall the 2nd memo camera in the perspective view

#

# Get the View Manager views

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

# Get view B (perspective)

viewB = views[1]

# Recall the 2nd memocam

viewB.MemoCameras[1].Recall()

3. Python の例

#

# Script to demonstrate how to reset the 3rd memo camera in the perspective view

#

# Get the View Manager views

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

# Get view B (perspective)

viewB = views[1]

# Recall the 3rd memocam

viewB.MemoCameras[2].Reset()

関連項目

MemoCameraCollection View.MemoCameras