CadFrank Posted September 15, 2016 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
CadFrank Posted September 15, 2016 Author Posted September 15, 2016 Ok well I figured it out.. was a bad call of car that should of been caddr Regards, Frank Quote
Lee Mac Posted September 15, 2016 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
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.