.NET

Reply
Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 1 of 7 (1,087 Views)
Accepted Solution

RealDWG export file to PDF or DWF?

1087 Views, 6 Replies
06-24-2011 12:48 AM

Dear All,

 

Does RealDWG support output DWG file to PDF or DWF format? We can't find those method in the RealDWG toolkits.

 

Thanks!

 

Rick

Board Manager
StephenPreston
Posts: 362
Registered: ‎05-22-2006
Message 2 of 7 (1,079 Views)

Re: RealDWG export file to PDF or DWF?

06-24-2011 06:50 AM in reply to: rick_hgy

Hi Rick,

 

The AutoCAD plot engine is used to create PDF and DWF output. RealDWG is for reading/writing the contents of a DWG file and doesn't contain any AutoCAD 'editor' functionality - no viewing, no plotting, not selection, etc, etc. Which means that you can't use RealDWG to create PDF and DWF output.

 

If you want plot output, you might consider licensing AutoCAD OEM instead, or you could try combining your RealDWG app with DWG Trueview which has a simple (albeit unsupported) COM API. Or you could use the DWF Toolkit to do your own translation to DWF - but that would be a huge amount of work for you.

 

By the way, if you're an ADN member, you're probably better submitting RealDWG questions through DevHelp Online on the ADN website. The userbase for RealDWG is relatively small (compared to AutoCAD), so I'm not sure you'll find many experts monitoring the forums.

 

Regards,

 

Stephen Preston

Autodesk Developer Network

Cheers,

Stephen Preston
Autodesk Developer Network
*Expert Elite*
norman.yuan
Posts: 946
Registered: ‎04-27-2009
Message 3 of 7 (1,076 Views)

Re: RealDWG export file to PDF or DWF?

06-24-2011 06:54 AM in reply to: rick_hgy

RealDwg is mainly for dealing with DWG file (e.g. manipulating data in drawing database) which is corresponding to setting refernce to acdbmgd.dll. Plotting, on the other hand, depneds on application that host a drawing database (DWG file), such as AutoCAD (e.g. setting reference to acmgd.dll), or your custom application that uses RealDwg.

 

So, plotting a drawing data to PDF/DWF is your development task, if you choose to use RealDwg, not AutoCAD. There may be third party components available that meet your need, though.

 

Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 4 of 7 (1,071 Views)

Re: RealDWG export file to PDF or DWF?

06-24-2011 07:15 AM in reply to: StephenPreston

Thanks Stephen and norman! 

 

I will take a view about AutoCAD OEM.

Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 5 of 7 (1,051 Views)

Re: RealDWG export file to PDF or DWF?

06-27-2011 10:58 PM in reply to: StephenPreston

Dear Stephen,

 

We dicide to use DWG Trueview for view/plot pdf, thanks for your suggestion.

 

now we find the Plot() in DWG Trueview ActiveX control, it's call and display the plot dialog. how to transfer the selection and input for this dialog by silent mode?

 

Another question, silentpublish() can publish a DWG file to PDF, how to set the default output format to PDF not DWF?

 

Thanks and My Regards,

 

Rick

 

 

New Member
greenock1326
Posts: 1
Registered: ‎08-31-2012
Message 6 of 7 (630 Views)

Re: RealDWG export file to PDF or DWF?

01-08-2013 08:18 AM in reply to: rick_hgy

Can someone help us with this question?

"silentpublish() can publish a DWG file to PDF, how to set the default output format to PDF not DWF?"

 

The Silentpublish() won't print anything else then DWF. I need PDF's..

 

Changing the PC3 file has no effect.

 

axAcCtrl1.SetPc3File("DWG to PDF.PC3");

I saw in DWG Trueview 2013 the publish in background or plat in background does not work. Maybe this has something to do with it?

 

Valued Contributor
rick_hgy
Posts: 77
Registered: ‎04-13-2009
Message 7 of 7 (611 Views)

Re: RealDWG export file to PDF or DWF?

01-08-2013 05:51 PM in reply to: greenock1326

Hi,

 

We developed a AutoCAD Batch Publish tools publish to Aspps Store, you can find it from apps.exchange.autodesk.com by find "HANNA" of AutoCAD product.

 

Also we provide by slident mode or by queue.

 

Regards,

 

Rik

 

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community