Still looking for help Creating SHX files....

Discussion in 'AutoCAD' started by rds4406, Aug 7, 2003.

  1. rds4406

    rds4406 Guest

    Still looking for help with creating SHX files. Had one reply but that was utilizing MTEXT, looking for SHX.

    I am in the process of creating a new SHX file with the font style I want. And also creating a BIGFONT file that enhances the new "Master" SHX file that contains fractions (in sixteenths) and symbols I need that use the ` to envole the symbol. My question is that I am reading an excerpt from the AutoDesk Customization Guide 2002 page 70. Says that I can use character set codes 1 thru 9, 11 thru 31, and 130 thru 255. How can I use these for my personal use? I am wanting to introduce a new set of fractions (32nd's) for these set codes. Example: %%1 returns 1/32, and %%3 returns 3/32, and %%5 returns 5/32, etc. Do I put the code in the "Master" SHX file? or in the BIGFONT file? If so, how? Because I have to declair the escape to 96,96 and this does not follow suit.

    Thanks for the help.
     
    rds4406, Aug 7, 2003
    #1
    1. Advertisements

  2. rds4406

    Bob Basques Guest

    The following is a Font file I got years ago (that we still use), it only goes down to 1/16ths though.

    It should help explain how the File should be put together and what codes should be used where.

    This files uses the "~" as the escape charater.

    ~~ = ~
    ~C(or c?) = centerline symbol
    ~1 = 1/16
    ~2 = 1/8
    ~3 = 3/16
    ~4 = 1/4
    etc.

    There is alco a Centerline Symbol, and a Subscript/Superscript option.

    You need to start out with a base number (I don't recall it offhand [maybe 32320 ??]) and add the value of the new
    characters to it.

    Good Luck

    bobb




    *BIGFONT 20,1,126,126
    *0,4,SPECIALS Custimizing AutoCAD
    21,7,2,0
    *32323,11,CenterLine-C
    2,064,7,67,008,-12,-13,7,76,064,0
    *32305,32,onesixteenth-1
    2,0F4,020,3,06,4,05,020,7,49,3,05,4,06,0CB,7,47,0cb,3,06,4,05,7,49,7,54,
    3,05,4,06,094,0
    *32306,29,Oneeigth-2
    2,0F4,3,06,4,05,020,7,49,3,05,4,06,0CB,7,47,0CB,3,06,4,05,7,56,3,05,
    4,06,094,0
    *32307,32,threesixteenth-3
    2,0F4,020,3,06,4,05,020,7,51,3,05,4,06,
    0CB,7,47,0CB,3,06,4,05,7,49,7,54,3,05,4,06,094,0
    *32308,29,onequarter-4
    2,0F4,3,06,4,05,020,7,49,3,05,4,06,0CB,7,47,0CB,3,06,4,05,7,52,3,05,4,06,094,0
    *32309,32,fivesixteenth-5
    2,0F4,020,3,06,4,05,020,7,53,3,05,4,06,
    0CB,7,47,0CB,3,06,4,05,7,49,7,54,3,05,4,06,094,0
    *32310,28,threeeigth-6
    2,0F4,3,06,4,05,7,51,3,05,4,06,0CB,7,47,0CB,3,06,4,05,7,56,3,05,4,06,094,0
    *32311,32,sevensixteenth-7
    2,0F4,020,3,06,4,05,020,7,55,3,05,4,06,
    0CB,7,47,0CB,3,06,4,05,7,49,7,54,3,05,4,06,094,0
    *32312,29,onehalf-8
    2,0f4,3,06,4,05,020,7,49,3,05,4,06,0cb,7,47,0cb,3,06,4,05,7,50,3,05,4,06,094,0
    *32313,32,ninesixteenth-9
    2,0f4,020,3,06,4,05,020,7,57,3,05,4,06,
    0cb,7,47,0cb,3,06,4,05,7,49,7,54,3,05,4,06,094,0
    *32304,28,fiveeigths-0
    2,0f4,3,06,4,05,7,53,3,05,4,06,0cb,7,47,0cb,3,06,4,05,7,56,3,05,4,06,094,0
    *32369,34,elevensixteen-q
    2,0f4,020,3,06,4,05,020,7,49,7,49,3,05,4,06,0cb,7,47,0cb,3,06,4,05,
    7,49,7,54,3,05,4,06,094,0
    *32375,28,threequarter-w
    2,0f4,3,06,4,05,7,51,3,05,4,06,0cb,7,47,0cb,3,06,4,05,7,52,3,05,4,06,094,0
    *32357,34,thirteensixteen-e
    2,0f4,020,3,06,4,05,020,7,49,7,51,3,05,4,06,
    0cb,7,47,0cb,3,06,4,05,7,49,7,54,3,05,4,06,094,0
    *32370,29,seveneigths-r
    2,0f4,3,06,4,05,030,7,55,3,05,4,06,0cb,7,47,0cb,3,06,4,05,7,56,3,05,4,06,094,0
    *32372,34,fifteensixteen-t
    2,0f4,020,3,06,4,05,020,7,49,7,53,3,05,4,06,
    0cb,7,47,0cb,3,06,4,05,7,49,7,54,3,05,4,06,094,0
    *32382,49,ktilde
    2,14,8,(-9,-12),064,1,024,8,(1,3),021,020,02f,8,(4,-3),02f,020,
    021,023,2,8,(-18,-2),1,023,021,020,02f,8,(4,-3),02f,020,021,
    8,(1,3),024,2,8,(8,-12),14,8,(-17,-4),0
    *32339,3,superscript-S
    2,044,0
    *32371,3,subscript-s
    2,04c,0
     
    Bob Basques, Aug 7, 2003
    #2
    1. Advertisements

  3. rds4406

    Bob Basques Guest

    This works best with monospaces fonts, we use it mainly with SIMPLEX

    bobb



     
    Bob Basques, Aug 7, 2003
    #3
  4. rds4406

    Richard Coy Guest

    Add to .shp file
    %%1 gives you 1/8 in super/sub script ETC.

    *1,78,eighth
    2,8,18,51,1,8,0,66,12,-13,-10,-29,2,8,29
    -103,1,8,75,100,2,8,24,-79,1,12,19,4,13,12
    0,24,76,12,-19,4,13,12,-19,-4,13,12,0,-24
    76,12,19,-4,13,12,-23,-7,22,12,0,-23,60,12
    23,-7,22,12,23,7,22,12,0,23,60,12,-23,7,22
    2,8,46,-26,0
    *2,42,quarter
    2,8,22,51,1,8,0,66,12,-13,-10,-29,2,8,29
    -103,1,8,75,100,2,8,43,-114,1,8,0,66,8,-4
    0,8,-43,-51,8,60,0,2,8,16,-5,0
    *3,62,third
    2,8,24,51,1,8,0,66,12,-13,-10,-29,2,8,29
    -103,1,8,75,100,2,8,1,-58,1,12,25,8,-28,12
    22,-8,-30,12,0,-12,-40,12,-30,-11,-30,12
    30,-11,-40,12,0,-14,-40,12,-22,-11,-35,12
    -28,9,-28,2,8,71,4,0
    *4,103,threeeight
    2,8,8,108,1,12,25,8,-28,12,22,-8,-30,12,0
    -12,-40,12,-30,-11,-30,12,30,-11,-40,12,0
    -14,-40,12,-22,-11,-35,12,-28,9,-28,2,8,28
    -54,1,8,75,100,2,8,24,-79,1,12,19,4,13,12
    0,24,76,12,-19,4,13,12,-19,-4,13,12,0,-24
    76,12,19,-4,13,12,-23,-7,22,12,0,-23,60,12
    23,-7,22,12,23,7,22,12,0,23,60,12,-23,7,22
    2,8,49,-25,0
    *5,53,half
    2,8,23,51,1,8,0,66,12,-13,-10,-29,2,8,29
    -103,1,8,75,100,2,8,51,-114,1,8,-53,0,12
    25,25,-25,12,22,14,15,12,0,20,40,12,-21,8
    30,12,-24,-11,30,2,8,73,-46,0
    *6,78,twothird
    2,8,67,53,1,8,-53,0,12,25,25,-25,12,22,14
    15,12,0,20,40,12,-21,8,30,12,-24,-11,30,2
    8,26,-103,1,8,75,100,2,8,3,-58,1,12,25,8
    -28,12,22,-8,-30,12,0,-12,-40,12,-30,-11
    -30,12,30,-11,-40,12,0,-14,-40,12,-22,-11
    -35,12,-28,9,-28,2,8,71,2,0
    *7,100,fiveeight
    2,8,12,61,1,12,28,-8,25,12,24,12,30,12,0
    20,40,12,-24,11,35,12,-23,-9,25,8,-3,3,8
    0,29,8,46,0,2,8,-22,-113,1,8,75,100,2,8,24
    -79,1,12,19,4,13,12,0,24,76,12,-19,4,13,12
    -19,-4,13,12,0,-24,76,12,19,-4,13,12,-23
    -7,22,12,0,-23,60,12,23,-7,22,12,23,7,22
    12,0,23,60,12,-23,7,22,2,8,49,-27,0
    *8,67,threequarter
    2,8,14,108,1,12,25,8,-28,12,22,-8,-30,12
    0,-12,-40,12,-30,-11,-30,12,30,-11,-40,12
    0,-14,-40,12,-22,-11,-35,12,-28,9,-28,2,8
    27,-54,1,8,75,100,2,8,43,-114,1,8,0,66,8
    -4,0,8,-43,-51,8,60,0,2,8,16,-5,0
    *9,80,seveneight
    2,8,9,118,1,8,56,0,8,0,-3,8,-35,-63,2,8,9
    -46,1,8,75,100,2,8,25,-79,1,12,19,4,13,12
    0,24,76,12,-19,4,13,12,-19,-4,13,12,0,-24
    76,12,19,-4,13,12,-23,-7,22,12,0,-23,60,12
    23,-7,22,12,23,7,22,12,0,23,60,12,-23,7,22
    2,8,41,-27,0
     
    Richard Coy, Aug 9, 2003
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.