• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD 2010/2011/2012 DWG Format

    Reply
    Distinguished Contributor
    Posts: 118
    Registered: ‎07-28-2006

    Condition Lisp

    97 Views, 1 Replies
    02-14-2013 05:28 AM

    Could someone tell why this is not working, I cannot figure why it does not change the layer description as I want.


    (cond ((= (tblobjname "LAYER" "Dim1") "Dim1")
               (vla-put-description (vlax-ename->vla-object (tblobjname "LAYER" "Dim1")) "Dimensions")
             )

    )

     

    thank you in advance, Byron

    Please use plain text.
    Distinguished Mentor
    braudpat
    Posts: 583
    Registered: ‎12-15-2006

    Re: Condition Lisp

    02-14-2013 06:21 AM in reply to: 1bdchristian

     

    Hello

     

    Please Post your Lisp/VLisp questions/problems in  this forum :

    http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/bd-p/130

     

    Bye, Patrice

     

    Please use plain text.