Code Red > .NET

Favor Request (test assembly):

(1/2) > >>

TR:
I'm looking for people with AutoCAD 2005, 2006 or 2007 and .NET 2.0 installed to test the PyAcadDotNet.dll in the attached zip file. To run netload PyAcadDotNet.dll into AutoCAD and issue "pyfile" at the command line. Once the Open File Dialog box is displayed select the test2.py file and click ok.

If anyone is so kind as to test this for me please reply with:

1) what was displayed to the commandline after running the .py file.
2) what version of AutoCAD you're using.

Kerry:
Ac2007:
Command: netload
Command: pyfile
Unknown command "PYFILE".  Press F1 for help.


ac2006

Command: netload
Cannot load assembly. Error details: System.IO.FileNotFoundException: Could not
load file or assembly 'acdbmgd, Version=16.1.84.0, Culture=neutral,
PublicKeyToken=7208edf2a10162b1' or one of its dependencies. The system cannot
find the file specified.
File name: 'acdbmgd, Version=16.1.84.0, Culture=neutral,
PublicKeyToken=7208edf2a10162b1'
   at System.Reflection.Assembly.GetExportedTypes()
   at Autodesk.AutoCAD.Runtime.ExtensionLoader.ProcessAssembly(Assembly
assembly)
   at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
   at loadmgd()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure
logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

Command: pyfile
Unknown command "PYFILE".  Press F1 for help.


Didn't bother with ac2005 ..

Jeff_M:
AC2007, ditto Kerry's results.
Don't have 2006 running at the moment.

MickD:
Sorry Tim, don't have .net 2.0.

TR:
That confirms what I though but didn't want to hear. I was hoping that I could write .NET dll's against 2005 and have them run in later versions of AutoCAD.

Navigation

[0] Message Index

[#] Next page

Go to full version