Activex command for VPLAYER

Discussion in 'AutoCAD' started by Gustavo Guidi, Sep 22, 2004.

  1. I need to know how to create a NEWFREEZE layer inside a reactor action

    Thanks
     
    Gustavo Guidi, Sep 22, 2004
    #1
  2. I answear myself (if anybody is interested) i found that
    "ViewportDefault" do the job

    (setq lyrobj (vla-add (vla-get-layers Cur_acadDoc) "nome")))
    (vlax-put-property lyrobj "ViewportDefault" :vlax-true)
    (vlax-put-property lyrobj "Color" (car ldefc))
    (vlax-release-object lyrobj)
     
    Gustavo Guidi, Sep 23, 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.