MCADraft Posted December 9, 2011 Posted December 9, 2011 (edited) For the life of me, I can’t find the group code for changing the “Plot Style” in the layers. At current we use STB for plotting and I want to write a code that if I find any layers with a plot style of “Normal”, it will change it to “0.18” I have (setq layer (tblnext "LAYER" T))[/font][/size] [font=Calibri][size=3](while layer[/size][/font] [font=Calibri][size=3](setq curlayer (cdr (assoc 2 layer)))[/size][/font] [font=Calibri][size=3](if (getvar (car? (cdr? (assoc ?????? layer) “normal”)))[/size][/font] [font=Calibri][size=3](command "-layer" "set" curlayer "pstyle" "0.18" "" "")[/size][/font] [font=Calibri][size=3])[/size][/font] [font=Calibri][size=3](setq layer (tblnext "LAYER"))[/size][/font] [font=Calibri][size=3])[/size][/font] Can you help here Edited December 11, 2011 by MCADraft Quote
SLW210 Posted December 9, 2011 Posted December 9, 2011 Please read the CODE POSTING GUIDELINES and edit your post. Quote
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.