.NET

Reply
Active Contributor
dr5156
Posts: 38
Registered: ‎12-08-2010
Message 1 of 7 (241 Views)

Advance Genearte Graphic in .net coding

241 Views, 6 Replies
10-23-2012 04:04 AM

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

Regards,
Dayalan
*Expert Elite*
Alfred.NESWADBA
Posts: 9,371
Registered: ‎06-29-2007
Message 2 of 7 (238 Views)

Re: Advance Genearte Graphic in .net coding

10-23-2012 04:25 AM in reply to: dr5156

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 -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Distinguished Contributor
quigs
Posts: 143
Registered: ‎09-30-2008
Message 3 of 7 (236 Views)

Re: Advance Genearte Graphic in .net coding

10-23-2012 04:31 AM in reply to: dr5156

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.

My name is Martin.. :smileyvery-happy:
*Expert Elite*
Alfred.NESWADBA
Posts: 9,371
Registered: ‎06-29-2007
Message 4 of 7 (232 Views)

Re: Advance Genearte Graphic in .net coding

10-23-2012 04:35 AM in reply to: quigs

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 :smileywink: )

So I think (as this forum here is called "AutoCAD Customization ...") this is not the right forum for you.

 

Sorry, - alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Distinguished Contributor
quigs
Posts: 143
Registered: ‎09-30-2008
Message 5 of 7 (193 Views)

Re: Advance Genearte Graphic in .net coding

10-24-2012 04:43 AM in reply to: Alfred.NESWADBA

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.

My name is Martin.. :smileyvery-happy:
Active Contributor
dr5156
Posts: 38
Registered: ‎12-08-2010
Message 6 of 7 (161 Views)

Re: Advance Genearte Graphic in .net coding

10-24-2012 09:03 PM in reply to: quigs

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

Regards,
Dayalan
ADN Support Specialist
Balaji_Ram
Posts: 733
Registered: ‎03-21-2011
Message 7 of 7 (116 Views)

Re: Advance Genearte Graphic in .net coding

10-29-2012 09:53 AM in reply to: dr5156

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.

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!