Is there a bug when entmaking a dimstyle?

Dave F

Usenet Archive
Joined
Aug 18, 2003
Messages
42
Reaction score
0
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
 
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 ?:-|
 
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
 

Latest threads

Back
Top