In the drawing of the mold assembly drawing, the outer contour drawing of the mold, the cavity drawing, the frame and the title bar are generally made into a block and inserted. 13 Programming steps Draw the upper and lower mold diagrams and make them into blocks. Draw mold outline drawing, cavity drawing, frame and title bar, etc. and make them into blocks.Initializing the drawing environment, including defining drawing boundaries, creating layers, setting line colors, defining label formats, etc. Call the mold drawing item from the menu, open the template parameter input dialog box, and enter the template parameters according to the prompts. Put the input parameters to the drawing program, draw the mold cavity arrangement diagram, mainly use array, mirror and other instructions in the drawing process. Insert blocks such as upper and lower mold drawings, mold outline drawings, borders, and title bars at appropriate positions. Explode the 'inserted block to facilitate the modification and editing of graphics. File name, save, complete graphics drawing. Because the mold drawing program is a module of the medical rubber product RCAD2000 system, it has inheritance to product dimensions and mold data Therefore, it can be used directly. 14 parameter input The mold cavity arrangement involves parameter input. This design uses AutoCAD's own DCL (DialogControlLanguage) language to make an interactive input dialog box, and uses the VisualLISP program to drive the dialog box to achieve interactive input of parameters .After inputting the parameters, compile the VisualLISP program to quickly and accurately complete the mold cavity arrangement diagram and assembly drawing. Circular mold cavity arrangement diagram parameter input dialog box is shown as follows. Through the friendly interface of dialog boxes and slides, Intuitive input of parameters. In the dialog box, components such as images, edit boxes and buttons are used. In the arrangement design of the circular mold cavity, the parameters D1, D2, D3 and L are respectively the mold size, the large outer diameter of the cavity, Center axis diameter and cavity spacing, these parameters can be properly selected to ensure the mold clamping accuracy and rigidity. In the design of square mold cavity arrangement, under the condition of satisfying the mechanical strength of the mold, according to the length, width and shape of the mold Size, arrange as many mold cavities as possible.