Hello everyone,I was wandering if there is a Tcl command which could be used to open the Units dialog form a toolbar, an analogous of[list -np- GidOpenConditions "..."] ?

I haven't found anything in the GiD scripts.

A second question:Is there in any problem type a WIDGET which could be used to restrain the Material assignment to one kind of geometrical entities only (Volumes, Surfaces, Lines, Points) which works with a .mat file using BOOKs?

On Friday 12 November 2004 11:07, Andrea Calaon wrote: Hello everyone, I was wandering if there is a Tcl command which could be used to open the Units dialog form a toolbar, an analogous of [list -np- GidOpenConditions "..."] ?

I haven't found anything in the GiD scripts.

You can use this proc:

DWDataUnits

A second question: Is there in any problem type a WIDGET which could be used to restrain the Material assignment to one kind of geometrical entities only (Volumes, Surfaces, Lines, Points) which works with a .mat file using BOOKs?

yes, you can use proc GiD_DataBehaviour, here I paste the internal doc of the command:

#-----------------------------------------------------------------------------# GiD_DataBehaviour --## This command controls properties of data windows for materials and# conditions (not currently implemented). For materials we can modify # the behaviour of assign, draw, unassign, impexp, new, modify and delete.# We can also specify the entity type list in assign option throught the # cmds geomlist and meshlist.## Syntax:## GiD_DataBehaviour data_class name ?cmd? proplist## data_class could be: "material" if we want to modify the behaviour of a# particular material if whole book must be modified the data_class should# take the value "materials". Depending on the value of data_class name# takes the value of a material's name or a book's name. Argument cmd can# take one of the values: show, hide, disable, geomlist and meshlist.# Argument proplist is a list of options or entity type. When cmd is show,# hide or disable then proplist could a subset of {assign draw unassign# impexp new modify delete}. The command show make the option visible,# if the value is hide then the option is not visible and when the value is# disable then the option is visible but unavailable. When cmd if geomlist# then then property list can take a subset of {points lines surfaces volumes}# and define the entities that can get the material assigned when in geometry# mode, if the value of cmd is meshlist the proplist can take the value# elements (only elements can gets a material assigned in mesh mode). ## Examples:## GiD_DataBehaviour materials Table geomlist {surfaces volumes}# GiD_DataBehaviour materials Solid hide {delete impexp} ## Note: GiD_DataBehaviour is only implemented for material and books of materials.#-----------------------------------------------------------------------------

I have a hollow cylinder, I just want assign all outer surface of cyliner fixed.I use condition command from menu, there's an option, I select "assgin"I find I cann't select the outer surface of the hollow cyliner.Either I select the whole cylinder or I only select some of it.I cann't specify the outer surface.

I found it's very frustrating. Maybe because I didn't wrong operation.

I have a hollow cylinder, I just want assign all outer surface of cyliner fixed. I use condition command from menu, there's an option, I select "assgin" I find I cann't select the outer surface of the hollow cyliner. Either I select the whole cylinder or I only select some of it. I cann't specify the outer surface.

Hi,Enrique:Thank for your kind help.Hope this time I don't bother you much *_^.

I export my cylinder gid file to a ASCII file.I found a " .lin" file, which includes condition and load information.I check the mailing list, it seems you suggest we write a template file instead of ".lin".However, in my case, I prefer the ".lin".I think template file is a little complicated.

In my case, I just want to know which elements are fixd, and which elements are applied a pressure.And I read "*.lin" file, I think it includes the information I am interested in.But some parts of it I cann't figure them out.

Hi,Enrique:Thank for your kind help.Hope this time I don't bother you much *_^.

I export my cylinder gid file to a ASCII file.I found a " .lin" file, which includes condition and load information. Icheck the mailing list, it seems you suggest we write a template file instead of ".lin".However, in my case, I prefer the ".lin".I think template file is a little complicated.

In my case, I just want to know which elements are fixd, and whichelements are applied a pressure.And I read "*.lin" file, I think it includes the information I aminterested in.But some parts of it I cann't figure them out.