VIEWN/['old view name',]'new view name'[,IFERR,label:]
Renames a view. If you do not specify the view to be renamed, the system renames the work view. Renaming a view does not create a new view.
You cannot rename model views as drawing member view names or vice versa. In addition, you cannot rename Unigraphics canned views.
There are two formats that you can use to rename drawing member views:
VIEWN/ 'old view name@ ', 'new view name' searches for the member view with the lowest @number that matches old view name@. It then concatenates that @number to the end of the new view name. For example, if there are 3 views which have the names old view name@3, old view name@7, and old view name@4, the view named old view name@3 is found, and the @3 is added to the end of new view name, making it new view name@3.
VIEWN/ 'old view name@number ', 'new view name' searches for the member view that exactly matches old view name@number. It then concatenates the @number to the end of the new view name.
Parameter |
Description |
'old view name' |
A string or string variable which represents the name of the view to be renamed. |
'new view name' |
A string or string variable which represents the new name of the view. |
IFERR,label: |
Label to which program execution jumps if an error occurs. Possible errors include: invalid view name; view does not exist; new view name is invalid; view already exists with that name; cannot rename a canned view; cannot rename a drawing view. |