高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】how to ue asdksmileydb.dr
how to ue asdksmileydb.drx ?
how to ue asdksmileydb.drx ?
hi,
as a newbie in using drx modules i need a little help to start. i have found the example "asdksmileydb_2.05_9.drx" in the current version. and i think i understand how this object is programmed. but my problem is, how do i use this object in my application? for example, how do i create a smiley in odamfcappdll.exe ?
it would be nice if someone could give me a short example.
michael
autodesk's objectarx samples contain the smiley sample.
our smiley illustrated how the same object can be implemented in dwgdirect.
our sample is not complete. it illustrates only .dbx part of autodesk's smiley: load / save / draw etc.
the code contained in our sample will be activated if you load a file with smiley created in autocad (with their smiley sample loaded).
our sample contains now implementation of creating smiley entity.
but you can easily enhance our sample. to create the smiley entity you need only call
asdksmiley::createobject(),
set it's properties and append it to active space.
surely you'll need to include smiley headers and link with it.
sergey slezkin
|