P. 1


|Views: 437|Likes:
Published by abdo-dz

More info:

Published by: abdo-dz on Mar 06, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





• ho close() close the current postprocessor window.

• ho refreshview() Redraws the current view.

• ho reload() Reloads the solution from disk.

• ho savebitmap("filename") saves a bitmapped screen shot of the current view to the
file specified by "filename". Note that if you use a path you must use two backslashes
(e.g. "c:\\temp\\myfile.bmp"). If the file name contains a space (e.g. file names like
c:\program files\stuff) you must enclose the file name in (extra) quotes by using a \" se-
quence. For example:

ho savebitmap("\"c:\\temp\\screenshot.bmp\"")

• ho savemetafile("filename") saves a metafile screenshot of the current view to the file
specified by "filename", subject to the printf-type formatting explained previously for the

savebitmap command.

• ho shownames(flag) This function allow the user to display or hide the block label names
on screen. To hide the block label names, flag should be 0. To display the names, the
parameter should be set to 1.

10 Current Flow Preprocessor Lua Command Set

A number of different commands are available in the preprocessor. Two naming conventions can
beused: onewhich separateswords inthecommandnames byunderscores, andonethateliminates
the underscores.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->