View.EndEdit

説明

このビューの編集操作の終了を要求します。このメソッドでは、それまでに実行された属性の変更をもとにビューが更新されます。ビューが編集モードでない場合は機能しません。

スクリプト 構文

View.EndEdit();

Python の例

#
#       This example demonstrates hot to set view attributes in batch with 
#       BeginEdit and EndEdit.
#
Application.NewScene( "", 0 )
app = Application
root = app.ActiveSceneRoot
mynull = root.AddNull()
root.AddGeometry( "Cone", "MeshSurface" )
app.Selection.Add( mynull )
subv = app.Desktop.ActiveLayout.CreateView( "Explorer", "myview" )
subv.BeginEdit()
subv.SetAttributeValue( "allownodeexpansion", "false" )
subv.SetAttributeValue( "scope", "Selection" )
subv.SetAttributeValue( "scriptnames", "true" )
subv.EndEdit()

関連項目

View.BeginEdit