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

adjust property "Use Limits" in script [SOLVED]

$
0
0

Hi Everyone,

This is probably a really easy answer but I have been looking through the API and several pages trying to find out how to set a control property to not "use limits" I will in turn be writing another script that turns the limits back on and then sets each of the mins and maxes to a certain integer. I know I can easily go to figure and then click on enable limits but I would really like to include it in my script.

How can I change the Set Limits of a property to on or off using a script?

Here is what I have so far that is of course not working

var limit = nodes[n].findPropertyByLabel( "limits" );
	if(limit){
		print("found it");
		limit.setValue(true);
	}

Thanks in advance for any help.


Viewing all articles
Browse latest Browse all 1036

Trending Articles



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