parkerdepriest Posted February 21, 2013 Posted February 21, 2013 I am trying to write a routine to load a new Plot Style Table, and then set a certain Plot Style Name to all layers. Here is the code I use to set the new Plot Style Table, and it works fine: (vla-put-StyleSheet (vla-get-ActiveLayout (vla-get-ActiveDocument (vlax-get-acad-object)) ) "BCR Plot Style.stb" ) My problem is that it seems like the Plot Style Names have to be "loaded" manually. When I run (dictsearch (namedobjdict) "ACAD_PLOTSTYLENAME") it *should* show me the new plot style names, but it doesn't, not until I've gone into the Layer Property Manager and changed a layer to each of the new Plot Style Names once. Please help! 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.