




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
Chapter10UsingBlockandExternalReferences10.1OverviewAutoCADprovidesseveralfeat(yī)urestohelpyoumanageobjectsinyourdrawings.Withblocksyoucanorganizeandmanipulatemanyobjectsasonecomponent.Youcanalsoassociateitemsofinformat(yī)ionwiththeblocksinyourdrawings-forexample,partnumbersandprices-byattachingat(yī)tributes.Specificationsheetsorbillsofmat(yī)erialscanbecreatedusingthisinformation.YoucanattachoroverlayentiredrawingsinyourcurrentdrawingbyusingAutoCADexternalreferences,orxrefs.Whenyouopenadrawingthatcontainsxrefs,anychangesthathavebeenmadeinthereferenceddrawingappearinthecurrentdrawing.10.2WorkingwithBlocksAblockisacollectionofobjectsyoucanassociat(yī)etogethertoformasingleobject,orblockdefinition.Youcaninsert,scale,androtateablockinadrawing.Youcanexplodeablockintoitscomponentobjects,modifythem,andredefinetheblock.AutoCADupdatesallcurrentandfutureinstancesofthatblockbasedontheblockdefinition.Blocksstreamlinethedrawingprocess.Forexample,youcanuseblockstoBuildastandardlibraryoffrequentlyusedsymbols,components,orstandardparts.Youcaninsertthesameblocknumeroustimesinsteadofre-creatingthedrawingelementseachtime. Revisedrawingsefficientlybyinserting,relocating,andcopyingblocksascomponentsratherthanindividualgeometricobjects. Savediskspacebystoringallreferencestothesameblockasoneblockdefinitioninthedrawingdatabase.Forinformat(yī)ionabouthowtocreateablock,see"DefiningBlocks."Whenyouinsertablockinyourdrawing,youarecreatingablockinstance.Eachtimeyouinsertablockinstance,youassignascalefactorandrotationangletotheinsertedblock.Youcanalsoscaleablockinstanceusingdifferentvaluesinanycoordinat(yī)e(X,Y,Z)direction.Blocksmakeitpossibleforyoutoorganizeyourdrawingtasksinasystematicway,sothatyoucansetup,redesign,andsorttheobjectsinyourdrawingsandtheinformationassociatedwiththem.DefiningBlocksYoucangroupobjectstocreateblockdefinitionsinthecurrentdrawing,oryoucansavetheblockasaseparatedrawingfile.Whenyoudefineablock,youspecifythebasepoint,theobjectstogroup,andwhethertoretainordeletetheobjectsorconvertthemtoablockinthecurrentdrawing.Youcanalsoenterat(yī)extdescriptionandspecifyaniconusedtohelpidentifytheblockdefinitioninAutoCADDesignCenter.Blockdefinitionsareoneofmanynongraphicalobjectssavedinadrawing.See"WorkingwithNamedObjects."Tocreat(yī)eablockdefinition1?FromtheDrawmenu,chooseBlockMake.2?IntheBlockDefinitiondialogbox,enteranamefortheblock.3?UnderObjects,choosetheSelectObjectsbuttontousethepointingdevicetoselectobjectsfortheblockdefinition.Thedialogboxclosestemporarilywhileyouselectobjectsfortheblock.PressENTERwhenyouaredoneselectingblocks.Thedialogboxreopens.4?Ifyouwanttocreateaselectionset,usetheQuickSelectbuttontocreateordefineafilterforyourselectionset.See"FilteringSelectionSets."5?UnderObjects,specifywhethertoretain,converttoablock,ordeletetheselectedobjects.Retain:Keepsselectedobjectsinthecurrentdrawing,intheiroriginalstate.ConverttoBlock:Replacesselectedobjectswithaninstanceoftheblock.Delete:Removesselectedobjectsaftertheblockisdefined.6 UnderBasePoint,enterthecoordinatevaluesfortheinsertionbasepointorchoosetheSpecifyInsertionBasePointbuttontousethepointingdevice.7?UnderDescription,entertexttohelpidentifytheblockforeasyretrieval.8?UnderIcon,specifywhethertocreateaniconfromtheblockdefinition.Donotincludeanicon:Omitspreviewimagefromblockdefinition.Creat(yī)eiconfromblockgeometry:Savespreviewimagewiththeblockdefinition.9 ChooseOK.Theblockdefinitionissavedinthecurrentdrawing.Tosaveablockorobjectasaseparat(yī)edrawingfile1 AttheCommandprompt,enterwblock.2 IntheWriteBlockdialogbox,specifyablockoranobjecttowriteoutasafile.Block:Specifiesablocktosaveasafile. EntireDrawing:Selectscurrentdrawingasablock.?Object:Specifiesobjectstobesavedasafile. 3?UnderBlock,selectanamefromthelisttosaveasafile.4?UnderBasePoint,usethePickPointbuttontodefinethebasepoint.5 UnderObjects,usetheSelectobjectsbuttontoselecttheobjectfortheblockfile.6 Enteranameforthenewfile.Ifablockisselected,WBLOCKautomat(yī)icallyusesthatblock'snameforthenewfile.7 IntheInsertUnitslist,selectaninsertunittouseinAutoCADDesignCenter.8 ChooseOK.Theblockdefinitionissavedasadrawingfile.InsertingBlocksYoucaninsertblocksorentiredrawingsintothecurrentdrawingwithINSERT.Whenyouinsertablockordrawing,youspecifytheinsertionpoint,scale,androtationangle.ThissectionexplainsinsertingblocksintoyourdrawingusingINSERT.See"UsingAutoCADDesignCentertoInsertBlocks."Whenyouinsertanentiredrawingintoanotherdrawing,AutoCADtreatstheinserteddrawinglikeanyotherblockreference.Subsequentinsertionsreferencetheblockdefinition(whichcontainsthegeometricdescriptionoftheblock)withdifferentposition,scale,androtationsettings,asshowninthefollowingillustration.Ifyouchangetheoriginaldrawingafterinsertingit,thechangeshavenoeffectontheinsertedblock.Ifyouwanttheinsertedblocktoreflectthechangesyoumadetotheoriginaldrawing,youcanredefinetheblockbyreinsertingtheoriginaldrawing.Ifyouwanttoinsertadrawingbutyoudon'twantthefilenametobethesameastheblockname,youcaninsertitusingablockname=filenamesyntaxattheBlockNameprompt.Bydefault,AutoCADusesthecoordinate0,0,0astheinsertionbasepointforinserteddrawings.YoucanchangetheinsertionbasepointofadrawingbyopeningtheoriginaldrawingandusingBASEtospecifyadifferentinsertionbasepoint.AutoCADusesthenewbasepointthenexttimeyouinsertthedrawing.Ifthedrawingyouinsertcontainsobjectscreatedinapaperspacelayout,thoseobjectsarenotincludedinthecurrentdrawing'sblockdefinition.Tousethepaperspaceobjectsinanotherdrawing,opentheoriginaldrawinganduseBLOCKtodefinethepaperspaceobjectsasablock.Theblockisnowdefinedwithinyourdrawing.Youcaninsertthedrawingintoanotherdrawingandinserttheblockdefinedinyouroriginaldrawingineitherpaperspaceormodelspace.WithAutoCADDesignCenter,youcandisplaylayoutsanddragthemintoyourdrawings.See"WorkingwithDrawingContent."Toinsertablockreference1?FromtheInsertmenu,chooseBlock.2?IntheInsertdialogbox,specifytheblockname,whereyouwanttoinsertitinthecurrentdrawing,andwhetheryouwanttoexplodeitafterinsertion.3?Ifyouhavemodifiedtheoriginaldrawingfileforablock,youcanredefinetheblockinthecurrentdrawingbychoosingFiletolocatethefilefortheblock.4 ChooseOK.Theblockreferenceisupdatedinthecurrentdrawing.ExplodingaBlockUseEXPLODEtobreakablockinstance.Byexplodingablockinstance,youcanmodifytheblockoraddtoordeletetheobjectsthatdefineit.10.3?WorkingwithAttributesAnattributeprovidesalabelortagforyoutoattachtexttoablock.Wheneveryouinsertablockthat(yī)hasavariableattribute,AutoCADpromptsyoutoenterthedatatobestoredwiththeblock.Examplesofdataarepartnumbers,prices,comments,andowners'names.Youcanextractattributeinformationfromadrawingandusethat(yī)informationinaspreadsheetordatabasetoproduceitemssuchasapartslistorabillofmaterials(BOM).Youcanassociatemorethanoneat(yī)tributewithablock,providedthateachattributehasadifferenttag.AutoCADpromptsyouforthevalueofeachattributewhenyouinserttheblock.Youcanalsodefineconstantattributes:becausetheyhavethesamevalueineveryoccurrenceoftheblock,AutoCADdoesnotpromptforavaluewhenyouinserttheblock.Attributescanbeinvisible,whichmeanstheattributeisnotdisplayedorplotted.However,informationontheat(yī)tributeisstoredinthedrawingfileandwrittentoanextractfilebyATTEXT.Creat(yī)ingAttributesTocreateanattribute,youmustfirstuseATTDEFtocreateanattributedefinition,whichdescribesthecharacteristicsoftheattribute.Thecharacteristicsincludethetag,prompt,valueinformation,textformatting,location,andanyoptionalmodes.Tocreat(yī)eanattributedefinition1?Onthecommandline,enterattdef.2?IntheAttributeDefinitiondialogbox,specifytheinsertionpointandsettheattributemodesandthetag,prompt,andtextoptions.3?ChooseOK.Aftercreatingtheattributedefinition,youcanselectitasanobjectinablockdefinition.Iftheattributedefinitionisincorporatedintoablock,wheneveryouinserttheblock,AutoCADpromptsyouwiththetextstringyouspecifiedfortheat(yī)tribute.Eachsubsequentinstanceoftheblockcanhaveadifferentvaluespecifiedfortheat(yī)tribute.Ifyouwanttouseseveralattributestogether,creat(yī)eeachoneseparatelyandthenincludetheminthesameblock.Tocontroltheorderofpromptsformultipleattributes,seeOPTIONSintheCommandReference.SystemvariablesAFLAGSsetstheATTDEFmode.ATTDISPgloballycontrolsthevisibilityofattributes.ATTREDEFredefinesablockandupdatesassociatedattributes.EditingAttributeDefinitionsYoucanuseDDEDITtoeditanattributedefinitionbeforeitisassociatedwithablock.Toeditanattributedefinitionbeforeitisassociatedwithablock1?FromtheModifymenu,chooseText2 Selecttheattributetoedit.3?IntheEditAttributeDefinitiondialogbox,specifytheattributetag,prompt,anddefaultvalue.ThenchooseOK.CommandlineDDEDITRelatedCHANGEeditsattributedefinitions.AttachingAttributestoBlocksYoucanattachattributestoablockwhenyoudefineorredefinethatblock.WhenAutoCADpromptsyoutoselecttheobjectstoincludeintheblockdefinition,includethedesiredattributesintheselectionset.Theorderinwhichyouselecttheattributesdeterminestheorderinwhichyouarepromptedforat(yī)tributeinformationwhenyouinserttheblock(see"DefiningBlocks").EditingAttributesAttachedtoBlocksYoucaneditattributesthatarealreadyattachedtoablockandinsertedinadrawing.Toeditanattributeattachedtoablock1 FromtheModifymenu,chooseAttributeSingle.2?Selectablocktoedit.3?IntheEditAttributesdialogbox,edittheattributeinformationasnecessary.4 ChooseOK.Tocontroltheorderofpromptsformultipleattributes,seeOPTIONSintheCommandReference.10.4UsingExternalReferencesAnexternalreference(xref)linksanotherdrawingtothecurrentdrawing.Whenyouinsertadrawingasablock,theblockdefinitionandalloftheassociatedgeometryarestoredinthecurrentdrawingdat(yī)abase.Theblockisnotupdat(yī)ediftheoriginaldrawingchanges.Whenyouinsertadrawingasanxref,however,thexrefisupdatedwhentheoriginaldrawingchanges.Adrawingcontainingxrefsalwaysreflectsthemostcurrenteditingineachexternallyreferencedfile.Likeablockreference,anxrefisdisplayedinthecurrentdrawingasasingleobject.However,anxrefdoesnotsignificantlyincreasethefilesizeofthecurrentdrawingandcannotbeexploded.Aswithblockreferences,youcannestxrefsthat(yī)areat(yī)tachedtoyourdrawing.Byattachingxrefs,youcanAssembleamasterdrawingfromcomponentdrawingsthat(yī)mayundergochangesasaprojectdevelops.Coordinateyourworkwiththeworkofothersbyoverlayingotherdrawingsonyourdrawingtokeepupwiththechangesbeingmadebyotherusers.Ensurethatthemostrecentversionofthereferenceddrawingisdisplayed.Whenyouopenorplotyourdrawing,AutoCADautomaticallyreloadseachxref,sothedrawingreflectsthelatestchangestothereferenceddrawingfile.Displayonlyaspecificsectionofthexreffileinthemasterdrawingbycreatingclippedboundariesofxrefs.10.5ClippingBlocksandXrefsAfterattachingadrawingasanxreforinsertingablock,youcandefineaclippingboundarybyusingXCLIP.Aclippingboundarycandefineaportionofablockorxrefwhilesuppressingthedisplayofgeometryoutsideoftheboundary.Clippingappliestoanindividualinstanceofanxref,notthexrefdefinitionitself.Theportionofthexreforblockwithintheclippedboundaryremainsvisible,andtheremainderofthexreforblockbecomesinvisible.Thereferencedgeometryisnotaltered,onlythedisplayofthexrefisedited.YoucanuseXCLIPtocreat(yī)eanewclippingboundary,deleteanexistingboundary,orgenerateapolylineobjectcoincidentwithverticesoftheclippingboundary.Xrefclippingcanbeturnedonoroff.Whenaclippingboundaryisturnedoff,theboundaryisnotdisplayedandtheentirexrefisvisible,providedthatthegeometryisonalayerthatisonandthawed.Whenaclippingboundaryisturnedoff,itstillexistsandcanbeturnedon.However,deletingaclippingboundaryispermanent.FormoreinformationaboutXCLIP,seetheCommandReference.Afteranxreforblockhasbeenclipped,itcanbeedited,moved,orcopiedjustlikeanunclippedxreforblock.Theboundarymoveswiththereference.Ifanxrefcontainsnestedclippedxrefs,theyappearclippedinthedrawing.Iftheparentxrefisclipped,thenestedxrefsarealsoclipped.Ifyouwanttoseetheclippingboundary,youcanturnontheXCLIPFRAMEsystemvariable.XCLIPFRAMEdetermineswhethertheclippingboundaryframeisdisplayed.Whentheclippingframeison(setto1),itcanbeselectedaspartoftheobjectandplotted.Formoreinformat(yī)ionaboutXCLIPFRAME,seetheCommandReference.10.6EditingReferencesinPl(wèi)aceYoucanmodifyexternalreferencesandredefineblockdefinitionsfromwithinthecurrentdrawingbyusingin-placereferenceediting.Bothblocksandxrefsareconsideredreferences.Often,adrawingcontainsoneormorexrefsaswellasmultipleblockreferences.Whenworkingwithblockreferences,youcanselectablock,modifyit,andupdatetheblockdefinition.Whenworkingwithxrefs,youcanusein-placereferenceeditingtoselectthereferenceyouwanttoworkwith,modifyitsobjects,andsavebackthechangestothereferencedrawing.Youcanmakeminorchangeswithouthavingtogobackan
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 兒童口腔衛(wèi)生知識講座
- 湖北省圓創(chuàng)教育教研中心2025屆高三三月聯(lián)合測評數(shù)學(xué)試題及答案
- 韶關(guān)市翁源縣2025年一級建造師市政工程全真模擬試題含解析
- 優(yōu)化圖書查詢系統(tǒng)計劃
- 年度教學(xué)工作的里程碑與規(guī)劃計劃
- 踐行可持續(xù)發(fā)展理念的工作策略計劃
- 提升會議組織能力的策略計劃
- 情感教育活動的開展計劃
- 會展中心安保計劃
- 電子商務(wù)發(fā)展策略計劃
- 消防設(shè)施操作員實戰(zhàn)試題及答案分享
- 2025年北京電子科技職業(yè)學(xué)院高職單招(數(shù)學(xué))歷年真題考點含答案解析
- 山東省濱州市無棣縣2024-2025學(xué)年七年級上學(xué)期期末生物試題(原卷版+解析版)
- 新東方在國際教育領(lǐng)域的布局與市場機會
- 2025年上半年??谑忻捞m區(qū)水務(wù)局下屬事業(yè)單位招考易考易錯模擬試題(共500題)試卷后附參考答案
- 2025屆高三化學(xué)二輪復(fù)習(xí) 化學(xué)反應(yīng)原理綜合 課件
- 9.3.2《設(shè)計簡單裝置制作酸奶》跨學(xué)科實踐主題學(xué)習(xí)單元教學(xué)設(shè)計
- 2025年鄭州市九年級中考語文一模試卷附答案解析
- 2025年江蘇蘇州市(12345)便民服務(wù)中心招聘座席代表人員高頻重點模擬試卷提升(共500題附帶答案詳解)
- 塔類設(shè)備絕熱保冷施工方案
- 河北省石家莊市欒城區(qū)冶河鎮(zhèn)初級中學(xué)-勵志主題班會-拒絕間歇性努力不做45青年【課件】
評論
0/150
提交評論