hexagon keynote

Discussion in 'AutoCAD' started by JackPH, May 13, 2004.

  1. JackPH

    JackPH Guest

    I have a simple lisp to create a circle keynote using qleader and "dsc" to set size. How can I define a hexagon to replace the circle?
     
    JackPH, May 13, 2004
    #1
  2. JackPH

    Jamie Duncan Guest

    1. create a standard block with an attribute and insert it from a folder.
    2. define a block with an attribute (using entmake) and insert it


    Not sure exactly what you want...


    Jamie Duncan
    set size. How can I define a hexagon to replace the circle?
     
    Jamie Duncan, May 13, 2004
    #2
  3. The POLYGON command, feeding in 6 for the number of sides and your choice of
    Inscribed or Circumscribed, should be easy enough to substitute for the
    CIRCLE command in whatever your routine does.

    Kent Cooper, AIA

    set size. How can I define a hexagon to replace the circle?
     
    Kent Cooper, AIA, May 13, 2004
    #3
  4. Following up with a little trial, I find that if you give the Polygon
    command 6 sides and a center point, and a radius as a plain NUMBER, it makes
    the hexagon with the top and bottom edges horizontal, and vertices at left
    and right, for BOTH Inscribed and Circumscribed varieties. If, on the other
    hand, you want your hexagon to have the left and right sides vertical, and
    vertices at top and bottom, you need to give it the radius with a DIRECTION
    involved somehow [e.g. @{x-distance},{y-distance} or @{distance}<{angle}],
    and here it makes a DIFFERENCE whether it's Inscribed or Circumscribed: do
    it to the left or right for a Circumscribed hexagon, and up or down for an
    Inscribed one.

    Kent Cooper, AIA
     
    Kent Cooper, AIA, May 13, 2004
    #4
  5. JackPH

    JackPH Guest

    Excellent. Thanks a bunch.
     
    JackPH, May 13, 2004
    #5
  6. Of course, Jamie Duncan's suggestion to use a block would use less memory
    than drawing a polygon for each instance, in addition to which, it wouldn't
    be able to be mistakenly mis-shaped with a Stretch operation or something.
    That's what we do with all our reference markers/symbols (even some that are
    just circles, as for column line identifiers) -- blocks, drawn at "full"
    plotted size and scaled for the drawing factor, with editable text infills.

    Kent Cooper, AIA


    ...
     
    Kent Cooper, AIA, May 14, 2004
    #6
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.