CTB name associated to the current drawing

Discussion in 'AutoCAD' started by MarcelGoulet, May 5, 2004.

  1. MarcelGoulet

    MarcelGoulet Guest

    Hi,

    Is there a way, using Lisp ou VLisp to know the name of the CTB file of the current drawing ?

    Thanks
     
    MarcelGoulet, May 5, 2004
    #1
  2. (vla-get-stylesheet <layout object>)

    where <layout object> could be the activelayout
    or any layout defined in a drawing.

    (vla-get-activelayout
    (vla-get-activedocument)
    (vlax-get-acad-object)))
     
    Jason Piercey, May 5, 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.