freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

自動化專業(yè)畢業(yè)設(shè)計外文資料翻譯--catiav5的自動化-其他專業(yè)-資料下載頁

2025-01-19 02:43本頁面

【導(dǎo)讀】在NT和Unix上:腳本允許你用宏指令以非常簡單的方式計劃CATIA。上運行相同的宏。與其他外用分享目標。ATIA能使用Word/Excel對象就像Word/Excel能使用CATIA. COM是“微軟“標準于幾個應(yīng)用程序之間的共享對象。Automation是一種“微軟“技術(shù),它使用一種解釋環(huán)境中的COM對象。VisualBasic是全部的版本。它能產(chǎn)生獨立的計劃,它也能建立ActiveX. VB中提供了一個補充文件名為“在線叢書“(VB的)。VBA是一個VisualBasic的子集。器和完整的環(huán)境。以訪問結(jié)果和對象瀏覽器。并建議使用MSVBScript或MSVBA。NT和UNIX可移植的腳本。糊地聲明一個X變量為Y不存在。在CATIAV5中雙擊打開Windows資源管理器的“。CATPart“文件。在NT上,如果沒有運行CATIAV5,它會自動啟動。對于應(yīng)用程序的每個動作,我們要檢查是否CATIA. 在良好的狀態(tài)同步兩個進程。上述小組建議的腳本庫的列表是可以通過對庫的一個窗口進行修改。插入圖形形式,調(diào)試和運行VBA項目。CATIAV5R9通過自動化功能提供能力從另一個宏中執(zhí)行宏。ENUMCATSys庫類型是用來讓開發(fā)人員介紹庫那種要調(diào)用的函數(shù)包含所在。

  

【正文】 TIA = () = True End If example Have a look on the source code. To run the “” example , you can double–click on it. To run the example on a Command prompt Window you can also use : Cscript Or wscript JavaScript under Windows Scripting Host In the same way as VBScript, you can write a JavaScript program in a simple ASCII text file with the extension “.js” for JavaScript. Under WSH, GetObject and CreateObject are provided by the object Wscript. The following code launches CATIA V5. CATIA = (,)。 if ( CATIA == null) { CATIA = ()。 = true。} example Have a look on the source code. To run the “” example, you can double–click on it. To run the example on a Command prompt Window you can also use : Cscript Or wscript OutProcess in HTML (NT amp。 Microsoft Inter Explorer Only) In HTML, you can include VBScript or JavaScript explorer provides ActiveXObject (in JavaScript) and CreateObject (in VBScript) functions to Launch Automation , it is possible to call CATIA V5 this can access to the Microsoft Development Environment to debug your can launch the “Microsoft Development Environment from Explorer by :“Script Debugger” “ Open” OutProcess in HTML with VBScript Load the “” example in Microsoft Inter Explorer. You will be able to Click on the “Bolt” button to create a Bolt in CATIA V5. You can view the source code by View+Source menus. Due to security reasons, some warning messages for running the script, may appear depending on the configuration and if the server is local or not. OutProcess in HTML with JavaScript Load the “” example in Microsoft Inter Explorer. You will be able to Click on the “Bolt” button to create a Bolt in CATIA V5. You can view the source code by View+Source menus. About Objects, Collections, Properties and Methods Scripting languages such as Visual Basic rely on objects. With CATIA, documents, windows, viewers, parts, sketches, pads, … even lines and curves are represented as objects in Visual Basic. Object: an entity. Ex: Document, Pad, Line, … Property: a characteristic of an object. DocName = Method: an action on an object “MyNewName” Collection: a list of objects. The CATIA collections index begins at 1, and not 0 : For i=1 to msgbox (i).Name Next We can also access a collection with the name of the object: Example: msgbox ().Name We add objects to the collections with the method add : set myPartDoc = (Part) About Inheritance and Aggregation There are two kinds of relations between objects : Inheritance helps you to specialize objects while gathering mon properties and methods. Aggregation is the ability of an object to contain another one. In the following diagram, the Application aggregates the Documents PartDocument object is a specialized document that is dedicated to parts and which inherits the properties and the methods of the Document object. Scripting Infrastructure features overview Documents and Windows The CATIA Application object aggregates two main collection objects : Documents and Windows. The Documents collection aggregates any number of Document(s) since the multiplicity is set to *. The Document object is an abstract object, and only its derived type can actually be created, that is the PartDocument, ProductDocument and DrawingDocument. The Windows collection aggregates number of Window(s), which themselves aggregate one Viewers collection which aggregates any number of Viewer(s).The binary association between the Window and the Document objects means that the Document object is the parent of the Window object. Infrastructure Object Architecture These objects are shared by all CATIA products. The root object is the Application, which aggregates or includes Documents and Windows. Application and Document Application is the Root object for all CATIA macros. This correspond to the CATIA frame CATIA application is always named CATIA for inprocess macro. The Documents collection provide a method to Add a new document and another to Open an existing document. A Document can be a PartDocument, ProductDocument or a DrawingDocument. Each Document provide Its own methods to Save or SaveAs Itself. Creating and Opening a Document Creating a new Document : Dim Doc as Document Set Doc = (“Part”) ? create a PartDocument Instead of “Part”, Use “Product” for a Product Document or “Drawing” for a Drawing Document Opening a new Document : Dim Doc as Document Set Doc= (“E:\Parts\”) Both Add and Open functions add the Document in the Documents Collection.
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1