An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051115/5529689c/attachment.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051115/5529689c/attachment.htm
[GiDlist] Tkwidget in Problem Data file
Moderator: GiD Team
[GiDlist] Tkwidget in Problem Data file
Hi
On Tuesday 15 November 2005 10:29, ascosta at portugalmail.pt wrote:
Hi.
It's possible to use Tkwidget in .prb file?
yes, you can define TKWIDGET on any data window.
PROBLEM DATA
BOOK: Contact Surfaces
QUESTION: GR1#CB#(0,1)
VALUE: 0
STATE: hidden
TKWIDGET: tksurf::ComunicateWithGiD
BOOK: Contact Pairs
QUESTION: Contact#CB#(Pairs)
VALUE: Pairs
TKWIDGET: tkpairs::ComunicateWithGiD
END PROBLEM DATA
I want to define two different menus: Contact Surfaces and Contact Pairs
with the help of tkwidget.
I define the menu in my tcl file this way:
proc uaContactSurfacesSubmenu { w } {
$w del 0 end
$w add command -label [_ "Contact Surfaces"] -command [list
GidOpenProblemData {Contact Surfaces} ] $w add command -label [_ "Contact
Pairs"] -command [list GidOpenProblemData {Contact Pairs} ] $w configure
-postcommand ""
}
On Tuesday 15 November 2005 10:29, ascosta at portugalmail.pt wrote:
Hi.
It's possible to use Tkwidget in .prb file?
yes, you can define TKWIDGET on any data window.
PROBLEM DATA
BOOK: Contact Surfaces
QUESTION: GR1#CB#(0,1)
VALUE: 0
STATE: hidden
TKWIDGET: tksurf::ComunicateWithGiD
BOOK: Contact Pairs
QUESTION: Contact#CB#(Pairs)
VALUE: Pairs
TKWIDGET: tkpairs::ComunicateWithGiD
END PROBLEM DATA
I want to define two different menus: Contact Surfaces and Contact Pairs
with the help of tkwidget.
I define the menu in my tcl file this way:
proc uaContactSurfacesSubmenu { w } {
$w del 0 end
$w add command -label [_ "Contact Surfaces"] -command [list
GidOpenProblemData {Contact Surfaces} ] $w add command -label [_ "Contact
Pairs"] -command [list GidOpenProblemData {Contact Pairs} ] $w configure
-postcommand ""
}
[GiDlist] problems when unassigning condition
Hello,
i have a problem with the assignment or better the unassignment of regions.
In the conditions file i define:
NUMBER: 161 CONDITION: Line_Elem_Labels
CONDTYPE: over lines
CONDMESHTYPE: over body element
CANREPEAT: yes
QUESTION: NameID
Value: 0
In GiD i assign values by using
data cond assign Line_Elem_Labels change $nameId $entities
i.e.
data cond assign Line_Elem_Labels change 2 7 12
if i change my model setup and want to remove this specific condition
identified by nameID 2 and line 7, what do i have to do?
If i use unassign, all my conditions are gone. If i you remove a new
condition is created.
Thank for an answer
Regards
Martin Meiler
--
--------------------------------------------------------------------
_/ _/_/ _/_/_/ Friedrich Alexander Universität Erlangen
_/ _/ _/ _/ Lehrstuhl für Sensorik
_/ _/ _/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
_/ _/_/ _/_/
_/ _/ _/ University of Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
Dipl.-Ing. Martin Meiler
tel.: (+49)-9131-85-23140
fax.: (+49)-9131-85-23133
email: Martin.Meiler at lse.eei.uni-erlangen.de
i have a problem with the assignment or better the unassignment of regions.
In the conditions file i define:
NUMBER: 161 CONDITION: Line_Elem_Labels
CONDTYPE: over lines
CONDMESHTYPE: over body element
CANREPEAT: yes
QUESTION: NameID
Value: 0
In GiD i assign values by using
data cond assign Line_Elem_Labels change $nameId $entities
i.e.
data cond assign Line_Elem_Labels change 2 7 12
if i change my model setup and want to remove this specific condition
identified by nameID 2 and line 7, what do i have to do?
If i use unassign, all my conditions are gone. If i you remove a new
condition is created.
Thank for an answer
Regards
Martin Meiler
--
--------------------------------------------------------------------
_/ _/_/ _/_/_/ Friedrich Alexander Universität Erlangen
_/ _/ _/ _/ Lehrstuhl für Sensorik
_/ _/ _/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
_/ _/_/ _/_/
_/ _/ _/ University of Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
Dipl.-Ing. Martin Meiler
tel.: (+49)-9131-85-23140
fax.: (+49)-9131-85-23133
email: Martin.Meiler at lse.eei.uni-erlangen.de
[GiDlist] problems when unassigning condition
At this moment you can unassign some condition from some entities, but it is not possible to use
a selection criteria based on condition field values.
e.g.
you can unassign the condition named 'Line_Elem_Labels' from the entities 7 and 12 with:
Mescape data cond assign Line_Elem_Labels unassign 7 12
but you can't unassign the condition named 'Line_Elem_Labels' only with the field 'NameID' = some value from some entities
e.g., if you have this condition applied twice over the same line number 7 with different values, for example 'NameID'=A and 'NameID'=B
you can't unassign only the condition with 'NameID'=A.
If you use
Mescape data cond assign Line_Elem_Labels unassign 7
you will unassign all 'Line_Elem_Labels' conditions applied over the line 7
Note: Mescape is an special word that send all escape as necessary, to go up until the top node on the commands tree.
Regards
Enrique Escolano
----- Original Message -----
From: "Martin Meiler" Martin.Meiler at lse.eei.uni-erlangen.de
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, November 22, 2005 9:24 AM
Subject: [GiDlist] problems when unassigning condition
Hello,
i have a problem with the assignment or better the unassignment of regions.
In the conditions file i define:
NUMBER: 161 CONDITION: Line_Elem_Labels
CONDTYPE: over lines
CONDMESHTYPE: over body element
CANREPEAT: yes
QUESTION: NameID
Value: 0
In GiD i assign values by using
data cond assign Line_Elem_Labels change $nameId $entities
i.e.
data cond assign Line_Elem_Labels change 2 7 12
if i change my model setup and want to remove this specific condition
identified by nameID 2 and line 7, what do i have to do?
If i use unassign, all my conditions are gone. If i you remove a new
condition is created.
Thank for an answer
Regards
Martin Meiler
--
--------------------------------------------------------------------
_/ _/_/ _/_/_/ Friedrich Alexander Universität Erlangen
_/ _/ _/ _/ Lehrstuhl für Sensorik
_/ _/ _/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
_/ _/_/ _/_/
_/ _/ _/ University of Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
Dipl.-Ing. Martin Meiler
tel.: (+49)-9131-85-23140
fax.: (+49)-9131-85-23133
email: Martin.Meiler at lse.eei.uni-erlangen.de
_______________________________________________
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/20051122/5f1f707f/attachment.htm
a selection criteria based on condition field values.
e.g.
you can unassign the condition named 'Line_Elem_Labels' from the entities 7 and 12 with:
Mescape data cond assign Line_Elem_Labels unassign 7 12
but you can't unassign the condition named 'Line_Elem_Labels' only with the field 'NameID' = some value from some entities
e.g., if you have this condition applied twice over the same line number 7 with different values, for example 'NameID'=A and 'NameID'=B
you can't unassign only the condition with 'NameID'=A.
If you use
Mescape data cond assign Line_Elem_Labels unassign 7
you will unassign all 'Line_Elem_Labels' conditions applied over the line 7
Note: Mescape is an special word that send all escape as necessary, to go up until the top node on the commands tree.
Regards
Enrique Escolano
----- Original Message -----
From: "Martin Meiler" Martin.Meiler at lse.eei.uni-erlangen.de
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, November 22, 2005 9:24 AM
Subject: [GiDlist] problems when unassigning condition
Hello,
i have a problem with the assignment or better the unassignment of regions.
In the conditions file i define:
NUMBER: 161 CONDITION: Line_Elem_Labels
CONDTYPE: over lines
CONDMESHTYPE: over body element
CANREPEAT: yes
QUESTION: NameID
Value: 0
In GiD i assign values by using
data cond assign Line_Elem_Labels change $nameId $entities
i.e.
data cond assign Line_Elem_Labels change 2 7 12
if i change my model setup and want to remove this specific condition
identified by nameID 2 and line 7, what do i have to do?
If i use unassign, all my conditions are gone. If i you remove a new
condition is created.
Thank for an answer
Regards
Martin Meiler
--
--------------------------------------------------------------------
_/ _/_/ _/_/_/ Friedrich Alexander Universität Erlangen
_/ _/ _/ _/ Lehrstuhl für Sensorik
_/ _/ _/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
_/ _/_/ _/_/
_/ _/ _/ University of Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
Dipl.-Ing. Martin Meiler
tel.: (+49)-9131-85-23140
fax.: (+49)-9131-85-23133
email: Martin.Meiler at lse.eei.uni-erlangen.de
_______________________________________________
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/20051122/5f1f707f/attachment.htm