Running journal file

General topics about Trelis/Cubit, such as localization, GUI, etc.

Running journal file

Postby jthunes » Thu Jun 13, 2013 12:07 pm

In cubit, I could directly run commands from previous sessions by copying lines from the journal file (history*.jou) to the cubit command line.

In Trelis, the journal file has been changed. It now appears to be a python script. All lines now begin with "cubit.cmd". The cubit/trelis commands are now inside brackets following that command.

I can no longer simply copy/paste into the trelis command line. Nor do I seem to be able to run the file using Tools->Play Journal File.

Is there a way to restore the previous functionality? I have been manually stripping the wrapping away from the commands, but it's not terribly convenient.

Thanks
jthunes
 
Posts: 1
Joined: Thu Jun 13, 2013 11:58 am

Re: Running journal file

Postby csimsoft Moderator » Fri Jun 14, 2013 10:01 am

Cubit and Trelis history*.jou files are saved in Python syntax. They will need to be translated to Trelis syntax to copy and paste into the command line. You can do this easily without having to manually strip the cubit.cmd. Open the journal file in the journal editor and click the Trelis T on the right of the toolbar. This is the Translate to Trelis Commands button.

Regular journal files, such as those you save from the journal editor, are saved in the format specified in Options. You can change this by going to Tools>Options>General and then look for the Default Syntax in the Journal Editor section.

With the Default Syntax set to Cubit, journal files can be copied and pasted into the Command Line and run with the Play Journal File command under the Tools menu.

I hope this helps.
csimsoft
csimsoft Moderator
 
Posts: 237
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to General Topics

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Search / Mark

User Control Panel

Login

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 50 on Mon Feb 23, 2015 7:54 pm

Users browsing this forum: No registered users and 0 guests