Jump to content

Load Plot Style Names

Recommended Posts


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-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!

Share this post

Link to post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...