[GiDlist] loop over conditions
Moderator: GiD Team
[GiDlist] loop over conditions
I already made a loop over nodes with a condition set. But the output is
not exactly what I want.
When I made:
*set Cond Point_Déplacement_imposé *nodes
*loop nodes *OnlyInCond
*format "_F(NOEUD='N%i',DX=%f, DY=%f, DZ=%f,),"
*NodesNum*cond(1,real)*cond(2,real)*cond(3,real)
*end nodes
the output was
NOEUD='N3',DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
NOEUD='N7',DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
What I would like to have is:
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000
Condition2 DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,
and then
NOEUD='N3' Condition1
NOEUD='N7' Condition2
I would also want to make a list of all nodes that have assigned
condition1 and all nodes that have assigned condition2
Is there any way to do it?
Best regards,
-------------------------------------------------
Mihai TEODORESCU
Email: mihai.teodorescu at prevost-industries.com
-------------------------------------------------
not exactly what I want.
When I made:
*set Cond Point_Déplacement_imposé *nodes
*loop nodes *OnlyInCond
*format "_F(NOEUD='N%i',DX=%f, DY=%f, DZ=%f,),"
*NodesNum*cond(1,real)*cond(2,real)*cond(3,real)
*end nodes
the output was
NOEUD='N3',DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
NOEUD='N7',DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
What I would like to have is:
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000
Condition2 DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,
and then
NOEUD='N3' Condition1
NOEUD='N7' Condition2
I would also want to make a list of all nodes that have assigned
condition1 and all nodes that have assigned condition2
Is there any way to do it?
Best regards,
-------------------------------------------------
Mihai TEODORESCU
Email: mihai.teodorescu at prevost-industries.com
-------------------------------------------------
[GiDlist] loop over conditions
Each GiD condition instance have the own values and pointed entity, it is not shared
a instance of a condition between entities.
Your desired work mode is similar to the GiD materials: a small collections of materials, and multiple entities
pointing to the same material.
If it does not use the materials for another thing, can use instead a condition.
You can also obtain your desired format with this:
*set Cond Point_Déplacement_imposé *nodes
*set var cont=0
*loop nodes *OnlyInCond
*set var cont=operation(cont+1)
*format "%i%lf%lf%lf"
Condition1 *cont DX=*cond(Dx,real),DY=*cond(Dy,real), DZ=*cond(Dz,real)
*end nodes
*set var cont=0
*loop nodes *OnlyInCond
*set var cont=operation(cont+1)
*format "%i%i"
NOEUD='N*NodesNum' Condition*cont
*end nodes
Note 1: the obtained number of lines of conditions definition
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000
is the same as the number of lines of nodes with this condition
NOEUD='N3' Condition1
Note 2: Is best to use cond("field name") instead cond("field number"),
it you add new fields in future versions, this id number can change
Enrique Escolano
----- Original Message -----
From: "Mihai TEODORESCU" mihai.teodorescu at prevost-industries.com
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, March 05, 2003 6:57 PM
Subject: RE: [GiDlist] loop over conditions
I already made a loop over nodes with a condition set. But the output is
not exactly what I want.
When I made:
*set Cond Point_Déplacement_imposé *nodes
*loop nodes *OnlyInCond
*format "_F(NOEUD='N%i',DX=%f, DY=%f, DZ=%f,),"
*NodesNum*cond(1,real)*cond(2,real)*cond(3,real)
*end nodes
the output was
NOEUD='N3',DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
NOEUD='N7',DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
What I would like to have is:
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000
Condition2 DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,
and then
NOEUD='N3' Condition1
NOEUD='N7' Condition2
I would also want to make a list of all nodes that have assigned
condition1 and all nodes that have assigned condition2
Is there any way to do it?
Best regards,
-------------------------------------------------
Mihai TEODORESCU
Email: mihai.teodorescu at prevost-industries.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/20030306/5876d33e/attachment.htm
a instance of a condition between entities.
Your desired work mode is similar to the GiD materials: a small collections of materials, and multiple entities
pointing to the same material.
If it does not use the materials for another thing, can use instead a condition.
You can also obtain your desired format with this:
*set Cond Point_Déplacement_imposé *nodes
*set var cont=0
*loop nodes *OnlyInCond
*set var cont=operation(cont+1)
*format "%i%lf%lf%lf"
Condition1 *cont DX=*cond(Dx,real),DY=*cond(Dy,real), DZ=*cond(Dz,real)
*end nodes
*set var cont=0
*loop nodes *OnlyInCond
*set var cont=operation(cont+1)
*format "%i%i"
NOEUD='N*NodesNum' Condition*cont
*end nodes
Note 1: the obtained number of lines of conditions definition
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000
is the same as the number of lines of nodes with this condition
NOEUD='N3' Condition1
Note 2: Is best to use cond("field name") instead cond("field number"),
it you add new fields in future versions, this id number can change
Enrique Escolano
----- Original Message -----
From: "Mihai TEODORESCU" mihai.teodorescu at prevost-industries.com
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, March 05, 2003 6:57 PM
Subject: RE: [GiDlist] loop over conditions
I already made a loop over nodes with a condition set. But the output is
not exactly what I want.
When I made:
*set Cond Point_Déplacement_imposé *nodes
*loop nodes *OnlyInCond
*format "_F(NOEUD='N%i',DX=%f, DY=%f, DZ=%f,),"
*NodesNum*cond(1,real)*cond(2,real)*cond(3,real)
*end nodes
the output was
NOEUD='N3',DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
NOEUD='N7',DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,'
What I would like to have is:
Condition1 DX=10.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000
Condition2 DX=0.000000, DY=0.000000, DZ=0.000000, DRX=0.000000,
DRY=0.000000, DRZ=0.000000,
and then
NOEUD='N3' Condition1
NOEUD='N7' Condition2
I would also want to make a list of all nodes that have assigned
condition1 and all nodes that have assigned condition2
Is there any way to do it?
Best regards,
-------------------------------------------------
Mihai TEODORESCU
Email: mihai.teodorescu at prevost-industries.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/20030306/5876d33e/attachment.htm
[GiDlist] TKWIDGET field: HOw to manipulate checkbutton or r
Hi Enrique
Many thanks for your prompt advice. I enclosed my
attached file as a whole simple Problemtype:
I have tested using the TKWIDGET field in .cnd file to
modify some feature of the fields in this windows. My
problem is like this: (Please look at the attached
problemType).
Please advice how to manipulate the TK: checkbutton
in my .tcl file to make the other fields Hide, or SET,
or RESTORE as in command DEPENDENCIES:
Please look at my example file "TestTkWidget.tcl"
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTkWidget.gid.zip
Type: application/x-zip-compressed
Size: 1657 bytes
Desc: TestTkWidget.gid.zip
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030306/75930704/attachment.bin
Many thanks for your prompt advice. I enclosed my
attached file as a whole simple Problemtype:
I have tested using the TKWIDGET field in .cnd file to
modify some feature of the fields in this windows. My
problem is like this: (Please look at the attached
problemType).
Please advice how to manipulate the TK: checkbutton
in my .tcl file to make the other fields Hide, or SET,
or RESTORE as in command DEPENDENCIES:
Please look at my example file "TestTkWidget.tcl"
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTkWidget.gid.zip
Type: application/x-zip-compressed
Size: 1657 bytes
Desc: TestTkWidget.gid.zip
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030306/75930704/attachment.bin
[GiDlist] TKWIDGET field: HOw to manipulate checkbutton or r
Hi Willy, here I attach the problemtype with the code to do what you ask.
best regards,
Jorge Suit
VSayako Willy wrote:
Hi Enrique
Many thanks for your prompt advice. I enclosed my
attached file as a whole simple Problemtype:
I have tested using the TKWIDGET field in .cnd file to
modify some feature of the fields in this windows. My
problem is like this: (Please look at the attached
problemType).
Please advice how to manipulate the TK: checkbutton
in my .tcl file to make the other fields Hide, or SET,
or RESTORE as in command DEPENDENCIES:
Please look at my example file "TestTkWidget.tcl"
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTkWidget.gid.zip
Type: application/octet-stream
Size: 1879 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030306/a9790c57/attachment.obj
best regards,
Jorge Suit
VSayako Willy wrote:
Hi Enrique
Many thanks for your prompt advice. I enclosed my
attached file as a whole simple Problemtype:
I have tested using the TKWIDGET field in .cnd file to
modify some feature of the fields in this windows. My
problem is like this: (Please look at the attached
problemType).
Please advice how to manipulate the TK: checkbutton
in my .tcl file to make the other fields Hide, or SET,
or RESTORE as in command DEPENDENCIES:
Please look at my example file "TestTkWidget.tcl"
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTkWidget.gid.zip
Type: application/octet-stream
Size: 1879 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030306/a9790c57/attachment.obj
[GiDlist] TKWIDGET field: Many Thanks to Jorge S. for advic
Hi Jorge
Many Thanks for advice..
Regards.
--- Jorge Suit Perez Ronda ronda at cimne.upc.es wrote:
Hi Willy, here I attach the problemtype with the
code to do what you ask.
best regards,
Jorge Suit
VSayako Willy wrote:
Hi Enrique
Many thanks for your prompt advice. I enclosed
my
attached file as a whole simple Problemtype:
I have tested using the TKWIDGET field in .cnd file
to
modify some feature of the fields in this windows.
My
problem is like this: (Please look at the attached
problemType).
Please advice how to manipulate the TK:
checkbutton
in my .tcl file to make the other fields Hide, or
SET,
or RESTORE as in command DEPENDENCIES:
Please look at my example file "TestTkWidget.tcl"
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
ATTACHMENT part 2 application/octet-stream
name=TestTkWidget.gid.zip
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
Many Thanks for advice..
Regards.
--- Jorge Suit Perez Ronda ronda at cimne.upc.es wrote:
Hi Willy, here I attach the problemtype with the
code to do what you ask.
best regards,
Jorge Suit
VSayako Willy wrote:
Hi Enrique
Many thanks for your prompt advice. I enclosed
my
attached file as a whole simple Problemtype:
I have tested using the TKWIDGET field in .cnd file
to
modify some feature of the fields in this windows.
My
problem is like this: (Please look at the attached
problemType).
Please advice how to manipulate the TK:
checkbutton
in my .tcl file to make the other fields Hide, or
SET,
or RESTORE as in command DEPENDENCIES:
Please look at my example file "TestTkWidget.tcl"
Best regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
ATTACHMENT part 2 application/octet-stream
name=TestTkWidget.gid.zip
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
[GiDlist] *tcl command in bas file.
Hi Enrique and GiD team
I think you didn't get my point
Refer to my previous propblem about data in .cnd
file. I have created the fields in .cnd file but
didn't want the values in the fields of this
conditions show up repeatedly when assign to the
elements. Can I use *tcl command to handle this
incident? I would like to have the values of this
condition as many times as I fill it in the box.
-------------------------------------------
NUMBER: 1 CONDITION:Properties
CONDTYPE: over lines
CONDMESHTYPE: over elements
QUESTION:Ix
VALUE:0.0 --Random User-defined values
QUESTION:Iy
VALUE:0.0 --Random User-defined values
END CONDITIONS
--------------------------------------------
Can I write something like the following? Please
correct me.
in my .bas file
*tcl(WriteSecCond)
where
proc WriteSecCond { } {
return [.central.info conditions Properties Ix Iy]
}
Regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
I think you didn't get my point
Refer to my previous propblem about data in .cnd
file. I have created the fields in .cnd file but
didn't want the values in the fields of this
conditions show up repeatedly when assign to the
elements. Can I use *tcl command to handle this
incident? I would like to have the values of this
condition as many times as I fill it in the box.
-------------------------------------------
NUMBER: 1 CONDITION:Properties
CONDTYPE: over lines
CONDMESHTYPE: over elements
QUESTION:Ix
VALUE:0.0 --Random User-defined values
QUESTION:Iy
VALUE:0.0 --Random User-defined values
END CONDITIONS
--------------------------------------------
Can I write something like the following? Please
correct me.
in my .bas file
*tcl(WriteSecCond)
where
proc WriteSecCond { } {
return [.central.info conditions Properties Ix Iy]
}
Regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
[GiDlist] *tcl command in bas file.
I believe that the answer to this question can be in my previous answer
to Mihai TEODORESCU (RE: [ GiDlist ] loop to over conditions)
I recommend to him that examines the tcl code of the WritePointLoads
procedure of this related mail.
Enrique
----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, March 07, 2003 8:08 AM
Subject: [GiDlist] *tcl command in bas file.
Hi Enrique and GiD team
I think you didn't get my point
Refer to my previous propblem about data in .cnd
file. I have created the fields in .cnd file but
didn't want the values in the fields of this
conditions show up repeatedly when assign to the
elements. Can I use *tcl command to handle this
incident? I would like to have the values of this
condition as many times as I fill it in the box.
-------------------------------------------
NUMBER: 1 CONDITION:Properties
CONDTYPE: over lines
CONDMESHTYPE: over elements
QUESTION:Ix
VALUE:0.0 --Random User-defined values
QUESTION:Iy
VALUE:0.0 --Random User-defined values
END CONDITIONS
--------------------------------------------
Can I write something like the following? Please
correct me.
in my .bas file
*tcl(WriteSecCond)
where
proc WriteSecCond { } {
return [.central.info conditions Properties Ix Iy]
}
Regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
to Mihai TEODORESCU (RE: [ GiDlist ] loop to over conditions)
I recommend to him that examines the tcl code of the WritePointLoads
procedure of this related mail.
Enrique
----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, March 07, 2003 8:08 AM
Subject: [GiDlist] *tcl command in bas file.
Hi Enrique and GiD team
I think you didn't get my point
Refer to my previous propblem about data in .cnd
file. I have created the fields in .cnd file but
didn't want the values in the fields of this
conditions show up repeatedly when assign to the
elements. Can I use *tcl command to handle this
incident? I would like to have the values of this
condition as many times as I fill it in the box.
-------------------------------------------
NUMBER: 1 CONDITION:Properties
CONDTYPE: over lines
CONDMESHTYPE: over elements
QUESTION:Ix
VALUE:0.0 --Random User-defined values
QUESTION:Iy
VALUE:0.0 --Random User-defined values
END CONDITIONS
--------------------------------------------
Can I write something like the following? Please
correct me.
in my .bas file
*tcl(WriteSecCond)
where
proc WriteSecCond { } {
return [.central.info conditions Properties Ix Iy]
}
Regards.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
[GiDlist] Command *if in Bas file
Hi Enrique and all
Many Thanks to Enrique for your last advice. I
tried to use *if in bas file but it seems not to work
out when I combined it as:
*set Cond Properties
*set var NumProp=CondNumEntities
and so ......
*if(NumProp==0 || NumSet==0 || NumST==0)
it works only 1 case, not combined one.
Is it something wrong or it works only one-by-one case
??
Regards
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
Many Thanks to Enrique for your last advice. I
tried to use *if in bas file but it seems not to work
out when I combined it as:
*set Cond Properties
*set var NumProp=CondNumEntities
and so ......
*if(NumProp==0 || NumSet==0 || NumST==0)
it works only 1 case, not combined one.
Is it something wrong or it works only one-by-one case
??
Regards
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
[GiDlist] Command *if in Bas file
The "if" command must also work for the "combined case".
Are you sure that your values of NumProp, NumSet and NumST are as expected?
In my tests (GiD7.2) it works ok: the condition is true is some value is
zero and false if all are non zero.
Enrique Escolano
----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 11, 2003 4:26 AM
Subject: [GiDlist] Command *if in Bas file
Hi Enrique and all
Many Thanks to Enrique for your last advice. I
tried to use *if in bas file but it seems not to work
out when I combined it as:
*set Cond Properties
*set var NumProp=CondNumEntities
and so ......
*if(NumProp==0 || NumSet==0 || NumST==0)
it works only 1 case, not combined one.
Is it something wrong or it works only one-by-one case
??
Regards
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
Are you sure that your values of NumProp, NumSet and NumST are as expected?
In my tests (GiD7.2) it works ok: the condition is true is some value is
zero and false if all are non zero.
Enrique Escolano
----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 11, 2003 4:26 AM
Subject: [GiDlist] Command *if in Bas file
Hi Enrique and all
Many Thanks to Enrique for your last advice. I
tried to use *if in bas file but it seems not to work
out when I combined it as:
*set Cond Properties
*set var NumProp=CondNumEntities
and so ......
*if(NumProp==0 || NumSet==0 || NumST==0)
it works only 1 case, not combined one.
Is it something wrong or it works only one-by-one case
??
Regards
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
[GiDlist] Command *if in Bas file
I think i have solved my problems, smply editing my files of *.res and *.msh
generated by the export results menu of the postp. Thanks for all
Pablo Fariñas.
----- Original Message -----
From: "Enrique Escolano" escolano at cimne.upc.es
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 11, 2003 11:24 AM
Subject: Re: [GiDlist] Command *if in Bas file
The "if" command must also work for the "combined case".
Are you sure that your values of NumProp, NumSet and NumST are as
expected?
In my tests (GiD7.2) it works ok: the condition is true is some value is
zero and false if all are non zero.
Enrique Escolano
----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 11, 2003 4:26 AM
Subject: [GiDlist] Command *if in Bas file
Hi Enrique and all
Many Thanks to Enrique for your last advice. I
tried to use *if in bas file but it seems not to work
out when I combined it as:
*set Cond Properties
*set var NumProp=CondNumEntities
and so ......
*if(NumProp==0 || NumSet==0 || NumST==0)
it works only 1 case, not combined one.
Is it something wrong or it works only one-by-one case
??
Regards
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
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
generated by the export results menu of the postp. Thanks for all
Pablo Fariñas.
----- Original Message -----
From: "Enrique Escolano" escolano at cimne.upc.es
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 11, 2003 11:24 AM
Subject: Re: [GiDlist] Command *if in Bas file
The "if" command must also work for the "combined case".
Are you sure that your values of NumProp, NumSet and NumST are as
expected?
In my tests (GiD7.2) it works ok: the condition is true is some value is
zero and false if all are non zero.
Enrique Escolano
----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, March 11, 2003 4:26 AM
Subject: [GiDlist] Command *if in Bas file
Hi Enrique and all
Many Thanks to Enrique for your last advice. I
tried to use *if in bas file but it seems not to work
out when I combined it as:
*set Cond Properties
*set var NumProp=CondNumEntities
and so ......
*if(NumProp==0 || NumSet==0 || NumST==0)
it works only 1 case, not combined one.
Is it something wrong or it works only one-by-one case
??
Regards
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
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