Reset and remove variables in memory from journal file

Discussion about meshing issues.

Reset and remove variables in memory from journal file

Postby pirom » Wed Jun 12, 2013 9:40 am

Typically, I would would initiate a journal file with the "reset" command, which resets the current environment. However, I've found that this does not remove variables created from previously executed journal files (simple example at bottom). Is there a command that removes variables created from a journal file analogous to the reset command? This can cause undiscovered problems when working with multiple journal files within the same instance of Trelis.

Thanks,
Markus


Execute alpha:

reset
{test_var=10}

Execute beta:

reset
brick x {test_var} y {test_var} z {test_var}


Since the variable test_var is still in memory when executing beta, a brick is created.
pirom
 
Posts: 11
Joined: Tue May 14, 2013 1:18 pm

Re: Reset and remove variables in memory from journal file

Postby csimsoft Moderator » Fri Jun 14, 2013 9:18 am

There is currently no clear variable command. We've added this to our development plan and will make this available in a future version.
csimsoft
csimsoft Moderator
 
Posts: 246
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to Meshing

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Search / Mark

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 58 on Mon Jun 26, 2017 4:19 pm

Users browsing this forum: No registered users and 1 guest