AcDbDatabaseReactor::objectAppended(...)

AcDbDatabaseReactor::objectAppended(...)

Anonymous
Not applicable
379 Views
1 Reply
Message 1 of 2

AcDbDatabaseReactor::objectAppended(...)

Anonymous
Not applicable
hi,

i want to react, when the user creates an new ACAD-Entity for example a line or rotateddimension etc.
but i have a problem in the objectAppend-method.
If i create a line, then the new object is an "AcDbLine" - dbObj.>isA()->name().
But, if i create a rotatedDimension, then the new object are not only one object. now the method show me the component of the rotateddimension.

How can i find out, if the object is only a acdbline or a rotated dimension?

please help

with kind regards
marco
0 Likes
380 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Look at the object id returned by calling each object's blockId() member, to see if it is the Model/Paper space block. All other objects will be owned by another block. -- http://www.caddzone.com AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006 http://www.acadxtabs.com "_mm_" wrote in message news:23439196.1112797305592.JavaMail.jive@jiveforum1.autodesk.com... > hi, > > i want to react, when the user creates an new ACAD-Entity for example a line or rotateddimension etc. > but i have a problem in the objectAppend-method. > If i create a line, then the new object is an "AcDbLine" - dbObj.>isA()->name(). > But, if i create a rotatedDimension, then the new object are not only one object. now the method show me the component > of the rotateddimension. > > How can i find out, if the object is only a acdbline or a rotated dimension? > > please help > > with kind regards > marco
0 Likes