Arbortext IsoDraw > Macro Language Reference > Menu Commands > File Menu > Open
  
Open
The OPEN command opens a document as long as it is in a format that can be interpreted by Arbortext IsoDraw. After being opened that document is active.
OPEN "path"
path
Optional parameter to define the path to the document that should be loaded. You should always define relative paths. If the parameter path is not given, the user can choose a file through the standard open-file dialog. If there is only a path without a file name in the path-parameter this path is the default path in the open -file dialog.
#open, without a path, opens the open-file dialog
OPEN

#open, with a path, but without a file-name opens
#the open-file dialog with the folder specified in the path
OPEN "D:\IsoDraw-Data"
#open a file on a Windows-PC
OPEN "C:\Documentation\IsoDraw\engine.iso"

#open a file on a Mac
OPEN "Macintosh HD:IsoDraw Illus:frontWheel.iso"

###########################################

DEFINE path AS string
path = "\\server\Documentation\Illustrations\
"open path + "test.iso"
OPEN path + "example.iso"