[GiDlist] Collapse problem

Hi GiD team,
I am using the Tcl command:

GiD_Process MEscape utilities Collapse lines $l_lines escape

where l_lines is a list of lines in a special layer.

Provided that l_lines is not empty, the command seems to have NO EFFECT
on the GiD database. If I paste the same command in the GiD command
line:

utilities Collapse lines 55 56 78 … escape

with the explicit list of lines the command works.
All interested layers (inclusive the layer where the junction points
are) are unloked and all conditions on points are deleted.

Am I doing something wrong?

Regards




Andrea Calaon

I would try something more similar to:

eval

  • $l_lines escape

Have you studied deeply the 11 TCL rules?


Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46

En Wed, 06 Jun 2007 14:24:50 +0200, CALAON Andrea Dalmine R&D
acalaon at dalmine.it escribió:

Hi GiD team,
I am using the Tcl command:
GiD_Process MEscape utilities Collapse lines $l_lines escape
where l_lines is a list of lines in a special layer.
Provided that l_lines is not empty, the command seems to have NO EFFECT
on the GiD database. If I paste the same command in the GiD command
line:
utilities Collapse lines 55 56 78 … escape
with the explicit list of lines the command works.
All interested layers (inclusive the layer where the junction points
are) are unloked and all conditions on points are deleted.
Am I doing something wrong?
Regards



Andrea Calaon


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_

\

Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46

¿Where can we read them?

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de Ramon Ribó
Enviado el: miércoles, 06 de junio de 2007 15:20
Para: gidlist at gatxan.cimne.upc.edu
Asunto: Re: [GiDlist] Collapse problem


I would try something more similar to:

eval

  • $l_lines escape

Have you studied deeply the 11 TCL rules?


Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46

En Wed, 06 Jun 2007 14:24:50 +0200, CALAON Andrea Dalmine R&D
acalaon at dalmine.it escribió:

Hi GiD team,
I am using the Tcl command:
GiD_Process MEscape utilities Collapse lines $l_lines escape
where l_lines is a list of lines in a special layer.
Provided that l_lines is not empty, the command seems to have NO EFFECT
on the GiD database. If I paste the same command in the GiD command
line:
utilities Collapse lines 55 56 78 … escape
with the explicit list of lines the command works.
All interested layers (inclusive the layer where the junction points
are) are unloked and all conditions on points are deleted.
Am I doing something wrong?
Regards



Andrea Calaon


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_

\

Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46


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


Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46

En Wed, 06 Jun 2007 16:44:15 +0200, Miguel Pasenau miguel at cimne.upc.edu
escribió:

¿Where can we read them?
-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de Ramon Ribó
Enviado el: miércoles, 06 de junio de 2007 15:20
Para: gidlist at gatxan.cimne.upc.edu
Asunto: Re: [GiDlist] Collapse problem

I would try something more similar to:
eval

  • $l_lines
    escape
    Have you studied deeply the 11 TCL rules?

    Compass Ing. y Sistemas Dr. Ramon Ribo
    http://www.compassis.com ramsan at compassis.com
    c/ Tuset, 8 7-2 tel. +34 93 218 19 89
    08006 Barcelona, Spain fax. +34 93 396 97 46
    En Wed, 06 Jun 2007 14:24:50 +0200, CALAON Andrea Dalmine R&D
    acalaon at dalmine.it escribió:
    Hi GiD team,
    I am using the Tcl command:
    GiD_Process MEscape utilities Collapse lines $l_lines escape
    where l_lines is a list of lines in a special layer.
    Provided that l_lines is not empty, the command seems to have NO EFFECT
    on the GiD database. If I paste the same command in the GiD command
    line:
    utilities Collapse lines 55 56 78 … escape
    with the explicit list of lines the command works.
    All interested layers (inclusive the layer where the junction points
    are) are unloked and all conditions on points are deleted.
    Am I doing something wrong?
    Regards



    Andrea Calaon

GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_




\

Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46