Is there a bug when entmaking a dimstyle?

Discussion in 'AutoCAD' started by Dave F, Aug 18, 2003.

  1. Dave F

    Dave F Guest

    Hi
    A2k2

    The below worked fine in R14.
    But now the group 5 is being ignored and the dimstyle's arrows default to
    closedfilled.
    Am I missing something or is there a bug?

    Thanks in advance

    Dave F

    (entmake
    (list
    '(0 . "dimstyle")
    '(100 . "AcDbSymbolTableRecord")
    '(100 . "AcDbDimStyleTableRecord")
    (cons 2 DSTL)
    '(70 . 0)
    '(5 . "_archtick")
    '(6 . "")
    '(7 . "")
    (cons 40 SCL)
    '(41 . 2.0)
    '(42 . 3.0)
    '(43 . 0.0)
    '(44 . 1.5)
    '(45 . 1.0)
    '(46 . 1.5)
    '(140 . 1.8)
    '(141 . 0.0)
    '(145 . 1.67)
    '(147 . 1.0)
    '(73 . 0)
    '(74 . 0)
    '(77 . 1)
    '(78 . 8)
    '(172 . 1)
    '(173 . 0)
    '(178 . 7)
    '(271 . 2)
    '(272 . 2)
    (cons 340 (tblobjname "style" "romans"))
    '(283 . 1)
    '(284 . 8)
    ) ; list
    ) ; entmake
     
    Dave F, Aug 18, 2003
    #1
  2. Dave F

    Mark Propst Guest

    that is part of the problem.
    when you retrieve the name from dimstyle table it drops the underscore, but
    the block name actually contains the underscore (check tblnext "Block"...)
    and you'll need to include it in a setvar to get it to work....very
    confusing ?:-|
     
    Mark Propst, Aug 18, 2003
    #2
  3. Dave F

    Dave F Guest

    You're quite right, the block name seems to change depend on where you look.
    This is another reason why I'm now rewriting my Lisps to VBA routines.

    Dave F
     
    Dave F, Aug 19, 2003
    #3
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.