Archicad C++ API
About Archicad add-on development using the C++ API.

!Restored: Fixing old user data on elevations???

Anonymous
Not applicable
Hello,

I'm still in the process of porting my add-on to ArchiCAD 9 and am finding that elements on elevations are not getting their user data fixed.

My addon does basicly the same as the example in APIOldUserDataHandlerProc. It sets user data and attaches observers. This works great for the elements on the floorplan, however elements in the elevations are not getting processed. This means that their user data is lost and they have no observers.

I suspect this is the cause of the problems described in my Missing Addons Message post


Has anyone fixed elevation user data in 9?
Is this a bug in the API?
Is there anyway to fix the user data of elements in the elevations?


My (hopefully temporary) solution will be to trash any existing user data in the elevations and attach observers as required on open of a drawing.

Thanks,
Adam
0 REPLIES 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!