DescriptionCustomGui in AM?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/12/2006 at 21:28, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.2-10.0
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
I like the fact that you can add the Attributes Manager Description of an object into a dialog (ala ActiveObject example). It would even be better if you could do the same in the Attributes of another object.For instance, there is a tag on an object. Under that object is childed another object. I'd like to know if it is possible to show the description resource of the childed object in the tag's description (Attributes Manager) the way that ActiveObject shows the Object Manager list and the Attributes of the selected object in a DescriptionCustomGui.
Thanks,
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/12/2006 at 06:29, xxxxxxxx wrote:
hmm, should be possible. Why don´t you simply try it?
I´d set the object of interest within GetDDescription. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/12/2006 at 06:48, xxxxxxxx wrote:
The problem is how to do it. I see tons of methods that work with customguis, descriptions, and resources but nothing that seems to be what would let you insert the DescriptionCustomGui into the AM (into another DescriptionCustomGui, basically) like you can do it in a GeDialog (with AddCustomGui()).
As far as I can tell, the DTYPE_s don't cover this and this is required for GetCustomDataTypeDefault(). DTYPE_MULTIPLEDATA or DTYPE_SUBCONTAINER might, but I'm hard pressed to find an example, decent explanation, or reference here.
I did naively try it and couldn't find enough info to continue. So, I'm awaitin' for possible clues or direction.
Thanks,
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/12/2006 at 07:31, xxxxxxxx wrote:
Hmm, you are right. I just looked into the api and it seems that it´s only available as a customgui. The datatype is missing and therefore it´s not possible. (at least I don´t see an appropriate datatype that could use the customgui)
So the only thing you can do is creating your own datatype and incorporate the customgui into your datatype, which is not trivial, but if you search the forum you will find an example of how to create a datatype (also the sdk has an example, but I didn´t find it useful back then).