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

Loading a Lisp file with VB.net

5 REPLIES 5
Reply
Message 1 of 6
GeeHaa
7774 Views, 5 Replies

Loading a Lisp file with VB.net

Hi,

 

Is there a way to Load a lisp file from VB.net? All  I want to do is load it so its available at the command Prompt.

 

Thanks in Advance

5 REPLIES 5
Message 2 of 6
BlackBox_
in reply to: GeeHaa

Have you tried SendStringToExecute() Method?



"How we think determines what we do, and what we do determines what we get."

Message 3 of 6
GeeHaa
in reply to: GeeHaa

I only will do that as a last resort.

 

I tried

Autodesk.AutoCAD.Internal.Utils.RegisterLispCommand(LispCommandName, LispFilename)

 

But I get an eKeyNotFound error. I can't find any documentation about this method so I'm not sure what it does.

 

Thanks

 

G

Message 4 of 6
Virupaksha_aithal
in reply to: GeeHaa

It is better to avoid using any internal API, in this case RegisterLispCommand, when an alternative method (SendStringToExecute) is available. Internal methods will not have any documentation 



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Message 5 of 6
ebikoba
in reply to: Virupaksha_aithal

How do you use the SendStringToExecute? I need an example please for loading a lisp routine.

Message 6 of 6
Virupaksha_aithal
in reply to: ebikoba

 

Hi,

 

Please refer https://forums.autodesk.com/t5/net/can-you-do-an-appload-from-a-c-program/td-p/5810305 

 

Thanks

 

 



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost