[GiDlist] How to output result in binary format?

Moderator: GiD Team

ieea

[GiDlist] Find a tcl process to assign condition to a point

Post by ieea »

Dear All,

I wish to write a tcl procedure to assign a condition to a point.

After having created a single point (number 1) I used this command:

.central.s process data conditions assign 1 escape \
close

but it seems to be a wrong command.

Can you help me please.

G.W.R.Geis
Aleix Valls

[GiDlist] Find a tcl process to assign condition to a point

Post by Aleix Valls »

Hi,

Try to use this command:

.central.s process escape escape escape escape escape Data \
Conditions AssignCond "Name_of_the_condition" "ID_of_point"
escape

Normally, it is a good trick use a sequence of "escape's" before begin
with commands (with this escape sequence you bring GiD to the initial
state).
A good tool to see how GiD commands have to be written, it is use the
GiD batch file. More information can be found in GiD help.

Bye,

Aleix

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es] En nombre de ieea
Enviado el: sábado, 19 de octubre de 2002 17:11
Para: GiDlist at gatxan.cimne.upc.es
Asunto: [GiDlist] Find a tcl process to assign condition to a point

Dear All,

I wish to write a tcl procedure to assign a condition to a point.

After having created a single point (number 1) I used this command:

.central.s process data conditions assign 1 escape \
close

but it seems to be a wrong command.

Can you help me please.

G.W.R.Geis


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

[GiDlist] Find a tcl process to assign condition to a point

Post by Enrique Escolano »

Before the point or points number it is needed the name of the condition to
assign, for example Point_Constraint:
(and before to assign any condition it is needed to load a problem type with
this condition defined over points)

For example:
.central.s process escape escape escape escape data conditions assigncond
Point_Constraint 1 escape

About your previous questions: You can create an auxiliary line to define
your antenna orientation.
put your line in a "special" layer and ignore this line for the mesh
generation or another operations.

Enrique

----- Original Message -----
From: "ieea" ieea at club-internet.fr
To: GiDlist at gatxan.cimne.upc.es
Sent: Saturday, October 19, 2002 5:11 PM
Subject: [GiDlist] Find a tcl process to assign condition to a point


Dear All,

I wish to write a tcl procedure to assign a condition to a point.

After having created a single point (number 1) I used this command:

.central.s process data conditions assign 1 escape \
close

but it seems to be a wrong command.

Can you help me please.

G.W.R.Geis


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

Ramon Ribó

[GiDlist] Find a tcl process to assign condition to a point

Post by Ramon Ribó »

Hello,

If you want to assign the condition with values different from
the defaults, you should use something like the following:

.central.s process escape escape escape escape data cond assign \
$_CndName change $Values $l escape

In this case, this command can be found in DataWindows.tcl
You can find a lot of information just by investigating the GiD TCL
scripts.

Regards and happy Christmas to everybody,

--
Compass Ing. y Sistemas Dr. Ramon Ribó
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es]En nombre de Enrique Escolano
Enviado el: jueves, 19 de diciembre de 2002 19:24
Para: gidlist at gatxan.cimne.upc.es
Asunto: Re: [GiDlist] Find a tcl process to assign condition to a point


Before the point or points number it is needed the name of the condition to
assign, for example Point_Constraint:
(and before to assign any condition it is needed to load a problem type with
this condition defined over points)

For example:
.central.s process escape escape escape escape data conditions assigncond
Point_Constraint 1 escape

About your previous questions: You can create an auxiliary line to define
your antenna orientation.
put your line in a "special" layer and ignore this line for the mesh
generation or another operations.

Enrique

----- Original Message -----
From: "ieea" ieea at club-internet.fr
To: GiDlist at gatxan.cimne.upc.es
Sent: Saturday, October 19, 2002 5:11 PM
Subject: [GiDlist] Find a tcl process to assign condition to a point


Dear All,

I wish to write a tcl procedure to assign a condition to a point.

After having created a single point (number 1) I used this command:

.central.s process data conditions assign 1 escape \
close

but it seems to be a wrong command.

Can you help me please.

G.W.R.Geis


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


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