Hi all
I would like to advance generate graphics through my .net customization.
Someone please provide the sample code on advance genrate graphics or how acces the advance generate graphics?
Thanks in advance
Regards
Dayalan
Hi,
If you speak about development for generating geometry with AutoCAD then you can download the >>>ObjectARX-kit<<<, there you have a lot of sampled included.
Otherwise let us know what you mean by "advance generate graphics"
- alfred -
Hi there,
Advanced graphics is a bit of a broad term. We used to use GDI+, there
are loads of examples on the Web to view. The problem however was
that GDI+ is only software accelerated so if you have lots of information
in a dialog (like we do), then things were slowing down to the point where
the Dialog would crawl, it became unusable. We have just finished porting
to OpenGl and the speed is incredible.
I apologise but I would not be able to post any code as this would
be revealing our IP. Good luck.
Maritn.
Hi,
so you don't want to do any development based on AutoCAD? (as you only speak about GDI+ or OpenGL, wondering now that WPF is not mentioned when speaking about perforamance in dialogs 😉 )
So I think (as this forum here is called "AutoCAD Customization ...") this is not the right forum for you.
Sorry, - alfred -
Hi Alfred,
I think I may have missed your point, OP I thought was refering to vector tye Graphics in forms?
Have I got this wrong?
Ta,
Maritn.
Hi all
Thanks for the reply to every one.
My requirement is to generate the graphics on selected grid and also some of the layers only need to display within grid.
These process should be implemented in the single step. I.e user will select only grid. by using the grid, i wanna excute the advance generate graphics option through .net program
Your question is still not clear. "generate the graphics on selected grid" ? Which grid are you referring to ?
WPF uses the GPU to display the graphics. So, if you wish to use WPF to display the graphics in a window, you can do that inside AutoCAD. AutoCAD already uses WPF and hardware acceleration in its UI.