版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、遼寧石油化工大學(xué)機(jī)械工程學(xué)院 計(jì)算機(jī)繪圖雙語(yǔ)教學(xué)講義 No13 Tang Xiaochu Li JingChapter 10 Using Block and External References 10.1 OverviewAutoCAD provides several features to help you manage objects in your drawings. With blocks you can organize and manipulate many objects as one component. You can also associate items of in
2、formation with the blocks in your drawings- for example, part numbers and prices - by attaching attributes. Specification sheets or bills of materials can be created using this information.You can attach or overlay entire drawings in your current drawing by using AutoCAD external references, or xref
3、s. When you open a drawing that contains xrefs, any changes that have been made in the referenced drawing appear in the current drawing. 10.2 Working with BlocksA block is a collection of objects you can associate together to form a single object, or block definition. You can insert, scale, and rota
4、te a block in a drawing. You can explode a block into its component objects, modify them, and redefine the block. AutoCAD updates all current and future instances of that block based on the block definition.Blocks streamline the drawing process. For example, you can use blocks toBuild a standard lib
5、rary of frequently used symbols, components, or standard parts. You can insert the same block numerous times instead of re-creating the drawing elements each time.Revise drawings efficiently by inserting, relocating, and copying blocks as components rather than individual geometric objects.Save disk
6、 space by storing all references to the same block as one block definition in the drawing database.For information about how to create a block, see "Defining Blocks."When you insert a block in your drawing, you are creating a block instance. Each time you insert a block instance, you assig
7、n a scale factor and rotation angle to the inserted block. You can also scale a block instance using different values in any coordinate (X, Y, Z) direction. Blocks make it possible for you to organize your drawing tasks in a systematic way, so that you can set up, redesign, and sort the objects in y
8、our drawings and the information associated with them. Defining BlocksYou can group objects to create block definitions in the current drawing, or you can save the block as a separate drawing file. When you define a block, you specify the base point, the objects to group, and whether to retain or de
9、lete the objects or convert them to a block in the current drawing. You can also enter a text description and specify an icon used to help identify the block definition in AutoCAD DesignCenter. Block definitions are one of many nongraphical objects saved in a drawing. See "Working with Named Ob
10、jects."To create a block definition1From the Draw menu, choose Block Make.2In the Block Definition dialog box, enter a name for the block.3Under Objects, choose the Select Objects button to use the pointing device to select objects for the block definition.The dialog box closes temporarily whil
11、e you select objects for the block. Press ENTER when you are done selecting blocks. The dialog box reopens.4If you want to create a selection set, use the Quick Select button to create or define a filter for your selection set. See "Filtering Selection Sets."5Under Objects, specify whether
12、 to retain, convert to a block, or delete the selected objects.Retain: Keeps selected objects in the current drawing, in their original state.Convert to Block: Replaces selected objects with an instance of the block.Delete: Removes selected objects after the block is defined.6Under Base Point, enter
13、 the coordinate values for the insertion base point or choose the Specify Insertion Base Point button to use the pointing device.7Under Description, enter text to help identify the block for easy retrieval. 8Under Icon, specify whether to create an icon from the block definition.Do not include an ic
14、on: Omits preview image from block definition.Create icon from block geometry: Saves preview image with the block definition.9Choose OK. The block definition is saved in the current drawing.To save a block or object as a separate drawing file1At the Command prompt, enter wblock.2In the Write Block d
15、ialog box, specify a block or an object to write out as a file.Block: Specifies a block to save as a file.Entire Drawing: Selects current drawing as a block.Object: Specifies objects to be saved as a file.3Under Block, select a name from the list to save as a file.4Under Base Point, use the Pick Poi
16、nt button to define the base point.5Under Objects, use the Select objects button to select the object for the block file.6Enter a name for the new file.If a block is selected, WBLOCK automatically uses that block's name for the new file.7In the Insert Units list, select an insert unit to use in
17、AutoCAD DesignCenter.8Choose OK.The block definition is saved as a drawing file.Inserting BlocksYou can insert blocks or entire drawings into the current drawing with INSERT. When you insert a block or drawing, you specify the insertion point, scale, and rotation angle. This section explains inserti
18、ng blocks into your drawing using INSERT. See "Using AutoCAD DesignCenter to Insert Blocks."When you insert an entire drawing into another drawing, AutoCAD treats the inserted drawing like any other block reference. Subsequent insertions reference the block definition (which contains the g
19、eometric description of the block) with different position, scale, and rotation settings, as shown in the following illustration. If you change the original drawing after inserting it, the changes have no effect on the inserted block. If you want the inserted block to reflect the changes you made to
20、 the original drawing, you can redefine the block by reinserting the original drawing.If you want to insert a drawing but you don't want the file name to be the same as the block name, you can insert it using a blockname = filename syntax at the Block Name prompt.By default, AutoCAD uses the coo
21、rdinate 0,0,0 as the insertion base point for inserted drawings. You can change the insertion base point of a drawing by opening the original drawing and using BASE to specify a different insertion base point. AutoCAD uses the new base point the next time you insert the drawing.If the drawing you in
22、sert contains objects created in a paper space layout, those objects are not included in the current drawing's block definition. To use the paper space objects in another drawing, open the original drawing and use BLOCK to define the paper space objects as a block. The block is now defined withi
23、n your drawing. You can insert the drawing into another drawing and insert the block defined in your original drawing in either paper space or model space. With AutoCAD DesignCenter, you can display layouts and drag them into your drawings. See "Working with Drawing Content."To insert a bl
24、ock reference1From the Insert menu, choose Block.2In the Insert dialog box, specify the block name, where you want to insert it in the current drawing, and whether you want to explode it after insertion.3If you have modified the original drawing file for a block, you can redefine the block in the cu
25、rrent drawing by choosing File to locate the file for the block.4Choose OK.The block reference is updated in the current drawing.Exploding a BlockUse EXPLODE to break a block instance. By exploding a block instance, you can modify the block or add to or delete the objects that define it. 10.3Working
26、 with AttributesAn attribute provides a label or tag for you to attach text to a block. Whenever you insert a block that has a variable attribute, AutoCAD prompts you to enter the data to be stored with the block. Examples of data are part numbers, prices, comments, and owners' names.You can ext
27、ract attribute information from a drawing and use that information in a spreadsheet or database to produce items such as a parts list or a bill of materials (BOM). You can associate more than one attribute with a block, provided that each attribute has a different tag. AutoCAD prompts you for the va
28、lue of each attribute when you insert the block. You can also define constant attributes: because they have the same value in every occurrence of the block, AutoCAD does not prompt for a value when you insert the block.Attributes can be invisible, which means the attribute is not displayed or plotte
29、d. However, information on the attribute is stored in the drawing file and written to an extract file by ATTEXT.Creating AttributesTo create an attribute, you must first use ATTDEF to create an attribute definition, which describes the characteristics of the attribute. The characteristics include th
30、e tag, prompt, value information, text formatting, location, and any optional modes.To create an attribute definition1On the command line, enter attdef.2In the Attribute Definition dialog box, specify the insertion point and set the attribute modes and the tag, prompt, and text options. 3Choose OK.A
31、fter creating the attribute definition, you can select it as an object in a block definition. If the attribute definition is incorporated into a block, whenever you insert the block, AutoCAD prompts you with the text string you specified for the attribute. Each subsequent instance of the block can h
32、ave a different value specified for the attribute.If you want to use several attributes together, create each one separately and then include them in the same block. To control the order of prompts for multiple attributes, see OPTIONS in the Command Reference.System variables AFLAGS sets the ATTDEF
33、mode. ATTDISP globally controls the visibility of attributes. ATTREDEF redefines a block and updates associated attributes. Editing Attribute Definitions You can use DDEDIT to edit an attribute definition before it is associated with a block.To edit an attribute definition before it is associated wi
34、th a block1From the Modify menu, choose Text2Select the attribute to edit.3In the Edit Attribute Definition dialog box, specify the attribute tag, prompt, and default value. Then choose OK.Command line DDEDITRelated CHANGE edits attribute definitions. Attaching Attributes to BlocksYou can attach att
35、ributes to a block when you define or redefine that block. When AutoCAD prompts you to select the objects to include in the block definition, include the desired attributes in the selection set. The order in which you select the attributes determines the order in which you are prompted for attribute
36、 information when you insert the block (see "Defining Blocks").Editing Attributes Attached to BlocksYou can edit attributes that are already attached to a block and inserted in a drawing.To edit an attribute attached to a block1From the Modify menu, choose Attribute Single.2Select a block
37、to edit.3In the Edit Attributes dialog box, edit the attribute information as necessary. 4Choose OK. To control the order of prompts for multiple attributes, see OPTIONS in the Command Reference. 10.4 Using External ReferencesAn external reference (xref) links another drawing to the current drawing.
38、 When you insert a drawing as a block, the block definition and all of the associated geometry are stored in the current drawing database. The block is not updated if the original drawing changes. When you insert a drawing as an xref, however, the xref is updated when the original drawing changes. A
39、 drawing containing xrefs always reflects the most current editing in each externally referenced file.Like a block reference, an xref is displayed in the current drawing as a single object. However, an xref does not significantly increase the file size of the current drawing and cannot be exploded.
40、As with block references, you can nest xrefs that are attached to your drawing. By attaching xrefs, you canAssemble a master drawing from component drawings that may undergo changes as a project develops.Coordinate your work with the work of others by overlaying other drawings on your drawing to kee
41、p up with the changes being made by other users.Ensure that the most recent version of the referenced drawing is displayed. When you open or plot your drawing, AutoCAD automatically reloads each xref, so the drawing reflects the latest changes to the referenced drawing file.Display only a specific s
42、ection of the xref file in the master drawing by creating clipped boundaries of xrefs. 10.5 Clipping Blocks and XrefsAfter attaching a drawing as an xref or inserting a block, you can define a clipping boundary by using XCLIP. A clipping boundary can define a portion of a block or xref while suppres
43、sing the display of geometry outside of the boundary. Clipping applies to an individual instance of an xref, not the xref definition itself. The portion of the xref or block within the clipped boundary remains visible, and the remainder of the xref or block becomes invisible. The referenced geometry
44、 is not altered, only the display of the xref is edited.You can use XCLIP to create a new clipping boundary, delete an existing boundary, or generate a polyline object coincident with vertices of the clipping boundary. Xref clipping can be turned on or off. When a clipping boundary is turned off, th
45、e boundary is not displayed and the entire xref is visible, provided that the geometry is on a layer that is on and thawed. When a clipping boundary is turned off, it still exists and can be turned on. However, deleting a clipping boundary is permanent. For more information about XCLIP, see the Comm
46、and Reference.After an xref or block has been clipped, it can be edited, moved, or copied just like an unclipped xref or block. The boundary moves with the reference. If an xref contains nested clipped xrefs, they appear clipped in the drawing. If the parent xref is clipped, the nested xrefs are als
47、o clipped.If you want to see the clipping boundary, you can turn on the XCLIPFRAME system variable. XCLIPFRAME determines whether the clipping boundary frame is displayed. When the clipping frame is on (set to 1), it can be selected as part of the object and plotted. For more information about XCLIP
48、FRAME, see the Command Reference. 10.6 Editing References in PlaceYou can modify external references and redefine block definitions from within the current drawing by using in-place reference editing. Both blocks and xrefs are considered references. Often, a drawing contains one or more xrefs as well as multiple block references. When working with block references, you can select a block, modify it, and update the block definition. When working with xrefs, you can use in-place reference editing to select the reference you want to work with, modify its objects, and save ba
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度個(gè)人教育培訓(xùn)機(jī)構(gòu)課程購(gòu)銷擔(dān)保合同2篇
- 2025版新能源汽車停車位租賃與生態(tài)補(bǔ)償協(xié)議2篇
- 二零二五年度誠(chéng)意金支付及退回協(xié)議合同4篇
- 看大數(shù)據(jù)時(shí)代下健康醫(yī)療傳播的發(fā)展與創(chuàng)新路徑
- 跨行業(yè)合作在展覽活動(dòng)中的應(yīng)用
- 項(xiàng)目制學(xué)習(xí)在學(xué)科教學(xué)中的實(shí)踐與評(píng)價(jià)
- 2025版國(guó)際貿(mào)易項(xiàng)目轉(zhuǎn)讓居間協(xié)議書(shū)3篇
- 2025版土地承包經(jīng)營(yíng)合同樣本4篇
- 湖南2025年湖南省生態(tài)環(huán)境廳直屬事業(yè)單位招聘44人筆試歷年參考題庫(kù)附帶答案詳解
- 溫州浙江溫州市龍灣區(qū)政務(wù)服務(wù)中心招聘編外工作人員筆試歷年參考題庫(kù)附帶答案詳解
- 小學(xué)六年級(jí)數(shù)學(xué)奧數(shù)題100題附答案(完整版)
- 湖南高速鐵路職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)技能測(cè)試參考試題庫(kù)(含答案)
- 英漢互譯單詞練習(xí)打印紙
- 2023湖北武漢華中科技大學(xué)招聘實(shí)驗(yàn)技術(shù)人員24人筆試參考題庫(kù)(共500題)答案詳解版
- 一氯二氟甲烷安全技術(shù)說(shuō)明書(shū)MSDS
- 母嬰護(hù)理員題庫(kù)
- 老年人預(yù)防及控制養(yǎng)老機(jī)構(gòu)院內(nèi)感染院內(nèi)感染基本知識(shí)
- SWITCH暗黑破壞神3超級(jí)金手指修改 版本號(hào):2.7.6.90885
- 2023高考語(yǔ)文全國(guó)甲卷詩(shī)歌閱讀題晁補(bǔ)之《臨江仙 身外閑愁空滿眼》講評(píng)課件
- 物流簽收回執(zhí)單
- 鋼結(jié)構(gòu)廠房造價(jià)指標(biāo)
評(píng)論
0/150
提交評(píng)論