tdragoone Posted December 16, 2004 Share Posted December 16, 2004 Ok, I must warn you I am extremely new to this, but very willing to learn. A while back, when I first started using VW, I was having difficulty with plotting drawings. The problem was: when I wanted to change the doc prefs to b&w only....... some of the lines would disappear. The work around resulted in the following script: {====== BEGIN SCRIPT =======} Procedure Swap; Procedure SwapBGFG(h:HANDLE); BEGIN SetLS(h,2); END; BEGIN ForEachObject(SwapBGFG,ALL); END; RUN(Swap); {====== END SCRIPT =======} I used the script to create a command that I would invoke prior to changing the doc prefs to B&W only. This has worked fine for months. The problem now is: I would like to take it to the next level. I have been trying to figure out how to combine this script with the one that changes the doc prefs to B&W only. I would then like to make it a command that i could invoke before plotting. Any help / suggestions would be greatly appreciated. Thanks, Tom Quote Link to comment
PeterT Posted December 18, 2004 Share Posted December 18, 2004 For B&W only, just put SetPref(10,TRUE); before the last END statement. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.