Digital Art Zone

Simple (I’m Sure!), But How Do I Set A Morph Target Dial For A Prop In DAZ Script? SOLVED
Posted: 31 October 2012 02:07 AM   [ Ignore ]   [ # 2 ]
Active Member
Total Posts:  680
Joined  2007-09-01

Solved, and yes it was simple…

oProp.getObject().getModifier(0).getValueChannel().setValue1.0 ); 

Found the answer in Semidieu’s Change shapes value thread, also in the Developer Discussion forum. I’d confused myself because I’d started with a node, not an object (my oProp is a DzNode).

I don’t think I’ll go for the one-line solution I’ve given - a few checks as mentioned in the other thread are probably a wise future-proofing precaution.


Website: UnrealImperfect | Freebies: Renderosity, ShareCG | ‘Art’: DeviantArt | Blog: Blogger
(aka Pete Williams)

Posted: 31 October 2012 10:50 AM   [ Ignore ]   [ # 3 ]
Total Posts:  425
Joined  2003-10-09

Take a look at DAZ Studio > v4.x > Reference Guide > Scripting > API Reference > Samples # Properties.



- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification