I need to display a DGN file .Any plugin is available?
otherwise how do I proceed?
I need to display a DGN file .Any plugin is available?
otherwise how do I proceed?
"A fool can ask More questions that a wise man cannot answer"
I highly doubt it exists for Qt.
I'm assuming your talking about V8 DGN Cad format?
Read this http://www.bentley.com/en-US/Product...ation/OpenDGN/ , specifically look at the section with the bold heading "V8 DGN Specification" near the bottom of the page.
On the surface it appears you could write your own reader. Read the doco on writing ImageFormat plugins. I wrote one for TIF and I'm nearly done on a .TGA one. It's fairly straight forward to get the plugin happening, but there'll be lots of work implementing the specification. Hunt around for an open source project that implements it, then link the QtDGN ImageFormat plugin to that.
Any specific functionalities that any one know that is being implemented to see a DGN file?.
using dgnlib it will give the elementary information.How to display it?
Any body Knows to integrate Qt with dgnlib?
If you have a .o / .lib file or even the source code for libdgn, then you need to creatre a Qt Image Format plugin. I'll tell you what I'll do, I have a CodeSmithTools template here which I wrote to assist with the creation of an Image Format Skeleton. I'll build you a skeleton for DGN and post it on the forum tonight (it's now 7am where I am).
I'll put in code comments suggesting where you should put code to link to an existing libdgn proejct.
Sound good??
Last edited by stevey; 21st April 2008 at 22:03.
By the way, do you want to be able to edit the DGN rendered image, or just view?
Ya It really sounds good and Thank you if you could.
I just need to display the dgn file as background of my application.
No worries, I'll see what I can do.
I found the dgnlib source code, I'll go the whole hog and attempt to build a complete plugin.
I'll schtick the skeleton template up here tonight as well just in case someone else wants to have a go and gets it done before me
Is there any way to render the elementary information what dgnlib is giving to be directly displayed?
Well, clearly any ca package that uses it does do that step.
Wether it's in the dgnlib api or not will determine if we need to write the code to render to a pixmap is yet to be told. I haven't had a good look at it yet.
Bookmarks