Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1040

Transfer Utility

$
0
0

I have constructed a test script. Said script pulls scene selected nodes as objects, let's call them object 1 and object 2.

So far, so good. Debug shows this part happens.

I then construct a transfer utility object using the default constructor. Call this oTransfer

Then a function, which takes as inputs object 1, object 2, and an array of morphs. Said fucntion uses the various set methods for DzTransferUtility on oTransfer. (say oTransfer.setFitToFigure( false );)

We then end with oTransfer.doTransfer()

The ScriptIDE says the script returns true for doTransfer. Nothing, however, happens. Debugging every part of the script is returning expected results so I assume I am not actually using DzTransferUtility as intended.

Am I supposed to be calling the TU action and passing it a settings object constructed using DzTransferUtility? I've been casting about the docs for a couple of days and I'm not seeing anything jump out at me. Not looking for a solution handed down as much as needing a pointer in the direction this is expected to go. I could be totally off base, but given that everything checks out, I'm assuming there's a step I'm not taking, or I am totally misusing the object/methods.


Viewing all articles
Browse latest Browse all 1040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>