robierzo Posted July 2, 2018 Share Posted July 2, 2018 I use the function (vl-load-com) to load the active functions, but it does not recognize the activex functions. specifically : vlax-ename->vla-object Does anyone know what this problem may be due to? Gracias. Quote Link to comment Share on other sites More sharing options...
tombu Posted July 2, 2018 Share Posted July 2, 2018 Just to make sure it's not the code try pasting to the command line: (vl-load-com) (setq e (car (entsel))) (vlax-ename->vla-object e) to see if it returns the entity name of a selected object. Quote Link to comment Share on other sites More sharing options...
robierzo Posted July 2, 2018 Author Share Posted July 2, 2018 Hi Tombu. Thank you very much for answering. The result is this: Comando: (vl-load-com) Comando: (setq e (car (entsel))) Designe objeto: <Nombre entidad: 7ffffb0f110> Comando: (vlax-ename->vla-object e) tipo de argumento erróneo: FILE nil Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 3, 2018 Share Posted July 3, 2018 There was a post a while ago about reloading the VL modules so Autocad could find again, search here, sounds like same problem. Quote Link to comment Share on other sites More sharing options...
robierzo Posted July 3, 2018 Author Share Posted July 3, 2018 Thank you very much BIGAL. I have already searched the forum, before publishing my question. But I have not found anything. I think I'll reinstall autocad. Thank you. Quote Link to comment Share on other sites More sharing options...
satishrajdev Posted July 3, 2018 Share Posted July 3, 2018 I had a same problem, I reinstalled AutoCAD and that solved it. 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.