home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / Chip_1998-03_cd.bin / tema / MINICAD / MC7DEMO / MINICAD.1 / SYMBOLS.MPC < prev    next >
Text File  |  1997-04-30  |  978b  |  48 lines

  1. {Symbol Library Entries}
  2. NewField('Space','Name','Space Name',4,0);
  3. NewField('Adjacency','Code','4',4,0);
  4. BeginSym('Space Name Box');
  5. NameClass('None');
  6. ClosePoly;
  7. Poly(
  8. 0,0,
  9. 0.16667,0,
  10. 0.17708,-0.01042,
  11. 0.16667,-0.02083,
  12. 0,-0.02083
  13. );
  14. TextFont(3);
  15. TextSize(9.00288);
  16. TextFace([]);
  17. TextFlip(0);
  18. TextRotate(#0);
  19. TextSpace(2);
  20. TextJust(1);
  21. TextOrigin(0.01042,-0.00347);
  22. BeginText;
  23. 'Space Name'
  24. EndText;
  25. LinkText(LNewObj,'Space','Name');
  26. EndSym;
  27. Record(LNewObj,'Space');
  28. Field(LNewObj,'Space','Name','Space Name');
  29. BeginSym('Relationship Box');
  30. Poly(
  31. 0,0,
  32. 0.01042,0.01042,
  33. 0.02083,0,
  34. 0.01042,-0.01042
  35. );
  36. FillPat(0);
  37. TextOrigin(0.00694,0.00694);
  38. BeginText;
  39. '4'
  40. EndText;
  41. LinkText(LNewObj,'Adjacency','Code');
  42. EndSym;
  43. Record(LNewObj,'Adjacency');
  44. Field(LNewObj,'Adjacency','Code','4');
  45.  
  46. AlrtDialog('Loaded 2 Symbol Definitions: Space Name Box (with 1 record, Space attached) and Relationship Box (with 1 record, Adjacency attached).');
  47.  
  48.