Create a new VLX application and include an old VLX inside...

Create a new VLX application and include an old VLX inside...

Kh.mbkh
Advocate Advocate
203 Views
2 Replies
Message 1 of 3

Create a new VLX application and include an old VLX inside...

Kh.mbkh
Advocate
Advocate

Having a VLX application (App1.VLX but without lsp, fas or prj files), This App1.VLX contains some functions we can call (func1 , func2).

We want to build a new VLX (App2.VLX) that will need to call func1 and func2 from App1.VLX.

Is it possible to do so?

https://help.autodesk.com/view/ACD/2024/FRA/?guid=GUID-C9A09267-3877-478E-BC3C-0A6C8F2F17FD

I am not sure if what's being discussed here is about this issue...

Thanks

0 Likes
204 Views
2 Replies
Replies (2)
Message 2 of 3

Moshe-A
Mentor
Mentor

@Kh.mbkh  hi

 

Sure you can, if you know the function name plus it's arguments than all you need is to load the old vlx from your vlx

and call the functions you want.

if you encounter issues from the functions in the old vlx then this is a problem 🤣 

 

Moshe

 

(if (setq fname (findfile "App1.vlx"))
  (load fname)
)

(func1 .....)
(func2 .....)
0 Likes
Message 3 of 3

Kh.mbkh
Advocate
Advocate
No, the objectif is to have ONLY one VLX at the end (App2.VLX), so it's like combine App1.VLX into App2.VLX. So load the first application (with findefile) is not what we look for here.
Thanks !
0 Likes