Progettazione di stampi e colata > Catalogs > Creating the Layout > To Create Parameters in the New Layout File
  
To Create Parameters in the New Layout File
1. Name the first parameter Type_Lay_Descr in the Type Layout.
2. Name the second parameter Type in new Layout.
3. Create a Layout File Parameter for the next level of layouts you want to see in the dialog box, the same as the Vendor_Layout_File.
4. At this next level of layouts, add the dimension parameters from your model. Name it (Desired name for next level)_Lay_File. For Example: If the next Item you want to select in the dialog box is by the Diameter Size of Ejector Pin, create a parameter named Size_Lay_File.
5. Create Type_Parameters according to the exact Type_Parameters you created in your universal model. In this Example: I created a type parameter named Class for the Regular, Shouldered, and Flat types of Ejector pins. This means I must create a parameter named Class in each of my New Type Layout Files.
6. Create GIF File Parameters, if desired. GIF Images can be added to the Catalog.
7. Name the first GIF parameter (Type_Parameter)_GIF_File in the Type Layout. In this Example: there is a type parameter named Class for the Regular, Shouldered, and Flat types of ejector pins. This means I should create a GIF parameter named Class_GIF_File in each of the New Type Layout files.
8. If Perform_Cut Parameter has been set to Yes, create the Quilt GIF Parameter in Type Layout and name it Quilt_GIF_File.
9. Add all parameters to the Param Table.
10. Edit the Param Table and add instances.
11. Create an instance for every type of part you have under the last level of Layouts.
12. For Example: Hasco is a Vendor that makes Ejector Pins. In the ejpin_hasco_in_type Layout file, add four instances, one for each type of ejector pin that Hasco makes. The types are ZI 41, ZI 416, ZI 44, and ZI 446.
13. Set the Type_Lay_Descr to your desired Title name for the Type option in the dialog box. Type this name in the Param Table for all instances, for example, (Type).
14. In the template model there is a parameter called Type. The Type Parameter in the Type_Layout_File corresponds with the parameter in the template model. Enter the Type name for each instance with the same value as the instance name.
15. The (Desired name for next level ) _Lay_File values should be set as follows: Catalog Directory Name_Previous Level Name_(Units)_ Current Level Name _( Desired name for next level ).
It does not matter what value you use to describe the next set of layouts. This is the recommended way of doing it since it shows the following:
Type of part you are working on
Level ( In this case Vendor)
Units ( Inch or Metric )
Level you are currently in (In this case Type)
Level you want to see next (In this case Size).
16. So in the example for the ejpin_hasco_in_type Layout file, use the following name for the first instance: ejpin_hasco_in_zi41_Size.
17. Set the Class parameter to the values you created in the template model. This parameter controls features that are turned on and off in the model. Enter the value exactly as you did in Part mode. In the test case, the ZI41 is a regular ejector pin. For this instance, type REGULAR for the parameter Class, the same as IF Class == "REGULAR" in the universal part program for the universal part corresponding feature.
18. Set the Class_GIF_File parameter values to the exact name you used for the GIF Files. A GIF File should have been created for each type (Regular, shouldered, or Flat in this case).
19. Set the Quilt_GIF_File parameter values (if applicable) to the exact name you used for your Quilt GIF Files. A Quilt GIF File should have been created for each type of part you are creating (Regular, shouldered, or Flat in the test case).