Save the image in “recorder display”

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
burnningcat
Posts: 50
Joined: Mon Jun 18, 2007 1:10 am
Location: ROMA

Save the image in “recorder display”

Post by burnningcat »

Dear Sir,

I use the “recorder display” to show some figures of the model successfully, but these figures only stay in my screen in 0.1 seconds and disappear….So would you please teach me how to make the figures stay in the screen ?
And in the command it is written “recorder display $windowTitle $xLoc $yLoc $xPixels $yPixels <-file $fileName>”
But when I try to use the <-file $fileName> it just can not work, and an error appears:
WARNING ran out of memory –recorder display
So would you tell me the how to write the format of this <-file $fileName>, so as to save the image to a certain file? And should it be *.jpg, *.BMP or something else? Thank you very much for your help!
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Save the image in “recorder display”

Post by vesna »

At the moment saving the file is not working. The way the command works is:
recorder display $windowTitle $xLoc $yLoc $xPixels $yPixels -wipe

After you have it on the screen you can copy it using print screen.
burnningcat
Posts: 50
Joined: Mon Jun 18, 2007 1:10 am
Location: ROMA

Re: Save the image in “recorder display”

Post by burnningcat »

Thank you for your help. But the problem is these figures only stay in the screen for 0.1 second and shut down automaticly and disappear....so would you please teach me how to make these figeure stay in the screen ?

I mean I have alreay used the command of :
recorder display $windowTitle $xLoc $yLoc $xPixels $yPixels -wipe
But the figures just shut down and disappear, then I can not see them clearly
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Save the image in “recorder display”

Post by vesna »

If you run your files by opening opensees.exe and typing in it:

source Name.tcl

the image should stay on the screen.
burnningcat
Posts: 50
Joined: Mon Jun 18, 2007 1:10 am
Location: ROMA

Re: Save the image in “recorder display”

Post by burnningcat »

I try to use the "Source Name.tcl", but the images still disappear in 0.1 second...
Also an error occurs: couldn't read file "Name.tcl":No such file or directory..
I think you want to make an error to stop the disappering of the image.. But it just doesn't work...

Another problem is: the line in the image is so thin, but I check the code and just can not find where to change the colour and the width of the line..so would you please give me some guides? Thank you very much in advance!
vesna
Posts: 3033
Joined: Tue May 23, 2006 11:23 am
Location: UC Berkeley

Re: Save the image in “recorder display”

Post by vesna »

Sorry for confusion. You should not type exactly "source Name.tcl". Instead of Name.tcl you should type a name of the file that you are trying to run.

I do not know if there is a way of changing the width of the line but I know that there is a way to see change in color during the analysis. Try increasing the first number after display command until you see the change in color.
Post Reply