We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2017-06-14 04:43 PM - last edited on 2022-12-06 02:05 PM by Daniel Kassai
2017-06-14 09:36 PM
kostek142 wrote:Take a look at the
I use function function ACAPI_Element_SetUserData to attach additional information. The problem is that this data is copied with element when i "Drag a Copy" and then I have to deal with unwanted behaviorur caused by that. Is there a way to prevent archicad from copying this additional bytes?
2017-06-15 01:05 PM
2017-06-15 01:24 PM
kostek142 wrote:I'd forgotten about that – the relevant flag
Can you tell me what specific flag can prevent my data from being copied? I think I have tried all of them with no positive result.
2017-06-15 03:15 PM
Ralph wrote:If I remember well you have to leave the userData.flags empty, which means that the user data will not be copied to the new element. If you want to update the user data, then do as Ralph suggested.kostek142 wrote:I'd forgotten about that – the relevant flag
Can you tell me what specific flag can prevent my data from being copied? I think I have tried all of them with no positive result.APIUserDataFlag_Copydisappeared from AC18 onward. You may need to request notification of the creation of new elements so you clear/update the data attached to the element as required. Perhaps someone else might have another solution.
2017-06-16 07:37 PM
2017-06-30 12:56 PM
kostek142 wrote:Thanks!
Thanks for reply Akos.
Unfourtunately leaving flag empty also wasn't the solution. I found workaround, just wanted to notice the fact, maybe you can fix it in the next build of API or something
Regards