Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey All,
I'm hoping this can be an easy fix for some of you experts. I'm by no means totally proficient with C#/.NET/Visual Studio yet. Trying to get better. Anyways...
In short.. Trying to create a Lisp Function via .NET (C#). I've created some Lisp Functions via this API in the past, but now that I've switched over to Civil 3D I can't seem to get something right?
I have a SIMPLE method / function:
using System; using System.Windows; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Runtime; namespace Test { public class Testing { [LispFunction("test")] public static void RunTest(ResultBuffer rbArgs) { Autodesk.AutoCAD.ApplicationServices.Application.ShowAlertDialog("Hello World!"); } } }
There are no build errors:
I believe I have all the correct dependencies referenced:
Yet, when I run the function, it does not exist:
Please can I get some advice to get over this hurdle?
...About:
Best,
~DD
Solved! Go to Solution.