《毕业设计(论文)外文资料翻译.doc》由会员分享,可在线阅读,更多相关《毕业设计(论文)外文资料翻译.doc(13页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、毕业设计(论文)外文资料翻译题 目: TGSS-50型水平刮板输送机 -机头段设计 院系名称: 专业班级: 学生姓名: 学 号: 指导教师: 教师职称: 起止日期: 地 点: 附 件: 1.外文资料翻译译文;2.外文原文。 指导教师评语: 签名: 年 月 日 Endshortcut menu 事件快捷菜单出现后被击活。用法:Object.Activate()Object: Document 对象对象表达式,其结果为有效的容器对象,此处必须为文档对象(document)。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:BeginShortcutMenuDefault Begin
2、ShortcutMenuEdit BeginShortcutMenuGrip BeginShortcutMenuOsnap BeginRightClick Activex和VBA开发指导:“使用事件”Using Programming Languages other than VBA例程:Private Sub AcadDocument_Activate()本例演示快捷菜单事件的图形当用户关闭快捷菜单图形时,此事件被击活激活示例程序:将鼠标放在快捷菜单活动的区域上,单击右键等待快捷菜单被打开,然后再关闭MsgBox 您刚才激活了一个图形!End SubLayout Switched 事件用户转
3、换一个不同的排列之后被激活用法:object.LayoutSwitched (Layout Name)object: Document 对象对象表达式,其结果为有效的容器对象,此处必须为文档对象(document)。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:WindowChanged WindowMovedOrResizedActivex和VBA开发指导:“使用事件”Using Programming Languages other than VBA例程:Private Sub AcadDocument_LayoutSwitched (By Val Layout Nam
4、e as String)演示排列转换事件的图形当用户用了不同的排列时被激活激活示例程序:打开图形并改变排列例如:转换一个图形从模式到排列排列图表的多样性,我们可以选择自己需要的MsgBox 您刚才激活了一个图形!End SubLISPCancelled 事件当LISP 表达的评估被取消时被激活用法:object.LISPCancelled ()object:Application 对象, Document 对象对象表达式,其结果为有效的容器对象,此处必须为应用程序对象(application)或文档对象(document)。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:Be
5、ginLISP EndLISP Activex和VBA开发指导:“使用事件”Using Programming Languages other than VBA例程:Private Sub AcadDocument_LispCancelled ()本例演示LISP取消的图形LISP表达的评估取消时被激活激活示例程序:操作LISP表达和取消LISP的评估在它完成之前MsgBox 您刚才激活了一个图形!End SubModified 事件当对象和集合被修改时被激活。用法:object. Modified (Entity)object:All Drawing objects, Block, Bloc
6、ks, Dictionary, Dictionaries, DimStyle, DimStyles, Group, Groups, Hyperlink, Hyperlinks, Layer, Layers, Layout, Layouts, Linetype, Linetypes, ModelSpace, PaperSpace, PlotConfiguration, PlotConfigurations, RegisteredApplication, RegisteredApplications, SelectionSet, SelectionSets, TextStyle, TextStyl
7、es, UCS, UCSs, View, Views, Viewport, Viewports, XRecord对象表达式,其结果为有效的容器对象。说明:当模式对话框显示时不会触发任何事件。参见:方法,属性和事件:ObjectAdded ObjectErased Activex和VBA开发指导:“使用事件”Using Programming Languages other than VBA例程:Public with Events Plane as AcadLWPolyline Use with Modified Event ExampleSub Example Modified ()在模式状
8、态下本例创造了lightweight polyline 和涉及Polyline的使用在不同的场合建立相互的修改事件在修改事件中本例修改新的对象,激活代码修改对象激活事件提示:本事件代码将要被激活在们移动或重新修改背景之前,线不会变为蓝色当本例的信件箱被展现时MsgBox 您刚才激活了一个图形!End Sub13EndShortcutMenu eventTriggered after the shortcut menu appears.See Also | ExampleSignature object.EndShortcutMenu (Shortcut Menu)ObjectDocument
9、objectan object expression that evaluates to a valid container object. In this case, the only valid container is a document. Shortcut MenuPopupMenu object; input/output from the handlerthe shortcut menu that has been displayed. Remarks Use this event to perform any cleanup work on the shortcut menu.
10、 No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: BeginShortcutMenuDefault BeginShortcutMenuEdit BeginShortcutMenuGrip BeginShortcutMenuOsnap BeginRightClick ActiveX and VBA Developers Guide: Use Events ExamplePrivate Sub AcadDocument_EndShor
11、tcutMenu (Shortcut Menu as AutoCAD.IAcadPopupMenu) This example intercepts a drawing EndShortcutMenu event. This event is triggered when the user closes a drawing shortcut menu. To trigger this example event: Right click the mouse in the working area of a drawing, Wait for the shortcut menu to be di
12、splayed and then dismiss the shortcut menu MsgBox A shortcut menu was just closed!End SubLayoutSwitched eventTriggered after the user switches to a different layout.See Also | ExampleSignature object.LayoutSwitched (Layout Name)ObjectDocument objectan object expression that evaluates to a valid cont
13、ainer object. In this case, the only valid container is a document. Layout NameString; input to the handlerthe name of the layout the user has switched to. Remarks No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: WindowChanged WindowMovedOrRe
14、sized ActiveX and VBA Developers Guide: Use Events ExamplePrivate Sub AcadDocument_LayoutSwitched (By Val Layout Name as String) This example intercepts a drawing Layout Switched event. This event is triggered when the user switches to a different Drawing layout view. To trigger this example event:
15、Open a drawing and change its layout view For example: Switch the drawing from Model view to Layout1 view Use the Layout Name variable to determine the which layout view we changed to MsgBox The drawing layout was just changed to: & Layout NameEnd SubLISPCancelled eventTriggered when the evaluation
16、of a LISP expression is cancelled. See Also | ExampleSignature object.LISPCancelled ()ObjectApplication object, Document objectan object expression that evaluates to a valid container object. In this case, the only valid containers are the application and a document. Remarks No events will be fired
17、while a modal dialog is being displayed. See Also Methods, Properties, and Events: BeginLISP EndLISP ActiveX and VBA Developers Guide: Use EventsExamplePrivate Sub AcadDocument_LispCancelled () This example intercepts a drawing Lisp Cancelled event. This event is triggered when the evaluation of a L
18、ISP expression is cancelled. To trigger this example event: Run a LISP expression and Cancel the LISP evaluation before it finishes MsgBox A LISP evaluation was just cancelled.End SubModified eventTriggered when an object or collection in the drawing has been modified.See Also | ExampleSignature Obj
19、ect. Modified (Entity)ObjectAll Drawing objects, Block, Blocks, Dictionary, Dictionaries, DimStyle, DimStyles, Group, Groups, Hyperlink, Hyperlinks, Layer, Layers, Layout, Layouts, Linetype, Linetypes, ModelSpace, PaperSpace, PlotConfiguration, PlotConfigurations, RegisteredApplication, RegisteredAp
20、plications, SelectionSet, SelectionSets, TextStyle, TextStyles, UCS, UCSs, View, Views, Viewport, Viewports, XRecordAn object expression that evaluates to a valid container object. EntityA Drawing ObjectThe object in the drawing that is modified can be any one of the drawing objects. Remarks This ev
21、ent will be triggered whenever the object is modified. Modification includes whenever the value of a property is set, even if the new value is equal to the current value. When coding in VBA, you must provide an event handler for all objects enabled for the Modified event. If you do not provide a han
22、dler, VBA may terminate unexpectedly. No events will be fired while a modal dialog is being displayed. See Also Methods, Properties, and Events: ObjectAdded ObjectErased ActiveX and VBA Developers Guide: Use Events ExamplePublic with Events Plane as AcadLWPolyline Use with Modified Event ExampleSub
23、Example Modified () This example creates a lightweight plotline in model space and References the Plotline using the public variable (Plane) which Is set up to intercept Modified events. This example then modifies the new object, triggering the code In the Modified event. Dim points (0 To 9) As Doub
24、le Define the 2D plotline points Points (0) = 1: points (1) = 1 Points (2) = 1: points (3) = 2 Points (4) = 2: points (5) = 2 Points (6) = 3: points (7) = 2 Points (8) = 4: points (9) = 4 Create a lightweight Plotline object in model space * Note: We are returning the new Plotline object into a Modu
25、le Level variable. This allows us to intercept events associated With that particular object. Set Plane = ThisDrawing.ModelSpace.AddLightWeightPolyline (points) ThisDrawing.Application.ZoomAll Modify object to trigger event. * Note: The event code for the Plotline modification will be triggered Befo
26、re we move forward and refresh the view, so the line will not Appear blue when the event message box is displayed. Dim color As AcadAcCmColor Set color = AcadApplication.GetInterfaceObject (AutoCAD.AcCmColor.16) Call color.SetRGB (80, 100, and 244) PLine.TrueColor = color ThisDrawing.Regen acAllView
27、ports End SubPrivate Sub PLine_Modified (ByVal pObject As AutoCAD.IAcadObject) This example intercepts an objects Modified event. This event is triggered when an object supporting this event is modified. To trigger this code: Modify an object connected to this event * Note: By connected, we mean the object set up to intercept events using The VBA with Events statement Use the object variable to determine which object was modified Skybox You just modified an object with an ID of: & pObject.ObjectID End Sub