Page 1 of 1

[GiDlist] Frozen Layers and lightnig

Posted: Wed Jun 11, 2003 9:47 am
by Andrea Calaon
Hi everyone,
I would like to access the information about which layers are frozen
in Tcl, is there an easy way?
In GiD 7.3 b I have a problem in postprocessig:
when I use the commands “render FlatLightning” and “render
Normal” the image disappears and there is no way to get it back but
to exit post processing. Are the command suitable for post
processing or shoud I use different ones?
Thanks in advance


Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

[GiDlist] Frozen Layers and lightnig

Posted: Wed Jun 11, 2003 11:24 am
by Enrique Escolano
1) You can get GiD from Tcl about the list of layer names with [.central.s info layers]
and you can ask a layer, for example named 'L1' using [.central.s info layers L1]
The returned information is: { On Frozen R_color G_color B_color }
On and Frozen are logical values, and R,G,B are the color components (integer values from 0 to 255)
To get for example the frozen field use
set FrozenL1 [lindex [lindex [.central.s info layers L1] 0] 1]

2) In postprocess, instead to use (as in preprocess):
View Render FlatLighting
use:
Utilities Render FlatRender

Enrique Escolano

----- Original Message -----
From: "Andrea Calaon" andrea at beasy.com
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, June 11, 2003 10:46 AM
Subject: [GiDlist] Frozen Layers and lightnig


Hi everyone,
I would like to access the information about which layers are frozen
in Tcl, is there an easy way?
In GiD 7.3 b I have a problem in postprocessig:
when I use the commands "render FlatLightning" and "render
Normal" the image disappears and there is no way to get it back but
to exit post processing. Are the command suitable for post
processing or shoud I use different ones?
Thanks in advance


Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030611/ea8d2f2c/attachment.htm

[GiDlist] Frozen Layers and lightnig

Posted: Wed Jun 11, 2003 11:38 am
by Miguel A. de Riera Pasenau
You should use the commands:

utilities render normal
utilities render falt
utilities render smooth

in postprocess.
for the next version the behaviour will be unified to the preprocess one.

miguel

Andrea Calaon wrote:

Hi everyone,
I would like to access the information about which layers are frozen
in Tcl, is there an easy way?
In GiD 7.3 b I have a problem in postprocessig:
when I use the commands ?render FlatLightning? and ?render
Normal? the image disappears and there is no way to get it back but
to exit post processing. Are the command suitable for post
processing or shoud I use different ones?
Thanks in advance

Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

--
--------------------------------------------------------------------------------
Miguel A. Pasenau de Riera miguel at cimne.upc.es http://gid.cimne.upc.es