.NET

.NET

Reply
Valued Contributor
88 Posts
0 Kudos
Registered: ‎02-28-2012
Post 1 of 6
Accepted Solution

How to add .ctb file to drawing file.

997 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*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 2 of 6

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
88 Posts
0 Kudos
Registered: ‎02-28-2012
Post 3 of 6

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*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 4 of 6

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
88 Posts
0 Kudos
Registered: ‎02-28-2012
Post 5 of 6

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*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 6 of 6

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!