Activate Method

Back to Methods Reference

Makes the specified drawing active.

Signature

VBA : object.Activate

VL : vla-Activate Object

(vla-activate (vla-item docs 1))

  • Object : Document
    The object or objects this method applies to.

Example :


;Get the document collection object from the application
;and active the 2nd item in the collection: 

(setq docs (vla-get-documents (vlax-get-acad-object)))

(vla-activate (vla-item docs 1))

 
The AutoLisp/Visual Lisp/VBA Resource Website
Google
Search the WWW Search AfraLisp

Copyright © 1999-Perpetuity by AfraLisp

All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage

The AutoLisp/Visual Lisp/VBA Resource Website