Jump to content
sieu khung khiep

how to using vl-arx-import function?

Recommended Posts

sieu khung khiep

Hi,

For example I have 2 simple functions defined in .arx as follows:

int function1(){
return 1;
}

ACHAR * function2(){
return L"2";
}

Can I import them into AutoCAD and use the same as lisp?

after using vl-arx-import, I just type (function1) -> return 1 or (function2) -> return "2".

I tried with (vl-arx-import 'function1 "myapp.arx") but fail 🤨

I have read this post but maybe I'm misinterpreting the function in (vl-arx-import ['function | "application"])

 

Thanks!

Edited by sieu khung khiep

Share this post


Link to post
Share on other sites
sieu khung khiep

hi, I didn't read the sdk carefully!

My question was solved with aceddefun.

Thanks.

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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