Jump to content

not recognize the activex functions


robierzo

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

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