Jump to content

Lisp error- "no function definition- VLAX-WRITE-ENABLED-P


Skierz

Recommended Posts

Hello,

Below attached lisp file is for deleting the solid hatches from the drawing , even from the nested blocks. But when I am trying to run it in on any of the drawing , I am getting error as shown in the below picture. 
image.png.42dd411cc8a8d89287b3854717e94fed.png

Can somebody help me to figure out why I am getting this error?
 

delsolhat.lsp

Thanks

Link to comment
Share on other sites

14 hours ago, dlanorh said:

This may HELP

 

Although there is a previous vlax call, it could be No 3 or No 4, probably No 4.

 


@dlanorh Thanks for this tip.
It seems, you are correct. The antivirus software may be interfering and doing some registry clean up causing this error. Since the antivirus is controlled by office administration, I can neither disable nor uninstall it.

It would be of great help if you can suggest some alternate work around .
Thanks

Link to comment
Share on other sites

30 minutes ago, Skierz said:


@dlanorh Thanks for this tip.
It seems, you are correct. The antivirus software may be interfering and doing some registry clean up causing this error. Since the antivirus is controlled by office administration, I can neither disable nor uninstall it.

It would be of great help if you can suggest some alternate work around .
Thanks

 

Another Link to Autodesk. This page has an attachment at the bottom to replace the missing registry files, if that is the cause. READ IT CAREFULLY as it is setup for AutoCAD 2020 but explains what to do for earlier versions. HERE

  • Thanks 1
Link to comment
Share on other sites

2 hours ago, BIGAL said:

Did you not read my Post !! The answer is there 


@BIGAL I did , but after going through the post shared by @dlanorh I realized that this issue is with all the lisp using vlax functions. Probably, due to my antivirus software interfering and registry cleanup. So , I wanted to eliminate the root cause.




 

Link to comment
Share on other sites

1 hour ago, dlanorh said:

 

Another Link to Autodesk. This page has an attachment at the bottom to replace the missing registry files, if that is the cause. READ IT CAREFULLY as it is setup for AutoCAD 2020 but explains what to do for earlier versions. HERE


Thanks @dlanorh for this article. Before trying this out, I searched the internet and common suggestions were to firstly try repairing and updating the AutoCAD.
Luckily,  after repairing and updating the AutoCAD , this lisp started working fine.
Thanks , I got to learn much about troubleshooting !

  • Like 1
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...