Extrate hatch values?

Discussion in 'AutoCAD' started by stephen4444, Aug 8, 2003.

  1. stephen4444

    stephen4444 Guest

    How to extract the values (like pattern, scale, angle, and layer) from a hatch pattern?

    Thanks
     
    stephen4444, Aug 8, 2003
    #1
  2. (vlax-dump-object (vlax-ename->vla-object (car (entsel "\nSelect
    Hatch: "))))

    or

    (setq hent (vlax-ename->vla-object (car (entsel "\nSelect Hatch: ")))
    hlayer (vla-get-layer hent)
    hangle (vla-get-patternangle hent)
    hscale (vla-get-patternscale hent)
    ;;;what ever else you want
    )

    --
    Ken Alexander
    Acad2000
    Windows2000 Prof.

    "We can't solve problems by using the same kind
    of thinking we used when we created them."
    --Albert Einstein
     
    Ken Alexander, Aug 8, 2003
    #2
  3. stephen4444

    stephen4444 Guest

    thx much
     
    stephen4444, Aug 8, 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.