Layer Description in AutoCAD 2005

Discussion in 'AutoCAD' started by mlapinski, Jun 25, 2004.

  1. mlapinski

    mlapinski Guest

    I see that AutoCAD 2005 has a field in the Layer Manager dialog box called "Description" for each layer. Is there any way to pass a layer description to this field when creating a new layer through lisp?

    Thanks,
    Mike
     
    mlapinski, Jun 25, 2004
    #1
  2. (vl-load-com)
    (setq myLayer (vla-Add (vla-Get-Layers (vla-Get-ActiveDocument
    (vlax-Get-Acad-Object))) "Test"))
    (vla-Put-Description myLayer "What?! You can't figure what this layer is
    for?")


    --
    R. Robert Bell


    I see that AutoCAD 2005 has a field in the Layer Manager dialog box called
    "Description" for each layer. Is there any way to pass a layer description
    to this field when creating a new layer through lisp?

    Thanks,
    Mike
     
    R. Robert Bell, Jun 25, 2004
    #2
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.