to display a AcDbEntity drived Entity in AutoCAD
to display a AcDbEntity drived Entity in AutoCAD
(OP)
In an ObjectARX Application, I drived myEntity from AcDbEntity.
In order to diaplay myEntity in an AutoCAD window, is it the only way to add the instance of myEntity into the WorkingDataBase?
It is not quite I want.
I want to show an instance of myEntity, only after verifing that it's correct, do I want it become persistant in AutoCAD DataBase.
In order to diaplay myEntity in an AutoCAD window, is it the only way to add the instance of myEntity into the WorkingDataBase?
It is not quite I want.
I want to show an instance of myEntity, only after verifing that it's correct, do I want it become persistant in AutoCAD DataBase.





RE: to display a AcDbEntity drived Entity in AutoCAD
"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford
RE: to display a AcDbEntity drived Entity in AutoCAD
I'm a beginner of AutoCAD.
You said creating a block object, do you mean that creating a block in the WorkingDataBase to hold the instance of myEntity?
In fact, what I do actually is appending myEntity to the BlockTableRecord (that is the ModelSpace) of the workingDatabase.
So that I can display myEntity.
But it seems that when I erase myEntity, it still takes the place in the Database. That's not what I want, since myEntity takes a lot of memory.
RE: to display a AcDbEntity drived Entity in AutoCAD
"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford
RE: to display a AcDbEntity drived Entity in AutoCAD
I'll try to purge the workingDatabase after erasing myEntity, to see if I recovery the memory. And I have to look at the document to learn about the block.
Thank you very much borgunit.