what the difference between RealDWG/AutoCAD API?

what the difference between RealDWG/AutoCAD API?

Anonymous
Not applicable
2,892 Views
6 Replies
Message 1 of 7

what the difference between RealDWG/AutoCAD API?

Anonymous
Not applicable

We want to use RealDWG to modify DWG file, what the differece of those two APIs? did't it provide create/edit/print API?

0 Likes
2,893 Views
6 Replies
Replies (6)
Message 2 of 7

michael_robertson
Collaborator
Collaborator

Real Dwg:

4. What is the difference between RealDWG and ObjectARX for AutoCAD?

RealDWG is a subset of ObjectARX and contains the APIs for reading and writing AutoCAD DWG and DXF files. RealDWG does not contain support for viewing and access to the AutoCAD user interface.

Also, ObjectARX applications always require AutoCAD as their host application. RealDWG does not require the presence of AutoCAD software. RealDWG is used to create host applications, but ObjectARX is not.

 

Unfortunately, no, plotting is not a part of RealDwg. Plotting uses the
regen/graphics pipeline that is a part of AutoCAD.

Mike Robertson
FL. Dept. of Transportation
CADD Applications Developer
0 Likes
Message 3 of 7

Anonymous
Not applicable

Thanks, Mike.

 

So RealDWG can do most job that ObjectARX's do, except the View/Graphics work.

 

Can we use the RealDWG to modify the Dynamic block or insert/delete the  Dynamic blocks?

 

thanks again.

 

My Regards,

 

Rick

0 Likes
Message 4 of 7

michael_robertson
Collaborator
Collaborator

I haven't used RealDWG myself but have been to training sessions on it.

 

To the best of my understanding you can do any type of file/entity modifications as you want, you just can't visually see anything unless your application uses it's own visuallization engine (like Bentley MicroStation used REALDWG inside MicroStation to modify dwg entities, but uses it's own engine to provide the GUI, visuallization, and plotting).

 

You can't call editor functions in ReadDwg because they are interface based. I'm not sure but you may be limited in some geometry aspects like detecting intersection methods because in they depend on the graphics engine (not sure on this one).

Mike Robertson
FL. Dept. of Transportation
CADD Applications Developer
0 Likes
Message 5 of 7

Anonymous
Not applicable

Got it. so RealDWG just only read/write DWG database; any function need interface can't be called.

 

Thanks!

 

Rick

0 Likes
Message 6 of 7

arcticad
Advisor
Advisor

Another options is to use the Open Design Alliance API

if you are only using it for internal use then the cost is significantly less.

 

http://www.opendesign.com

---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 7 of 7

Anonymous
Not applicable

thanks, and it looks like a good solution

0 Likes