Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/08/2005 at 22:50, xxxxxxxx wrote:
User Information: Cinema 4D Version: 9 Platform: Windows ; Language(s) : C++ ;
--------- Hello........
Can I query the user data of an object? Let's say ... I create a cube in Cinema4D (not using SDK)... Then I add a user data named "AAA" and type string.
In code .. I open the file that cube is existing ... Then ...
BaseObject*obj=GetActiveDocument()->SearchObject("Cube"); if (obj) { BaseContainer *bc=obj->GetDataInstance(); bc->GetString(.... what do I have to do? To get that data "AAA" is possible or not?
With all my respects ... ZawMinTun
On 11/08/2005 at 12:28, xxxxxxxx wrote:
Yes. Use obj->GetDynamicDescription() to access the user data DescID's. Then you can access the user data with obj->GetParameter().
On 11/08/2005 at 21:20, xxxxxxxx wrote:
Yes ........ Thanks a lot for your reply ... It helped me a lot ... Now I can get it ...