Move (View)

Description

Moves a view at a global screen coordinate.

Scripting Syntax

View.Move( XPos, YPos )

C# Syntax

View.Move( Int32 in_x, Int32 in_y );

Parameters

Parameter

Type

Description

XPos

Long

The new view's position in X.

YPos

Long

The new view's position in Y.

Examples

JScript Example

/*
   This example demonstrates how to create a view and then move 
   it to the top left corner of the screen.
*/
NewScene( null, false );
var netv = Desktop.ActiveLayout.CreateView( "netview", "netview" );
netv.SetAttributeValue( "url", "http://www.softimage.com" );
netv.Move( 0, 0 );

See Also

View.Resize



Autodesk Softimage v7.5