# \[GiDlist\] GiD 11 / right menu commands and batch commands no

**URL:** <https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51>\
**Category:** 2013 - 2005\
**Created:** [May 14, 2012, 2:48pm UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51 "2012-05-14T14:48:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janosch\_Stascheit](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@Janosch\_Stascheit](https://forum.gidsimulation.com/u/Janosch_Stascheit)\
**Post date:** [May 14, 2012, 2:48pm UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51/1 "2012-05-14T14:48:19Z")

</div>

Hi,

I’m using batch files to generate my geometries. As I found out with GiD  
11, the commands for selecting entities in the copy and move command do  
not work anymore. Can anyone confirm this behaviour?

Best regards  
Janosch

---

<div class="post-metadata">

**Author:** ![GiDTeam](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/gidteam/32/4_2.png) [@GiDTeam](https://forum.gidsimulation.com/u/GiDTeam)\
**Post date:** [May 15, 2012, 7:02am UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51/2 "2012-05-15T07:02:12Z")

</div>

Hi Janosch,  
Could you send me an example working on GiD 10 and not working on GiD 11  
Thank you,  
Adrià from GiD Team

El 14/05/2012 16:48, Janosch Stascheit escribió:  
_Hi,_  
_I’m using batch files to generate my geometries. As I found out with GiD_  
_11, the commands for selecting entities in the copy and move command do_  
_not work anymore. Can anyone confirm this behaviour?_  
_Best regards_  
_Janosch_

* * *

_GiDlist mailing list_  
_[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_  
\_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_)

---

<div class="post-metadata">

**Author:** ![Janosch\_Stascheit](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@Janosch\_Stascheit](https://forum.gidsimulation.com/u/Janosch_Stascheit)\
**Post date:** [May 15, 2012, 7:17am UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51/3 "2012-05-15T07:17:07Z")

</div>

Hi,

please find attached the respective example. Try to open the GiD project  
and then import the copy\_bug.bch file to perform the operation I am  
usually using.

Best regards  
Janosch  
  
  
  
Am Dienstag, den 15.05.2012, 09:02 +0200 schrieb Adria Melendo:  
_Hi Janosch,_  
_Could you send me an example working on GiD 10 and not working on GiD 11_  
_Thank you,_  
_Adrià from GiD Team_  
_El 14/05/2012 16:48, Janosch Stascheit escribió:_  
_Hi,_  
_I’m using batch files to generate my geometries. As I found out with GiD_  
_11, the commands for selecting entities in the copy and move command do_  
_not work anymore. Can anyone confirm this behaviour?_  
_Best regards_  
_Janosch_

* * *

_GiDlist mailing list_  
_[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_  
\_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_)

* * *

_GiDlist mailing list_  
_[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_  
\_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_)  
-------------- next part --------------  
A non-text attachment was scrubbed…  
Name: copy\_bug.gid.zip  
Type: application/zip  
Size: 18233 bytes  
Desc: not available  
Url : [http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120515/843e82cc/attachment-0001.zip](http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120515/843e82cc/attachment-0001.zip)

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [May 15, 2012, 11:37am UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51/4 "2012-05-15T11:37:07Z")

</div>

Hello Janosch,

This is a bug of GiD 11 (and last 10.1d betas) when selecting “all types”  
and inverting a null selection  
It will be fixed for next official and developer 11.x versions

Of do you want you can avoid the problem of these version for example  
changing the process command  
Utilities Copy AllTypes Translation 0,0,0 0,0,1 InvertSelection mescape  
by  
Utilities Copy AllTypes Translation 0,0,0 0,0,1 points InvertSelection  
mescape

Thanks for your bug report

Enrique Escolano

----- Original Message -----  
From: “Janosch Stascheit” [janosch.stascheit at rub.de](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
To: [gidlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
Sent: Tuesday, May 15, 2012 9:17 AM  
Subject: Re: [GiDlist] GiD 11 / right menu commands and batch commands not  
working anymore  
  
  
_Hi,_  
_please find attached the respective example. Try to open the GiD project_  
_and then import the copy\_bug.bch file to perform the operation I am_  
_usually using._  
_Best regards_  
_Janosch_  
  
  
_Am Dienstag, den 15.05.2012, 09:02 +0200 schrieb Adria Melendo:_  
_Hi Janosch,_  
_Could you send me an example working on GiD 10 and not working on GiD 11_  
_Thank you,_  
_Adrià from GiD Team_  
_El 14/05/2012 16:48, Janosch Stascheit escribió:_  
_Hi,_  
_I’m using batch files to generate my geometries. As I found out with_  
_GiD_  
_11, the commands for selecting entities in the copy and move command do_  
_not work anymore. Can anyone confirm this behaviour?_  
_Best regards_  
_Janosch_

* * *

_GiDlist mailing list_  
_[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_  
\_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_)

* * *

## _GiDlist mailing list_ _[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_ \_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_) \

\

* * *

_GiDlist mailing list_  
_[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_  
\_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_)

---

<div class="post-metadata">

**Author:** ![Farzam\_Arash](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/f/c2a13f/32.png) [@Farzam\_Arash](https://forum.gidsimulation.com/u/Farzam_Arash)\
**Post date:** [May 22, 2012, 8:01pm UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51/5 "2012-05-22T20:01:49Z")

</div>

Hello,

I have two different types of elements (hexahedra and quadrilateral).  
I know there is a simple command to write the total number of  
elements. Is there also a xommand to write the total number of  
hexahedra elements? or total number of quadrilateral elements?

Best Regards,  
Arash

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [May 23, 2012, 8:58am UTC](https://forum.gidsimulation.com/t/gidlist-gid-11-right-menu-commands-and-batch-commands-no/51/6 "2012-05-23T08:58:28Z")

</div>

I assume that do you want to write this number in the calculation file from  
the .bas template  
\*nelem write the total number of elements,  
but as is explained in Help-GiD customization - Template files… it  
could have an extra argument  
to specify the kind of elements: Point, Linear, Triangle, Quadrilateral,  
Tetrahedra, Hexahedra, Prism, Pyramid, Sphere, Circle  
e.g.  
\*nelem(Hexahedra)  
\*nelem(Quadrilateral)

At Tcl scripting language there also exists GiD extra commands to ask for  
this information  
e.g.  
GiD\_Info Mesh NumElements Hexahedra

Regards

Enrique Escolano

----- Original Message -----  
From: “Farzam, Arash” [farzam at ostatemail.okstate.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
To: [gidlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
Sent: Tuesday, May 22, 2012 10:01 PM  
Subject: [GiDlist] Number of Certain Element type  
  
  
_Hello,_  
_I have two different types of elements (hexahedra and quadrilateral)._  
_I know there is a simple command to write the total number of_  
_elements. Is there also a xommand to write the total number of_  
_hexahedra elements? or total number of quadrilateral elements?_  
_Best Regards,_  
_Arash_

* * *

_GiDlist mailing list_  
_[GiDlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)_  
\_[http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist\_](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_)
