Message 1 of 11
Call AutoLISP Function from C# Code
Not applicable
02-26-2015
11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write a function to simplify the process of calling an AutoLISP function from C#.NET. Right now my code is structured like this:
public static class LanguageExtensions
{
public static List<String> executeLISPFunction(string functionName)
{
List<String> funcReturnValues = new List<String>();
//Call lisp function and set funcReturnValues equal to the values the AutoLISP function returns
return funcReturnValues;
}
}
I need to know if the approach I'm taking is possible and if so how I would replace the comment with code that does what the comment describes. Any help would be greatly appreciated!