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.

Take an EXTRA 20% OFF of today's related items

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 ]

Extending DzNode

mattiascibienmattiascibien Posts: 140
edited December 1969 in Daz SDK Developer Discussion

Hello,
I have found out that for my plugin I need to detect wether a DzNode (in particular a DzSkeleteon) has finished editing. I have solved the problem by extending the DzNode class and adding a new signal into it that gets emitted when finishedEdit() is called.

My question now is how can I use my extended class in the plugin since I need that my override is called by every DzNode in the scene. I hope that I have explained my problem correctly.

Comments

  • ketthroveketthrove Posts: 63
    edited December 1969

    What you are attempting is not going to work. There is no mechanism to replace all skeletons with your node sub class. Depending on what you are trying to do however there are other signals to listen for: "drawnDataChanged()", and "transformChanged()" on DzNode. "drawnDataChanged()", "cachedGeomUpdated()" on object also.

  • mattiascibienmattiascibien Posts: 140
    edited December 1969

    cachedGeomUpdated()? I have looked for it in the docs but it is not there. Autocompletion shows it by the way.

Sign In or Register to comment.