ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

copied-fkt of an entitiereactor does not react

2 REPLIES 2
Reply
Message 1 of 3
_mm_
144 Views, 2 Replies

copied-fkt of an entitiereactor does not react

hello,



my entity has an entityreactor with the copied-function:

virtual void copied(const AcDbObject* dbObj,const AcDbObject* newObj);.

if i copy this object with the copy-button in acad it works unproblematic.

but the problem is, if i use strg+c to copy and strg+v to paste the new entity in the map, then the pasted entity has another id as the object (newObj) that is given in the copied-fkt of the reactor -> its not the same.

why? i want to copy information from the oldObj to the newObj, but its impossible with the usage of Strg+c and Strg+v.



have anyone an idea?



with kind regards

marco
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: _mm_

This is as it should be.  The strg+c copies
the selected entities out to a temporary drawing file.  The strg+v inserts
the temporary drawing file into the current document.  So, it's a two
step process and you only have a reactor monitoring the first step.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
hello,

my
entity has an entityreactor with the copied-function:
virtual void
copied(const AcDbObject* dbObj,const AcDbObject* newObj);.
if i copy this
object with the copy-button in acad it works unproblematic.
but the problem
is, if i use strg+c to copy and strg+v to paste the new entity in the map,
then the pasted entity has another id as the object (newObj) that is given in
the copied-fkt of the reactor -> its not the same.
why? i want to copy
information from the oldObj to the newObj, but its impossible with the usage
of Strg+c and Strg+v.

have anyone an idea?

with kind
regards
marco
Message 3 of 3
_mm_
in reply to: _mm_

is this a bug of acad (objectarx)?

marco

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost