| When writing scripts in PowerDynamo it is useful to be
able to see what is in the session and document.value objects so you can
debug your script and also make sure the correct data is flowing through
your application. To achieve this you can use the following two scripts:
Write out the contents of the session object:
var i;
for( i in session )
{
document.WriteLn( '<BR>' + i + ' = ' + session[ i ] );
}Write out the contents of the document.value: var i;
for( i in document.value )
{
document.WriteLn( '<BR>' + i + ' = ' + document.value[ i ] );
} |