Entmake dimension

Discussion in 'AutoCAD' started by cr, Oct 21, 2004.

  1. cr

    cr Guest

    What dxf codes are required to entmake a dimension?
     
    cr, Oct 21, 2004
    #1
  2. cr

    Adesu Guest

    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")))
     
    Adesu, Oct 21, 2004
    #2
  3. 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)
     
    Casey Roberts, Oct 21, 2004
    #3
  4. cr

    James Allen Guest

    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...
     
    James Allen, Oct 21, 2004
    #4
  5. The 'dxf reference' you speak of, is that something I can find or is it an a
    particular book you have?
     
    Casey Roberts, Oct 21, 2004
    #5
  6. cr

    MP Guest

    help | developer help | dxf reference
    :)
     
    MP, Oct 21, 2004
    #6
  7. Now doesn't that make life easier... thanks for the tip. Looks like I
    should explore HELP more thoroughly.

    Casey
     
    Casey Roberts, Oct 22, 2004
    #7
  8. cr

    Rudy Tovar Guest

    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
     
    Rudy Tovar, Nov 1, 2004
    #8
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.