[GiDlist] GID development question
Posted: Wed Sep 12, 2012 11:22 am
Hi,
I have smome questions about GID customization. I try to create my own
problem type for GID and I want to implement some tcl code for template file
*.bas to generate *.dat file. I have read GID customization manual v11 and I
haven't found solution for my task. My problem is that:
-I generate mesh on objects like line, surface or volume. I want to get
information about elements (I need elements numbers in list, for example (1
2 3 4) ) associated with this objects.
I know, that I can get information for all elements lying on layer, but I
haven't seen functions which can return information about elements belonging
to this geometrical objects (lines, surfaces, volumes).
Is it possible ?
For example GiD has tcl function:
GiD_Geometry list element layer:$layerName - this returns elements numbers
for layer
GiD_Geometry list surface layer:$layerName - this returns surfaces numbers
for layer
I need function that returns elements numbers for surface (like above for
layer). For example:
GiD_Geometry list element surface:$surfaceName.
Is there any way to get this information ?
Michał Petaś
programmer,
IPPT PAN Poland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120912/abe96328/attachment.htm
I have smome questions about GID customization. I try to create my own
problem type for GID and I want to implement some tcl code for template file
*.bas to generate *.dat file. I have read GID customization manual v11 and I
haven't found solution for my task. My problem is that:
-I generate mesh on objects like line, surface or volume. I want to get
information about elements (I need elements numbers in list, for example (1
2 3 4) ) associated with this objects.
I know, that I can get information for all elements lying on layer, but I
haven't seen functions which can return information about elements belonging
to this geometrical objects (lines, surfaces, volumes).
Is it possible ?
For example GiD has tcl function:
GiD_Geometry list element layer:$layerName - this returns elements numbers
for layer
GiD_Geometry list surface layer:$layerName - this returns surfaces numbers
for layer
I need function that returns elements numbers for surface (like above for
layer). For example:
GiD_Geometry list element surface:$surfaceName.
Is there any way to get this information ?
Michał Petaś
programmer,
IPPT PAN Poland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120912/abe96328/attachment.htm