You are currently reviewing an older revision of this page.
Original Article Date: Dec 1, 1998
A quick little article that explains MicroStation /J's configuration variable directives and how to use them to construct new variables. 1998-12-01 Originally published in The Client Server. 2006-03-02 Aquired and posted on AskInga.
MicroStation’s workspace capabilities allow you to easily customize your working environment to suit individual, project, site, organization or discipline-specific needs and specifications. Significant, powerful new functionality is included in MicroStation/J to make this process even easier. New configuration variable directives enable you to be very resourceful in the definition of your workspaces. By using these directives, you can now define your variables so they more readily rely on the definitions of other variables, including using bits and pieces of other variables to construct, or build ( ), a new configuration variable. This lets you to reduce the number of variables you need to define (or “hard-code”). With this new methodology, you can more efficiently redefine a multitude of variables in minor or major ways—simply by changing one variable. If a configuration variable is set as follows: MS_EXAMPLE = D:\Bentley\Workspace\MyProject\3dcells.cel
This directive:
If a configuration variable is set as follows: MS_CELL = d:\cell\mycells\;c:\cell\;g:\mycells\
First( )
♦ The concat( ) directive allows you to stitch text together to populate your variable. ♦ ♦ The build( ) directive extends the abilities of concat( ) by providing the ability to stitch together text, as well as operate with the other variable directives as shown above in the examples. It will also try to resolve any missing directory separators: test=$(build (“d:”, “mycells”) will give test=d:\mycells.
AskInga Article #287