Jump to content

how to using vl-arx-import function?


sieu khung khiep

Recommended Posts

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