sending lispfunction list of 3 ints fails, shows null input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have only tested this on 2009, since I dont have VS 2010 yet to test on 2012.
I was trying to make a function to show the acad color selection dialog, so the incoming argument would be a list of 3 intergers for RGB.
But .net is not taking it. It will take a list of any other integers, but when I send in 3, it shows the resultbuffer as null.
Here is the code to test:
[LispFunction("TestRB")] public static ResultBuffer ShowAcColorDialog(ResultBuffer args) { MessageBox.Show("wow"); }
the body is empty, because we are just testing to see what args is during debug.
If you call it with (TestRB (list 1 2)) in acad, the args shows typical items.
If you call it with (TestRB (list 1 2 3)) in acad, the args shows null.
Seems like some kind of bug. I can work around if so but am wondering if its fixed in higher versions.
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties