Congratulations! You are a March Madness BONUS BUYER!

Enjoy 10% OFF* ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.

Buy 2 or more Newly Mad new release and get an EXTRA 30% OFF Newly Mad releases.

Offer valid for intended recipient only
* 10% discount DOES apply to Gift Cards and Memberships. **Items must be in cart simultaneously for discount to apply.
[ collapse ]

[SOLVED]Get Objects Name

mattiascibienmattiascibien Posts: 140

I have actually started to work on my plugin for DAZ Studio 4.5.

I need in fact to pass to a functions the name of the objects. The problem is that the name passed is the same even if i changed it (i.e. Genesis while I should have the name i provided in the Scene Tab).

I tried whith DzNode::getName(), DzObject::getName() but I always get the wrong name.

Post edited by mattiascibien on


  • Richard HaseltineRichard Haseltine Posts: 32,444
    edited December 1969

    You want the label, not the name - that's what shows in the Scene pane. Anything derived from DzObject should have a getLabel() function that returns a string.

  • mattiascibienmattiascibien Posts: 140
    edited December 1969

    Everything is working fine with getLabel().

    Thanks :)

Sign In or Register to comment.