資源簡介
AutoCAD VBA&VB.NET開發基礎與實例教程 附書 源碼

代碼片段和文件信息
//?(C)?Copyright?2002-2005?by?Autodesk?Inc.?
//
//?Permission?to?use?copy?modify?and?distribute?this?software?in
//?object?code?form?for?any?purpose?and?without?fee?is?hereby?granted?
//?provided?that?the?above?copyright?notice?appears?in?all?copies?and?
//?that?both?that?copyright?notice?and?the?limited?warranty?and
//?restricted?rights?notice?below?appear?in?all?supporting?
//?documentation.
//
//?AUTODESK?PROVIDES?THIS?PROGRAM?“AS?IS“?AND?WITH?ALL?FAULTS.?
//?AUTODESK?SPECIFICALLY?DISCLAIMS?ANY?IMPLIED?WARRANTY?OF
//?MERCHANTABILITY?OR?FITNESS?FOR?A?PARTICULAR?USE.??AUTODESK?INC.?
//?DOES?NOT?WARRANT?THAT?THE?OPERATION?OF?THE?PROGRAM?WILL?BE
//?UNINTERRUPTED?OR?ERROR?FREE.
//
//?Use?duplication?or?disclosure?by?the?U.S.?Government?is?subject?to?
//?restrictions?set?forth?in?FAR?52.227-19?(Commercial?Computer
//?Software?-?Restricted?Rights)?and?DFAR?252.227-7013(c)(1)(ii)
//?(Rights?in?Technical?Data?and?Computer?Software)?as?applicable.
//
using?System;
using?Autodesk.AutoCAD.Runtime;
using?Autodesk.AutoCAD.EditorInput;
using?Autodesk.AutoCAD.ApplicationServices;
[assembly:?CommandClass(typeof(ClassLibrary.arxClass))]
namespace?ClassLibrary
{
????///?
????///?Summary?description?for?arxClass.
????///?
????public?class?arxClass
????{
????????public?arxClass()
????????{
????????????//
????????????//?TODO:?Add?constructor?logic?here
????????????//
????????}
????????//?Define?Command?“AsdkCmd1“
????????[CommandMethod(“AsdkCmd1“)]
????????static?public?void?test()?//?This?method?can?have?any?name
????????{
????????????//?Put?your?command?code?here
????????????Editor?ed?=?Application.DocumentManager.MdiActiveDocument.Editor;
????????????string?str?=?“Second“;
????????????ed.WriteMessage(str);?
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????177664??2007-03-21?07:15??chap10\ex01.dvb
?????文件?????187392??2007-03-21?08:09??chap10\ex02.dvb
?????文件?????194048??2007-03-21?08:30??chap10\ex03.dvb
?????文件?????183808??2007-03-22?08:04??chap11\ex01.dvb
?????文件?????182272??2007-04-11?14:27??chap11\ex02.dvb
?????文件????????145??2007-03-22?08:38??chap11\plot.log
?????文件?????193536??2007-03-23?09:27??chap12\ex01.dvb
?????文件?????221184??2007-03-24?22:39??chap12\ex02.dvb
?????文件??????20704??2007-03-27?10:58??chap13\Drawing1_recover.dwg
?????文件????????146??2007-03-27?10:58??chap13\acad.err
?????文件?????187392??2007-04-10?22:10??chap13\ex01.dvb
?????文件?????195072??2007-04-10?22:11??chap13\ex02.dvb
?????文件?????214528??2007-04-10?22:11??chap13\ex03.dvb
?????文件?????203264??2007-03-28?07:29??chap13\ex04.dvb
?????文件?????????60??2007-03-28?08:01??chap13\profile\profile.ini
?????文件????????180??2007-03-25?21:33??chap13\File\binaryFile.pot
?????文件????????185??2007-03-25?21:51??chap13\File\txtFile.txt
?????文件?????200704??2007-03-27?10:11??chap13\Databa
?????文件?????208896??2007-03-28?07:59??chap14\ex01.dvb
?????文件???????9728??2007-03-28?08:29??chap14\ex02_dll.dvb
?????文件?????207360??2007-03-28?15:03??chap14\ex03.dvb
?????文件?????210432??2007-03-28?17:57??chap14\ex04.dvb
?????文件?????206848??2007-03-28?18:16??chap14\ex05.dvb
?????文件???????1831??2007-03-28?08:18??chap14\ex02\Module1.bas
?????文件????????863??2007-03-28?08:27??chap14\ex02\ex02.vbp
?????文件?????????86??2007-03-28?08:27??chap14\ex02\ex02.vbw
?????文件??????10137??2007-03-28?08:27??chap14\ex02\frmMain.frm
?????文件??????????0??2007-03-28?08:27??chap14\ex02\frmMain.frx
?????文件????????774??2007-03-28?14:43??chap14\Icon\Line.bmp
?????文件???????4846??2003-06-12?10:14??chap14\Icon\MyIcon.ico
............此處省略689個文件信息
評論
共有 條評論