# \[GiDlist\] Iges units

**URL:** <https://forum.gidsimulation.com/t/gidlist-iges-units/311>\
**Category:** 2013 - 2005\
**Created:** [December 17, 2013, 4:28pm UTC](https://forum.gidsimulation.com/t/gidlist-iges-units/311 "2013-12-17T16:28:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Smith](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@Mark\_Smith](https://forum.gidsimulation.com/u/Mark_Smith)\
**Post date:** [December 17, 2013, 4:28pm UTC](https://forum.gidsimulation.com/t/gidlist-iges-units/311/1 "2013-12-17T16:28:46Z")

</div>

Hi GiD developers  
I exported some geometry from GiD 11 and it automatically assumed that the units were metres instead of mm which I wanted so had to edit the iges file header. Maybe there should be an option in preferences-exchange where the units could be selected?  
Regards  
Mark  
-------------- next part --------------  
An HTML attachment was scrubbed…  
URL: [http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131217/f6b9f87a/attachment.htm](http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131217/f6b9f87a/attachment.htm)

---

<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:** [December 17, 2013, 5:58pm UTC](https://forum.gidsimulation.com/t/gidlist-iges-units/311/2 "2013-12-17T17:58:05Z")

</div>

Hello Mark,  
  
  
  
The problem is that GiD doen’t has any unit for its geometry/mesh, but to  
export in IGES this format require a unit name, not exist the option of  
‘unspecified model length units’, and GiD is writing always the same unit  
(probably meters as you said).  
  
  
  
We want in future to handle a ‘model length unit’ in GiD, not only as an  
special label to be printed in case of IGES export.  
  
  
  
Enrique Escolano  
  
  
  
De: [gidlist-bounces at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
[mailto:[gidlist-bounces at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)] En nombre de Mark Smith  
Enviado el: martes, 17 de diciembre de 2013 17:29  
Para: GiDlist  
Asunto: [GiDlist] Iges units  
  
  
  
Hi GiD developers

I exported some geometry from GiD 11 and it automatically assumed that the  
units were metres instead of mm which I wanted so had to edit the iges file  
header. Maybe there should be an option in preferences-exchange where the  
units could be selected?

Regards

Mark

-------------- next part --------------  
An HTML attachment was scrubbed…  
URL: [http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131217/121783f2/attachment.htm](http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131217/121783f2/attachment.htm)

---

<div class="post-metadata">

**Author:** ![Deepak\_Samal](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/d/f04885/32.png) [@Deepak\_Samal](https://forum.gidsimulation.com/u/Deepak_Samal)\
**Post date:** [December 30, 2013, 11:11am UTC](https://forum.gidsimulation.com/t/gidlist-iges-units/311/3 "2013-12-30T11:11:59Z")

</div>

Dear All,

I have to assign a set of elements each time to different materials. I have  
around 60 different materials and around 9000 elements. Problem is  
previously I was assigning elements by creating different layers for  
different materials and assigning elements by using loop over elements by  
setting the corresponding layer ON. But now I’m in a fix whether I should  
be creating 60 different layers for 60 different materials and assigning  
them the corresponding elements or is their any better way to do that?

Thank you  
-------------- next part --------------  
An HTML attachment was scrubbed…  
URL: [http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/7e682765/attachment.htm](http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/7e682765/attachment.htm)

---

<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:** [December 30, 2013, 12:06pm UTC](https://forum.gidsimulation.com/t/gidlist-iges-units/311/4 "2013-12-30T12:06:11Z")

</div>

I don’t understand well your case.

Are you trying to calculate the same model several times changing every time  
the kind of material?  
  
  
  
you can create a Tcl procedure to automatize tasks. With Tcl-GiD commands  
you can ask for the current model properties (layers, materials, entities,  
etc) or you can change this propertities (assing materials or conditions ,  
create entities, etc.)

This procedure could be set as a ‘macro’ to be invoked from an icon of the  
‘macro toolbar’  
  
  
  
Are you using your own problemtype or a third part problemtype?

If you are developing your own problemtype maybe you can change your  
approach, and instead a ‘GiD material’ could use a ‘GiD condition’ and  
instead of define this condition as ‘over body elements’ and apply it to  
each one of its elements could define the condition as ‘over layer’ or using  
last GiD 11.1.x versions as ‘over group’ and then you can set once the  
entities of the layer or group and to apply the condition (that represent  
your material) it is necessary to select only a layer or group name.  
  
  
  
Regards  
  
  
  
Enrique Escolano  
  
  
  
De: [gidlist-bounces at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
[mailto:[gidlist-bounces at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)] En nombre de Deepak Samal  
Enviado el: lunes, 30 de diciembre de 2013 12:12  
Para: [gidlist at listas.cimne.upc.edu](http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist)  
Asunto: [GiDlist] Regarding loop over elements  
  
  
  
Dear All,  
  
  
  
I have to assign a set of elements each time to different materials. I have  
around 60 different materials and around 9000 elements. Problem is  
previously I was assigning elements by creating different layers for  
different materials and assigning elements by using loop over elements by  
setting the corresponding layer ON. But now I’m in a fix whether I should be  
creating 60 different layers for 60 different materials and assigning them  
the corresponding elements or is their any better way to do that?  
  
  
  
Thank you

-------------- next part --------------  
An HTML attachment was scrubbed…  
URL: [http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/c1eb943c/attachment.htm](http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/c1eb943c/attachment.htm)
