sieu khung khiep Posted January 11, 2021 Share Posted January 11, 2021 (edited) 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 January 11, 2021 by sieu khung khiep Quote Link to comment Share on other sites More sharing options...
sieu khung khiep Posted January 12, 2021 Author Share Posted January 12, 2021 hi, I didn't read the sdk carefully! My question was solved with aceddefun. Thanks. 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.