CustomDataType/Gui like CUSTOMGUI_SPLINE
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2008 at 01:02, xxxxxxxx wrote:
Afaik, undos are handled automatically by Cinema 4D for custom descriptions.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2008 at 01:09, xxxxxxxx wrote:
Not here. If I add the object and then edit the spline points, an undo removes the object and doesn't undo changes to my spline points. The CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI flag is set for the RegisterCustomDataTypePlugin().
Realize that what I have in my iCustomDataType is the spline 'type', 'count' (number of nodes or knots), and a Vector array containing the nodes/knots. type and count are handled as description resources but the Vector array only exists as such and isn't stored in a Description or BaseContainer.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2008 at 01:18, xxxxxxxx wrote:
You have to set the CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI flag for your CustomDataType plugin. Here is the register call of the gradient for instance.
>
\> RegisterCustomDataTypePlugin(GeLoadString(IDS_DATATYPE_GRADIENT), CUSTOMDATATYPE_INFO_LOADSAVE | CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI | CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION|CUSTOMDATATYPE_INFO_NEEDDATAFORSUBDESC, gNew GradientDataTypeClass,1)); \>
Only use CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI for elelments like the gradient or spline. Simple types don't need and shouldn't use this.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2008 at 01:20, xxxxxxxx wrote:
Hmm, maybe I am missing something but isnΒ΄t that just the same what he said he already does? :-?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2008 at 01:33, xxxxxxxx wrote:
oops, indeed, I missed Robert's last post.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/11/2008 at 12:02, xxxxxxxx wrote:
Any idea on how to get the customgui data to the customdatatype? I see that iCustomGui::SetData() is called often whereas iCustomGui::GetData() is never called - so my customgui gets the datatype but can never update it. I have found no way to do this. The only real example that I have for my type of datatype/gui is SplineData/SplineCustomGui but its underlying workings are hidden (as expected).
Come on here. It's coming up on TWO WEEKS since I started this request and I'm still groping in the dark. I can't run a business on R&D; and T&E; in this dismal economic situation. I need support here.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/11/2008 at 13:22, xxxxxxxx wrote:
Thank you very much Robert. It seems to do the trick, but it didnt solve it completely. Im stuck where you are.
Concerning the support, i guess ive got sad news for you (if you didnt know already) :
>
I am on vacation from November the 29th to December the 6th. During this time we can't provide any official SDK support. \> \> cheers, \> Matthias
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/11/2008 at 13:36, xxxxxxxx wrote:
No, I didn't catch that. Well, I'm going the alternative route then with a non-modal dialog and a button in the object's A.M. (the current code has been backed up maybe to be revitalized later). Probably my least palatable solution but I can't wait three weeks or more to get this moving.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/11/2008 at 13:53, xxxxxxxx wrote:
Unfortunately i dont really have another choice, since the data im trying to put in the CustomDataType/Gui is needed quite often and adding it to the description everytime would be... overkill.
it supposed to hold five different types of color information...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/12/2008 at 02:19, xxxxxxxx wrote:
sorry, but.... *bump*
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/12/2008 at 05:40, xxxxxxxx wrote:
I am sorry but I still have to wrap my head around this stuff as well. I will post again if I have something working.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/12/2008 at 07:35, xxxxxxxx wrote:
I'm looking forward to it. Your efforts are really appreciated, Matthias!
Thanks in advance
Yves -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/12/2008 at 07:15, xxxxxxxx wrote:
Sorry to bump this topic again, but another week has passed and my plugin is somewhat useless without the custom datatype... im running out of stuff i can implement without it.
Regards
Yves
(trying hard not to be annoying)