Tried to write a plugin with vb.net express 2010 targeted .net 3.5.
Here is my code and screen shot:
Imports System.Collections.Generic Imports System.Linq Imports System.Text Imports Teigha.DatabaseServices Imports Teigha.Runtime Imports Teigha.Geometry Imports HostMgd.ApplicationServices Imports HostMgd.EditorInput Imports HostMgd.Windows Imports Platform = HostMgd Imports PlatformDb = Teigha Namespace bjVBnanoCAD Public Class Class1 <CommandMethod("HelloWorld")> _ Public Sub bjHelloWorld() Dim ed As Editor = Platform.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor ' Print message to command line ed.WriteMessage("Hello nanoCAD plugin with vb.net express 2010.") End Sub End Class End Namespace
so cool. love nanoCAD.
Cean