Jump to content

2014 AutoCAD Electrical and Lisp routines


bigr1822

Recommended Posts

All,

 

Has anyone else noticed some change in 2014 not liking lisp routines. I have been using the same Lisp routines in 08,09 and 2013 without any issues. When opening a drawing, I have a acaddoc.lsp that loads automatically. It removes all page setups in the drawing that is getting opening. Then within that same routine, I am importing all new ones from within another drawing. It no longer works with 2014. Here is the error I am getting.

 

AutoCAD menu utilities loaded.; error: bad argument type: VLA-object collection: #

 

I tried uploading the files, but it wont upload. Just sits and spins.

 

Any help will be greatly appreciated.

Link to comment
Share on other sites

Have you configured AutoCAD Security? The link in my signature may be helpful in that regard.

 

 

 

Separately, since you're manipulating page setups, you may also find this post useful:

 

(foreach layout (layoutlist)
    (vla-setactivepagesetup layout "[color="red"]YourPageSetupName[/color]")
)

 

Cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...