Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/19/2023 in all areas

  1. You'll only be able to use Script Writer on unopened drawings, else the drawings will be rendered as read-only to the script. Since the ActiveX zoomextents method is derived from the application class, you will only be able to invoke it on the current drawing, not those which are open but inactive. Furthermore, since LISP operates within the document namespace, you won't be able to active an inactive drawing and then issue a command, since, as soon as the drawing becomes active, the LISP evaluation will cease. Aside from using the .NET (C#/F#/VB) or ARX (C++) APIs, the only way that I could see this being accomplished is using a VBA function to send the command to the appropriate document - the late great Michael Puckett (MP) demonstrates this technique here.
    1 point
×
×
  • Create New...