I think the best way to overcome this issue is to turn it into a registered custom property so that you can use the PutAttribute( "Refresh", true) technique. I don't know of another way. I would hope it is not too difficult to convert - just rearranging the code to fit the expected callbacks and making sure the plugin is loaded.
-Andrew
-----Original Message-----
From: owner-3dgames(at)Softimage.COM [mailto:owner-3dgames(at)Softimage.COM]On
Behalf Of Wessam Bahnassi
Sent: Wednesday, December 14, 2005 12:55 PM
To: 3DGames(at)Softimage.COM
Subject: Refresh PPG in C++
Hi again,
My plug-in has a custom property that is updated frequently with new or
deleted parameters. After I finish updating the parameters, I delete the
associated ppg layout and rebuild it from scratch.
The problem is that the new layout isn't visible to the user until he closes
then opens the ppg again, or clicks 'Refresh' at the top of the ppg.
I've searched the SDK guides for a method to force a refresh to the PPG, but
to no avail. Although there is that scripting PPG.Refresh method, as well as
the C++ Context::PutAttribute("Refresh",true) thing, but I'm not using a
registered custom property so the context thing is not an option :(
So I'm really stomped with this one. Anyone knows how to overcome this
issue?
Thanks,
Wessam Bahnassi
Microsoft DirectX MVP,
Lead Programmer
In|Framez
--
In|Structurez Arabic Gamedev Community
www.instructurez.com
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe 3dgames
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe 3dgames