CadFrank Posted September 15, 2016 Share Posted September 15, 2016 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 Quote Link to comment Share on other sites More sharing options...
CadFrank Posted September 15, 2016 Author Share Posted September 15, 2016 Ok well I figured it out.. was a bad call of car that should of been caddr Regards, Frank Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 15, 2016 Share Posted September 15, 2016 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.