06-2、tgss50型水平刮板输送机机头段设计外文翻译_第1页
06-2、tgss50型水平刮板输送机机头段设计外文翻译_第2页
06-2、tgss50型水平刮板输送机机头段设计外文翻译_第3页
06-2、tgss50型水平刮板输送机机头段设计外文翻译_第4页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、BeginShortcutOSnap 事件用户在图形窗口上按鼠标右键后,以及在快捷菜单以 osnap 模式出现之前被触发。See Also | Exle用法:object.BeginShortcutGrip(Shortcut)对象:对象对象表达式,其结果为有效的容器对象,此处必须为文档对象()。Shortcut快捷菜单Popup对象:通过操作按钮来输入/输出快捷菜单即将显示说明:这个事件允许你在它显示之前修改快捷菜单。在修改快捷菜单时,通过事件的按钮编辑Popup对象。这种相同的 Popup对象也因为当前的快捷菜单正在显示而不能够弹出。使用这个 EndShortcut事件利用快捷菜单执行清除工

2、作。这些事件将被激活,在所有的快捷菜单的要素包括任意 ObjectARX 命令发生后当模式框显示时不会触发任何事件参见:方法,属性,事件:BemandBeginShortcutDefaultBeginShortcutEditBeginRightClickActiveX 和 VBA 开发指导:“使用事件”例程:Private Sub Acad_BeginShortcutOSnap(ShortcutAsAutoCAD.IAcopup)本例程演示当在 osnap 模式下时立即截取一个快捷菜单MsgBox “你刚才在 osnap 模式下激活一个快捷菜单”Deactivate 事件当图形窗口时被触发Se

3、e Also | Exle用法:object.Deactivate()对象:对象对象表达式,其结果为有效的容器对象,此处必须为文档对象()说明:当模式框显示时不会触发任何事件参见 :方法,属性,事件:ActivateActiveX 和 VBA 开发指导:“使用事件”例程:Private Sub Acad_Deactivate()本例程演示截取图形激活事件当图形不集中时这个事件会被激活激活示例程序:打开两个图形窗口并从一个图形窗口切换到另一个图形窗口MsgBox “你刚才激活了一个图形!”End Submand event在命令执行完成后立即被触发。See Also | Exle:用法:mand

4、(dName)对象:Application对象表达式,其结果为有效的容器对象,此处必须为文档对象()。dNameString文件被打开发出令的名字。说明:这个mand 事件紧跟着mand 事件到 AutoCAD 完成正在执行令之后。如果使用者没有取消那个命令,结束命令就不会被触发。这个开始命令事件被触发为任一基本 AutoCAD 命令,或任一经由 ObjectARX 申请登记在 AutoCAD指令堆栈上,或视图的 LISP vlax-add-cmd 功能 。任何正常的 defund C 将被触发:因为它不能从命令堆栈中显示出来,所以即使你激发它,它也不能完全的发挥功能,。如果你在执行时需要 L

5、ISP 命令被识别出来,你需要用视图的 LISP vlax-add-cmd 功能去正确从 AutoCAD 命令堆栈中激发出来。如果你没有对一个 AutoCAD 命令进行定义那么你就利用 LISP 命令对其重新定义,通常 AutoCAD令只有在它们被触发时mand 才被激活。比如(LINE命令)。AutoCAD 命令成组的在命令堆栈里。一个瞬间命令堆栈在创建 per AutoCAD 期间。这些堆栈由的基本命令组成,还有任意你加进去令。框显示时不会触发任何事件参见:方法,属性,事件:mandActiveX 和 VBA 开发指导“使用事件”例程:Private Sub A本例程演示截取图形mand(

6、ByVal mand 事件dName As String)当图形收到任一与本事件有关令时此事件被激活。激活本例程事件:在绘图区点击任意令不管是直线命令,VBA,ACAD 菜单,ACAD 工具栏还是 LISP 之中的。当这个命令完成后,这个事件将会被激活。使用周期变化的“dName”确定哪个命令刚完成。MsgBox“一个图形已经完”成& End SubdName & “命令”EndLISP event在 LISP 表达式执行完成后立即被触发See Also | Exle用法:object.EndLISP()对象:Application object,object对象表达式,其结果为有效的容器对象

