AWS Thinkbox Discussion Forums

2.3.0.54180 VFB Ext View Lock Throwing exception

This seems to happen when I try to lock a default perspective view (lower right quad) in max 2014. Seems to work fine with a camera. This throws the exception and crashes the VFB extensions and the frame buffer. Trying to render after the exception, before or after the extensions have closed results in an empty image buffer. The only way to retrieve the VFB is to switch from Krakatoa back to any other render, then switch back to Krakatoa using the default settings.


MAXScript Rollout Handler Exception

– No “”>"" function for undefined

OK

From the listener:

MAXScript Rollout Handler Exception:
– No “”>"" function for undefined <<
– Error occurred in chk_LockViewport.changed(); filename: D:\Program Files\Thinkbox\KrakatoaMX230\Scripts\Krakatoa_VFB_Methods.ms; position: 30621; line: 631
– Frame:
– state: true
– oldState: false

From the editor
Line 632
if not rendUseActiveView and rendViewIndex > 0 do ddl_viewsToRender.selection = indexArray[rendViewIndex]

Dude you write such nice code, you could have done it cleaner I am sure, well I have stopped the exception, seems to work ok but it seems clicky, meaning you to need to click drop-down/switch views/update view list ect. a little more than I remember.

line 611:
if rendViewIndex != undefined and rendViewIndex > 0 do ddl_viewsToRender.selection = indexArray[rendViewIndex]

line 632:
if not rendUseActiveView and rendViewIndex != undefined and rendViewIndex > 0 do ddl_viewsToRender.selection = indexArray[rendViewIndex]

Oh Bobo, I noticed some strange characters and layout in the MXS help, the table with the vp layouts.

docs.autodesk.com/3DSMAX/16/ENU/ … 9E89DE.htm

Thanks. I thought I fixed that… Obviously not.
Btw, I did what I could with the ridiculous implementation that Autodesk provided. If I could do it better, I would.

I must be blind, or using the wrong browser. Can you post a screenshot, with a big red arrow pointing at the problem? :wink:

Reading what I wrote again, it could be mistaken. It was a compliment to your code. I meant you could have fixed it better than I could have, that’s all.

I think the lock is nice to have, I use it and like it personally. After looking at what is there access wise, I can see what you mean, at least you got it to work :slight_smile:

If you zoom out, it fixes itself. The columns seem to have fixed width in this version of the document, and the titles grow until they overlap. Unfortunately, I have very little control over the formatting.

Privacy | Site terms | Cookie preferences