Jump to content

error: ActiveX Server returned an error: Index non valide


CadFrank

Recommended Posts

Hi,

 

What should I be looking for to find the problem in my code when it pops up this error message.

 

; error: ActiveX Server returned an error: Index non valide

 

I've read somethings on internet but it says that I should look that my block is Dynamic.

 

Well I now it is...

 

So please help :unsure:

Link to comment
Share on other sites

Usually this error is a result of attempting to use the vlax-safearray->list function to convert an empty safearray to a list; you would not receive an ActiveX error when using Vanilla AutoLISP functions such as car/caddr.

 

This reference may help you to debug your program based on the error message received: Error Message Troubleshooter.

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...