Creating a New Object

To create a new object, the steps that must be followed are:

  1. In the TANGRAM2_OBJECTS domain choose obj_template.sym;
  2. Now create a new figure for the object;
  3. Select the new figure and in the Edit Menu choose cut or copy;
  4. Select the ;
  5. In the Special Menu, choose ``Replace Graphic'' . The old graphic is replaced by the new figure in the cut buffer;
  6. You can choose ``yes'' or ``no'' in the menu that opens. If you choose ``no'', a new symbol is created and stored using the file name just given.
To store a new object in the , the steps that must be followed are:
  1. In the Special Menu, choose ``Make Symbolic'' .
  2. We can store the new object in the TANGRAM2_OBJECTS domain , or we can create a new domain. To create a new Domain , we must create a new directory (named Mydomain, for example) and in the .Xdefaults file we must specify the path of this new domain.
      Tgif*MaxDomains:            total number of domains
      Tgif*DomainPath(#of domain):MYDOMAIN:/home/nameofuser/Mydomain
    
  3. Choose the new domain (Special Menu/Change Domain);
  4. In the Special Menu, choose ``Save Sym in Library'' ;
  5. Give the new name to the object and then select the directory.
This object can now be used in other models.

NOTE: You can create a new object symbol and store it in the domain of your choice.

Guilherme Dutra Gonzaga Jaime 2010-10-27