- Jul 3, 2021
- 4,417
- 21,839
One other thing I use to help me hide body parts and room objects faster, is I found the following script online (in some forums) which will hide things. I basically added it to Daz Sudio and assigned it a shortcut key (in my case "V" for "visible"). Now when I select something, I can simply press "V" to hide it in my scene. Just copy and save this as a .dsa file, a script, add it to Daz, I pressed F3 in Daz and then somehow managed to assign it a key, I honestly forget the details now.How did you manage to delete only the half of upper body bro
Code:
// DAZ Studio version 3.1 filetype DAZ Script
var nSelectedItems = Scene.getNumSelectedNodes();
var n, curNode;
function setPropertyNumeric( oProperty, aKeys )
{
if( aKeys.length == 1 ) {
oProperty.setValue( aKeys[ 0 ] );
return true;
}
else if( oProperty.canAnimate() )
{
for( var i = 0; i < aKeys.length; i += 2 )
oProperty.setValue( aKeys[ i ] + m_nSTART_TIME, aKeys[ i + 1 ] );
return true;
}
return false;
}
function setTransformProperty( sPropertyName, aKeys )
{
var oProperty;
switch( sPropertyName )
{
default:
break;
}
setPropertyNumeric( oProperty, aKeys );
}
if( nSelectedItems == 0 )
MessageBox.warning( "This action requires an item within the scene to be selected.", "Selection Error", "&OK", "" );
else {
beginUndo();
for( n = 0; n < nSelectedItems; n++ ) {
curNode = Scene.getSelectedNode( n );
if( curNode != undefined ) {
curNode.setVisible( false );
}
}
acceptUndo( "Node preset" );
}