DIAdem Help

Method: AppendLayout for View

  • Updated2024-09-12
  • 1 minute(s) read

Method: AppendLayout for View

Loads the specified layout file into the current VIEW layout.

Object.AppendLayout(FileName)
ObjectView
Object with this method
FileNameString
Specifies the name of the layout file.

The following example combines several layout files to one VIEW layout. The example runs a loop of calls for the dialog box where you load VIEW layouts until you click Cancel in the dialog box:

VBScriptPython

 

Call View.NewLayout()
Call FileNameGet("View","FileRead")
Do While DlgState <> "IDCancel"
  Call View.Appendlayout(FileDlgFileName)
  Call FileNameGet("View","FileRead")  
Loop