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

A most Basic Question. How to Print a variable [Solved]

$
0
0

I'm trying to learn daz scripting, I've worked with JS before, though it's been awhile. Seeing the results of variable along the way has always helped me understand whats going on. I have used a lot of the examples and broke them down, but a problem I run into is when I do something as as simple as:

var node = null;

node = Scene.getPrimarySelection()

print (node);

The printed result is :

[object Object]

rather than Genisis8Female, or whatever I have selected. I know its got a value, because I can manipulate it with If statements correctly.

Anyone have any idea if this is normal behavior or what I've done wrong?


Viewing all articles
Browse latest Browse all 1067

Trending Articles



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