We want to use RealDWG to modify DWG file, what the differece of those two APIs? did't it provide create/edit/print API?
Real Dwg:
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.
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
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).
Got it. so RealDWG just only read/write DWG database; any function need interface can't be called.
Thanks!
Rick
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.
Can't find what you're looking for? Ask the community or share your knowledge.