MikeN Posted July 30, 2003 Share Posted July 30, 2003 If I'm plotting a set of sheets from one file with varying scales, is there anyway possible to add a script that automatically reduces lineweights for smaller scaled plots? Quote Link to comment
matto Posted July 31, 2003 Share Posted July 31, 2003 in the saved sheets dialog box there is button "edit script" which you can add a script to run when the sheet is activated. but you need to add a script to all the sheets. (so that if someone needs to reprint just one sheet at a later date it still works right) if you draw by class then the script could change the attributes for each of the classes. Warning:---- if you don't draw by class then messing with linewieghts in scripts gets really messy very quickly, and you tend to end up with all the wrong lineweights all over the place and no easy way to fix. or worst all the same really thick or thin linewieght for everything. Quote Link to comment
jan15 Posted July 31, 2003 Share Posted July 31, 2003 Why not just use Print Scaling? That reduces line weights, and it only takes one entry in the Print Setup window to reduce the plot scale for all sheets. Quote Link to comment
MikeN Posted August 1, 2003 Author Share Posted August 1, 2003 I'm plotting numerous files with up to 20 plus sheets at three different scales. I know that plot scale works, but I don't want to have to change the plot scale from sheet to sheet as I go. Adding a script to the saved sheet and using the "plot sheets" command is much more efficient. Ideally, if you're plotting numerous sheets at varying scales it would enable someone to hit "plot sheets", repeat the command for the other files and walk away without doing anything else. Anyone know where I'd find one of the scripts to add to saved sheets? Quote Link to comment
Petri Sakkinen Posted August 1, 2003 Share Posted August 1, 2003 quote: Originally posted by Runtime Error: Anyone know where I'd find one of the scripts to add to saved sheets? Here: PROCEDURE ScaleLineWeight; { ? Petri Sakkinen 2003 } CONST factor = 0.5; PROCEDURE ScaleIt (h : HANDLE); BEGIN SETLW(h, GETLW(h) * factor); END; BEGIN FOREACHOBJECT(ScaleIt, (ALL)); END; RUN(ScaleLineWeight); [ 08-01-2003, 08:38 AM: Message edited by: Petri Sakkinen ] Quote Link to comment
MikeN Posted August 6, 2003 Author Share Posted August 6, 2003 You are too kind! Many thanks! Quote Link to comment
Petri Sakkinen Posted August 6, 2003 Share Posted August 6, 2003 No worries, mate! 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.