Problem with Xref Data and more...

 
 
 
Posted by:mtea
Data created:26 October 2010

I have a big problem with zk and xref and a few more only in zk, but with xref it is very important

i had a room, in this scene i used zk..now i want to load a xref, where i used zk too...than this will happen and the scene is complete destruct..

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Views.Tree.#=qMpcjQaSPOw5kUZZs3K8S8xaUCpwe1DRWP7seNuXhgZM=(#=qgG$4MvJI9xDgGjPx9_CZ5Q== #=qpn_6V74_7AGJfygKHRZBTg==, Boolean #=qJF0DSQ48WOlUYirkEkhPjg==)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Views.Tree.#=qDFprVn9jMefLcv7D67Cf5tblGRDtIVGfF7eGMJ2PJjo=(#=qZWBPDVVMVF4pwio7KikXtw== #=qsXLlsrdJYsvdk0sm8tn$Og==, #=q2bNDtokyYj25l6xgf$l$YEDX4YhQ0$tkv7nQ$QzzcGuPxNtRGqcyB8Rwf_m6APH2 #=qV6XUS0CzERXKn1hoQq$8RA==)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.ObjectNodeControlMaintainer.#=qPKRowa9hPkXrAAyLPqSgKRz$8zxZwdGJJZP8zrqfme8=(Entity #=qRrwhYMiENBAPxqNnmTeioA==, #=q2bNDtokyYj25l6xgf$l$YEDX4YhQ0$tkv7nQ$QzzcGuPxNtRGqcyB8Rwf_m6APH2 #=qa87E_HFLNdsAdNjMfB6Ppg==)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Plugin.CurrentLayerChangedHandler.Invoke(IILayer layer)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Entities.ILayer.SetProperty(BooleanProperty property, Boolean value)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Views.Tree.#=qNZDOie$Nt4Rb1490r84iDbW1pjsZXxtMiaOMPtndZL4=(#=qZWBPDVVMVF4pwio7KikXtw== #=qKLsKjJBltAfczzf20UbmKw==, ILayer #=qWWTHtQb1mdn0Vl$8AYopSA==, Boolean #=q6gRaHiQ2Mp4_V7$tAGDaxA==)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Views.Tree.#=qn8dIzMM5gxiFWioTk$2iAgVVqI5xRbsOwrOWyi1DTW0=(#=qZWBPDVVMVF4pwio7KikXtw== #=qXIsLanyD$6tlUuXnA0nj3Q==, Point #=qJdCRg7MwgxtYpilfpSkvFQ==)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Views.Tree.#=qHqJN8dFz7z1cczT9YjgbSXZ$ueuK9i$2gmOrk0VpjBg=(MouseEventArgs #=q3y_w666TGR3eQnl09XWddg==, #=qZWBPDVVMVF4pwio7KikXtw== #=q$vsTALjjh7q6$yLXULG2Rg==, #=qyEGkeTx2LuPsw1k82buqlw== #=qU6ii7VFDPzFyPb8LTbePUQ==)
   bei #=qps3vQHFXY3tG9eNRW4hDOBfq2gwFqc$jFBSpbKkZbrg=.OnMouseDown(MouseEventArgs #=qaLM3QG5YWkH8bmwQ2oJo0g==)
   bei Ephere.Plugins.Autodesk.Max.Zookeeper.Views.Tree.OnMouseDown(MouseEventArgs #=qHVt_oHdSnjh59VsFf7_MpQ==)
   bei System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

so now i thought it depends on the zkanchor..so i reset the zk in the xrefscene and loaded it into the roomscene...nothing happened, so it is not possible to see the layers of the xref file in the zk...but there are in the layer manager of max..

 

the same problem is the same with merging files..i canat merge two scene with zk..zk is not able to show all files than..

that's real big problem, because we always work with xref and of course zk..

 

so now to the small problem:

-if you delete nodes in the schematic view than they are not deleted..that is great..something like hiding..but the problem is, if you make a new not on the node, where you delete (hide) the last node, zk will make a new node..if you delete, you first have to refresh to see, that there is something in the node...

-a few more will come in future, but now i have to make the project:)

Hi Hannes,

I will quote what Marsel wrote for some of this (and others that are reading) 

"it is one of the issues that we are aware of. ZKAnchor hidden scene node contains all Zookeeper information inside of it. If you delete it you remove all that information (including info about layer nesting). You can do that automatically bu using "Reset" option from the Zookeeper menu in 3dsmax.

Merging two ZKAnchors isn't fully supported at the moment. If you do merge ZKAnchor from another scene Zookeeper will ignore it, and therefore also any layers and layer groups contained within it. The workaround I would suggest is the one you have discovered.

Proper merging has been on my TODO list for a while and I am going to bump it and see if this can be sorted in the next few builds. We apologize for any inconvenience meanwhile and hope that you can bear with it until its fixed"

On top of this I can say this is a high priority on the TODO :). With Xrefs and layers there appears to be a notification issue at the moment. This is why reseting ZK should load all the layers AOK after they are all referenced. We expect to have this working better very soon.

Thanks

Michael McCarthy