Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: Set Design File vba or key-in highlight color and Selection Color V8i is the program I use.

$
0
0

Special Thanks to Phil, who bails me out so many times. Due to the help toward Key-in commands I was able to figure out the following for setting Layers via Key-in,

'   Start a command

   CadInputQueue.SendCommand "ACTIVE LEVEL ""Level 4"""

'   Set a variable associated with a dialog box

   CadInputQueue.SendCommand "ACTIVE Color Orange"

   CadInputQueue.SendCommand "ACTIVE STYLE 0"

   CadInputQueue.SendCommand "ACTIVE WEIGHT 1"

   CadInputQueue.SendCommand "m,ms    Active Level=4    Color 4,  Style 0, Weight 1"  'Send Msg Center Box

but I  cannot figure out how to add the Script file location to the search path. I know it is in configuration, but do now know where.


Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>