ScriptSpot

Forum topic · General Scripting

registerRedrawViewsCallback errors

By jdigital · 2008-12-30

Description

Basically every time I try to use the viewport callback to refresh or whatever it works until I delete the object.

Just so this makes some sense.

Create an object then
create a FN to set the objects name to the MaxFileName
Use the viewport callback so that it updates when the maxfile is saved

It works fine, now if I delete that object I always get an error.

Even if I use the UnregisterRedrawViewsCallback then delete the object.

Just thought I'd post this up here hoping someone would be able to reply....

thanks

Comments (1)

jdigital · 2009-01-05

Never mind....

I figured out how to get the viewport redraw callback to work now with out errors.

Thanks anyway