Overview | Statement List


更换视图

Synopsis

LAYE/['layout name',]REPL,'old view name','new view name'[,SAVE[,'new layout name']][,IFERR,label:]

Description

Replaces a view in a layout with a previously defined view.

NOTE: A sketch view may not exist in a layout more than one time.

Parameters

Parameter

Description

'layout name'

A string or string variable which represents the name of the layout to be edited. If no name is specified, the active layout is edited.

REPL

Minor word which indicates that a view is to be replaced in the layout.

'old view name'

A string or string variable which represents the name of an existing view in the layout which is replaced. This cannot be a view on a drawing.

'new view name'

A string or string variable which represents the name of an existing view which replaces the specified view (old view name) in the layout.

SAVE

Minor word which indicates that the layout is to be saved with the current edits.

'new layout name'

A string or string variable which represents the new name of the layout as it is being saved. If no new name is specified, the layout is saved using its original name.

IFERR,label:

A label to which program execution jumps if an error occurs during editing or saving the layout.

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.