What dxf codes are required to entmake a dimension?
Hi cr,try this (entmake (list '(0 . "DIMENSION") '(100 . "AcDbEntity") '(67 . 0) '(8 . "0") '(100 . "AcDbDimension") '(10 10.0 5.0 0.0) '(11 5.0 5.0 0.0) '(12 0.0 0.0 0.0) '(70 . 32) '(1 . "") '(71 . 5) '(72 . 1) '(41 . 1.0) '(42 . 10.0) '(52 . 0.0) '(53 . 0.0) '(54 . 0.0) '(51 . 0.0) '(210 0.0 0.0 1.0) '(3 . "Standard") '(100 . "AcDbAlignedDimension") '(13 0.0 0.0 0.0) '(14 10.0 0.0 0.0) '(15 0.0 0.0 0.0) '(16 0.0 0.0 0.0) '(40 . 0.0) '(50 . 0.0) '(100 . "AcDbRotatedDimension")))
are all of these required in making a dimension, or can some be omitted. For instance, if I delete dxf code 8, will it just be made on the current layer? Thanks, Casey (cr)
Hi Casey, What you suggest about code 8, that sounds right. In general, if you want to know for sure, try it stripping one code at a time until you find the minimum. I think 67 & 8 are optional and 0, 100, 10, & 11 are required. Beyond that I'd have to look up dimensions in the dxf reference...
The 'dxf reference' you speak of, is that something I can find or is it an a particular book you have?
Now doesn't that make life easier... thanks for the tip. Looks like I should explore HELP more thoroughly. Casey
Don't use 'entmake', since autodesk will be moving away from certain dxf codes bit by bit on dimensions. Start using VLA functions. -- MASi Copyright 2004 by Cadentity www.Cadentity.com Autodesk Authorized Developer