.NET

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

How to add .ctb file to drawing file.

900 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,385
Registered: ‎06-29-2007
Message 2 of 6 (899 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 (889 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,385
Registered: ‎06-29-2007
Message 4 of 6 (887 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 (886 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,385
Registered: ‎06-29-2007
Message 6 of 6 (884 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
-------------------------------------------------------------------------
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!