Creation of a Simple Enity with an Anonymus Block as representation

Creation of a Simple Enity with an Anonymus Block as representation

Anonymous
Not applicable
2,713 Views
20 Replies
Message 1 of 21

Creation of a Simple Enity with an Anonymus Block as representation

Anonymous
Not applicable

Hi, 

I'd like to create a simple Arx project containing a simple entity that has a graphical representation. Thanks to @tbrammer  I know that I should use the AcDbBlockReferenc function but I'm not able to found any example on internet that could explain me how to achieve this. I should create a command that when is invoked from AutoCAD, it shows me a custom block, e.g. a car or a weel.

 

Thx,

Marco

0 Likes
Accepted solutions (1)
2,714 Views
20 Replies
Replies (20)
Message 21 of 21

tbrammer
Advisor
Advisor

@Anonymous wrote:

Dialogs should be implemented with objectARX ? 


It's your own choice. You can either implement dialogs with plain MFC or with the MFC extensions classes (CAdUiDialog or CAcDialogBar) or whatever technology you want (like QT / WPF / ...).

Besides this you can implement static or dynamic properties for AutoCAD's OPM (Object Property Manager).

This is an advanced topic using COM.

 

I would recommend to use the technique you are most familiar with - unless you have special requirements concerning the integration into AutoCAD.


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes