AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Plot Style Table Search Path

1 REPLY 1
Reply
Message 1 of 2
Anonymous
231 Views, 1 Reply

Plot Style Table Search Path

Hi,
I have done some programming in VBA to change the Plot Style Table Search Path to a new path and it works fine. The code is as follows:

ThisDrawing.ActiveLayout.RefreshPlotDeviceInfo
newPlotStylePath = "N:\ADT33\PlotStyles"
AcadPref.Files.PrinterStyleSheetPath = newPlotStylePath

But if I change the path manually once and then run this program, the new path is displayed in the Plot Style Table Search Path, but it shows coloured drawing when Full Preview is viewed and even Plotting crashes if I don't view the Full Preview. Is this because the device is not reading the .ctb file? Why is this happening? Please help. I think this is a major issue and many users face this problem. Please help.
Thanks
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

it does not work when done via vlisp as well. You have to close autocad
and then come back it to get it to use the ctb from that new path.



shers wrote:
>
> Hi,
> I have done some programming in VBA to change the Plot Style Table
> Search Path to a new path and it works fine. The code is as follows:
>
> ThisDrawing.ActiveLayout.RefreshPlotDeviceInfo
> newPlotStylePath = "N:\ADT33\PlotStyles"
> AcadPref.Files.PrinterStyleSheetPath = newPlotStylePath
>
> But if I change the path manually once and then run this program, the
> new path is displayed in the Plot Style Table Search Path, but it
> shows coloured drawing when Full Preview is viewed and even Plotting
> crashes if I don't view the Full Preview. Is this because the device
> is not reading the .ctb file? Why is this happening? Please help. I
> think this is a major issue and many users face this problem. Please
> help.
> Thanks

--

-------------------
Nauman M

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost