.NET

Reply
Valued Contributor
RamanSBV
Posts: 88
Registered: ‎02-28-2012
Message 1 of 6 (817 Views)
Accepted Solution

How to add .ctb file to drawing file.

817 Views, 5 Replies
08-27-2012 12:46 AM

Hi,

 

 

Please guide me on

 

1. adding .ctb file to drawing file.

 

 

Regards,

Raman

 

Hi,

 

>> So, I need to know the file path of plot style

E.g. COM-based you get the path where your plotstyles are stored with that code.

      AcadApplication.Preferences.Files.PrinterStyleSheetPath

You can also read >>>that posts<<<

 

- alfred -

 

*Expert Elite*
Alfred.NESWADBA
Posts: 9,051
Registered: ‎06-29-2007
Message 2 of 6 (816 Views)

Re: How to add .ctb file to drawing file.

08-27-2012 12:50 AM in reply to: RamanSBV

Hi,

 

does >>>that<<< help?

 

- alfred -

 

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Valued Contributor
RamanSBV
Posts: 88
Registered: ‎02-28-2012
Message 3 of 6 (806 Views)

Re: How to add .ctb file to drawing file.

08-27-2012 02:51 AM in reply to: Alfred.NESWADBA

Thanks for your response......

 

 

Could you please me, on getting using

plot style file path.

 

 

Regards,

Raman

*Expert Elite*
Alfred.NESWADBA
Posts: 9,051
Registered: ‎06-29-2007
Message 4 of 6 (804 Views)

Re: How to add .ctb file to drawing file.

08-27-2012 02:58 AM in reply to: RamanSBV

Hi,

 

it should not be necessary that you assign a plotstyle-path to your CTB as this is defined under options of AutoCAD. AutoCAD knows itself where to find CTB/STB-files. If yours is not in the path for plotstyles you have to copy it into the folder defined to hold plotstyle-files.

 

- alfred -

 

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Valued Contributor
RamanSBV
Posts: 88
Registered: ‎02-28-2012
Message 5 of 6 (803 Views)

Re: How to add .ctb file to drawing file.

08-27-2012 03:05 AM in reply to: Alfred.NESWADBA

Yes, I agree on you.

 

But I need to export drawing file along with plot style to some other server.

 

So, I need to know the file path of plot style that is using by drawing file.

 

Regards,

Rama

*Expert Elite*
Alfred.NESWADBA
Posts: 9,051
Registered: ‎06-29-2007
Message 6 of 6 (801 Views)

Re: How to add .ctb file to drawing file.

08-27-2012 03:19 AM in reply to: RamanSBV

Hi,

 

>> So, I need to know the file path of plot style

E.g. COM-based you get the path where your plotstyles are stored with that code.

      AcadApplication.Preferences.Files.PrinterStyleSheetPath

You can also read >>>that posts<<<

 

- alfred -

 

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.