.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Load lisp app from c# code and wait until it finish

1 REPLY 1
Reply
Message 1 of 2
ashrafa33
77 Views, 1 Reply

Load lisp app from c# code and wait until it finish

i have a lsp app that select lines and get there proerties and save them to file

i want to run this app from c# code

but when i run it from c# code the c# countine working and when it read the txt file it found it empty 

after while the file will have the lines properties from lisp file

1 REPLY 1
Message 2 of 2

Should others reading your post guess what your code does?

 

Post your code.

 

You have to define a C:XXXX command function in your LISP file that runs the operation, and then call it from the Application.Invoke() method. You also have to call (vl-acad-defun) to register your command function so that it can be called by Invoke().

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report