This is sam1's Typepad Profile.
Join Typepad and start following sam1's activity
sam1
Recent Activity
Hi Madhukar Moogala, I copied GetSymbol and built the solution but it's not working (Windows 7 and AutoCAD 2016):
System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Autodesk.AutoCAD.DatabaseServices.TypedValue[]'.
the error occurs at this line:
TypedValue[] tValue = (TypedValue[])d.GetLispSymbol(res.StringResult);
(I was typing the name of a string var. A real number symbol leads to the same kind of error at the same line: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'Autodesk.AutoCAD.DatabaseServices.TypedValue[]'.)
What am I missing?
Set or Get Lisp Symbol in .NET
By Madhukar Moogala We are pretty much aware of pinvoke acedGetSym\acedPutSym in .NET to manipulate lisp symbols , we can avoid pinvoking with help of SetLispSymbol and GetLispSymbol. In the following example ,my attention is towards "how to store \retireve multiple fragements of information in...
sam1 is now following The Typepad Team
Dec 3, 2015
Subscribe to sam1’s Recent Activity