Creating a New Object
To create a new object, the steps that must be followed are:
- In the TANGRAM2_OBJECTS domain choose
obj_template.sym;
- Now create a new figure for the object;
- Select the new figure and in the Edit Menu choose cut or
copy;
- Select the ;
- In the Special Menu, choose ``Replace Graphic'' . The old graphic is replaced by the new figure in the cut buffer;
- 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:
- In the Special Menu, choose ``Make Symbolic'' .
- 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
- Choose the new domain (Special Menu/Change Domain);
- In the Special Menu, choose ``Save Sym in Library'' ;
- 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