7、,此处必须为文档对象()说明:这个事件将会被触发,在 LISP 表达实执行完成后,或撤消对 LISP 表达式的执行后。“框显示时不会触发任何事件”参见:方法,属性,事件:BeginLISPActiveX 和 VBA 开发指导“使用事件”例程:Private Sub Acad_EndLisp()本例程演示截取图形 BeginLisp 事件本事件当完成对一图形的 LISP 表达式的运行时被激活激活本例程:开始对 LISP 表达式求值并等着完成求值MsgBox “一个 LISP 表达式已经完成求值!”End SubBeginShortcutOSnventTriggered after the use

8、r right-clicks on the drawing window, andbefore the shortcutappears in osnapmode.See Also | ExleSignatureobject.BeginShortcutGrip(Shortcut)objectobject An object expresvalid container is at evaluates to a valid container object.his case, the onlyShortcutPopupobject; input/output from the handlerThe

9、shortcutabout to be displayed.RemarksThis event allows you to make changes to the shortcutbeforeit is displayed. Tomake changes to the shortcut, edit the Popupobjectt is passedo yourhandler from the event. This same Popupobject is passed out as the current shortcut. UseShortcutevent to perform any c

10、leanup work on the shortcut.This event is triggered d additions, haveafter all shortcut occurred.elements, including any ObjectARXNo events will be firedwhile a modal dialog is being displayed.See AlsoMethods, Properties, and Events:BemandBeginShortcutDefaultBeginShortcutEditBeginRightClickActiveX a

11、nd VBA Developers Guide:Use EventsExlePrivate Sub Acad AutoCAD.IAcopup_BeginShortcutOSnap(ShortcutAs)ercepts a shortcut This ex lestartwhile you areheosnapmode.MsgBox You have End Subjust initiated a shortcutin osnap mode!Deactivate eventTriggered when the drawing window is deactivated.See Also | Ex

12、leSignatureobject.Deactivate()objectobject An object expresvalid container is at evaluates to a valid container object.his case, the onlyRemarksNo events will be fired while a modal dialog is being displayed.See AlsoMethods, Properties, and Events:ActivateActiveX and VBA Developers Guide:Use EventsE

13、xlePrivate Sub Acad_Deactivate()This exleerceptsa drawing DeActivate event.This event istriggeredwhen a drawing window loosesfocus.To trigger this exleevent: Open two drawingsandswitchfromone drawing window to anotherMsgBox You have just deactivated End Suba drawing!mand eventTriggered immediayafter

14、 adcompletes.See Also | ExleSignaturemand(dName)objectApplicationAn object expres valid container ist evaluates to a valid container object. the application.his case, the onlydNameString The nameof thedt was ied.RemarksThe themand event follows thed. If the user cancels outmand event after AutoCAD c

15、ompletes prosing not beof thed, themand event willtriggered.Themand event willbefired for any basic AutoCADd, or anyd Visualregistered on the AutoCAD LISP vlax-add-cmd function.d stack via an ObjectARX application, or theItwill not be fired for any normally defund C: LISPfunction because it is not e

16、xed to thed stack, even though you execute itfrom the AutoCAD execute, you willd correctlyd Line. If need to use the to the AutoCADyou need LISPds to be recognized when theyVisual LISP vlax-add-cmd function to register the d stack.If you undefine an AutoCADd and then redefine it via a LISP defun, th

17、emand le,event may not be triggered until an actual AutoCADd is called; for ex(d _.LINE .).AutoCADds are stored in groupshed stack. One instance of thed ds,stack is created per AutoCAD ses. This stack consists of the native AutoCADas well as any customds you add to it.No events will be fired while a

18、 modal dialogis being displayed.See AlsoMethods, Properties, and Events:mandActiveX and VBADevelopers Guide:Use EventsExlePrivate Sub Amand(ByVal leercepts a drawingdName As String) mand event.ThisexThis anyevent is triggered when a drawingreceivesd compatible with this event.To trigger either the W

19、hen thethis exle event: Ie any d line, VBA, the ACADd is finished, this eventd to an opendrawing froms, the ACAD toolbars, or LISP. will be triggered.Use the dName variable todetermine whichd just finished d.MsgBox A drawing has just finisheda &dName & EndSubEndLISP eventTriggered upon completion of evaluatinga LISP expres.See Also | ExleSignatureobject.EndLISP()objectApplication object, An object expres valid containers areobjectt evaluates to a valid container obj

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论