Top Banner

of 40

AutoCAD Automation for Electrical Drawings

Jan 08, 2016

Download

Documents

AutoCAD Automation for Electrical Drawings
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • UseofAutoCADAutomationforElectrical LayoutsElectricalLayouts

    Rahul SrivastavaElectricalEngineeringDepartment

    02.07.2015

  • Contents

    1. Problems and challenges in AutoCAD Drafting

    2. Working with BackGround Drawing

    3. AutoGeneration of Drawing Template

    4. Block References and Attributes

    5. BOM Extraction

    6. BOM Extraction : Automation

    7. AutoCAD Symbol Library

    8. Benefits of Block Attributes & Other Useful Tools

    9. Design tools

    2

  • 1. ProblemsandchallengesinAutoCADDrafting:(1/3)

    1.Backgrounddrawingrevision:

    Drawingsizebecomesverylarge,resultsindifficulttoworkandfatalerrors. Current Working : None CurrentWorking:NoneEverytimeanewrevisionofplotplan,archotherdepartmentdrawingsarereleased,thatneedtobeupdatedinallElectricalDrawings.Changethetext, dimensionasperscale.

    CurrentWorking:Cleaningofbackgrounddrawings,insertinginelectricallayoutsasblocks.Taskdoneforalldrawings.(Verytimeconsuming).

    Key Plan Revision itself is a very time consuming and error prone taskKeyPlanRevisionitselfisaverytimeconsuminganderrorpronetask.CurrentWorking:Keyplanitselfbecomeheavytoreducethesizetakeslotoftimeandagaininsertingineachdrawingisverytimeconsumingtask.

    33

  • ProblemsandchallengesinAutoCADDrafting:(2/3)

    2.DrawingQuality:

    Date,revisionnumber,projectcodeetc.Current Working : Every revision of drawing it need to be check and manually entered.CurrentWorking:Everyrevisionofdrawingitneedtobecheckandmanuallyentered.Textarenotproperlyalignedandtextsizevariestoomuch.CurrentWorking:Notool/guidelineavailable.Drawingqualitydependsondesigner

    workexperience.(Acomprehensiveguidelineisrequired).

    Electricaltags/textandbackgroundtextmixedup.Current Working : Manually moving of background text/object to see the clear electricalCurrentWorking:Manuallymovingofbackgroundtext/objecttoseetheclearelectricaltags/texts.

    44

  • ProblemsandchallengesinAutoCADDrafting:(3/3)

    3.BOMGeneration:

    Manuallycountingofblocks.Current Working : By using Bcount command. Cable Trays, Wires, cables and conduits areCurrentWorking:ByusingBcountcommand.CableTrays,Wires,cablesandconduitsaremeasuredbyusingplinecommand.

    Extractfrom3Dmodel(CableTrayonly).(forProposalandininitialstageof

    project(IFR)themodelisnotupdated.

    Nostandardsymbollibraryisavailable.Current Working : No company standard Block library is available Some projects haveCurrentWorking:NocompanystandardBlocklibraryisavailable.SomeprojectshavesymbollibrarybasedonITBrequirements.

    Tagnumberrevision.CurrentWorking:Manuallyupdatingofequipmenttag.Nos.

    55

  • 2.WorkingwithBackGroundDrawing

    B k d d i i i P ibl S l ti

    AnXrefisanexternalreference'toanotherAutoCADdrawingfile.Onefilecanreferencemany

    other files and display them as if they were one These are used in larger projects for many

    Backgrounddrawingrevision:PossibleSolution:

    otherfilesanddisplaythemasiftheywereone.Theseareusedinlargerprojectsformany

    reasons:

    Theykeepthefilesizesdown.Theyallowmanyuserstoworkonindividualcomponentsofaproject.EverytimeanXrefisloaded,itisthemostrecentversionofthedrawing.Xref'scanbeupdated,added,orunattachedfromthemaindrawingatanytime.YoucanXrefdrawingsthattheythemselvesXrefotherdrawings(nesting).In these days of networks and the Internet, many projects are produced this way. PeopleInthesedaysofnetworksandtheInternet,manyprojectsareproducedthisway.Peoplefromanywhereintheworldcancollaborateonaprojectinrealtime.

    6

  • Introduction XRefWh E t l R f ?

    OneofthemostpowerfultimesavingfeaturesofAutoCADistheabilitytohaveonedrawing

    become part of a second drawing while maintaining the integrity and independence of the

    WhyExternalReference?

    becomepartofaseconddrawingwhilemaintainingtheintegrityandindependenceofthe

    firstone.

    Whenyoudrawingisattachedasanxref,thereferenceddrawingislinkedtothecurrent

    drawing;anychangestothereferenceddrawingaredisplayedinthecurrentdrawingwhenit

    isopened.

    A d i b h d f l i l d i h i C lAdrawingcanbeattachedasanxreftomultipledrawingsatthesametime.Conversely,

    multipledrawingscanbeattachedasexternalreferencestoasingledrawing.

    ThisfeatureisprovidedbytheXREFcommand,shortforexternalreference.p y ,

    7

  • Introduction XRef

    Thesymbolsthatarecarriedintoadrawingbyanexternalreferencearecalleddependent

    symbols,becausetheydependontheexternalfile,notonthecurrentdrawing,fortheir

    characteristics.Thesymbolshavearbitrarynamesandincludeblocks,layers,linetypes,text

    styles,anddimensionstyles.

    8

  • ProcedureforWorkingwithXrefX f M l tt

    TheXREFcommandprovidesvariousoptionsforattachingandmanipulatingexternalreferencesfilesfromXrefManager.

    XrefManagerpalette

    9

  • ProcedureforWorkingwithXrefAtt hi E t l R f DWG I DWF DGNAttachingExternalReference DWG,Image,DWF,DGN

    10

  • ProcedureforWorkingwithXrefE t l R f Di l bExternalReferenceDialogbox

    11

  • ProcedureforWorkingwithXrefA il bl ti

    ReferenceType selectionhastwomodes:

    Availableoptions:

    Attachmentmode theexternalreferencesthatareattachedinthismodewillbeincludedinthedrawingwhenthedrawingitselfisattachedasanexternalreferencetoanotherdrawing.

    Overlay mode the external references that are attached in this mode will not be included inOverlaymode theexternalreferencesthatareattachedinthismodewillnotbeincludedinthedrawingwhenthedrawingitselfisattachedasanexternalreferencetoanotherdrawing.

    RetainPathselectiondetermineswhetherornotthefullpathtotheexternalreferenceissaved.

    InsertionPoint,Scale, andRotation selectionaresimilartoinsertionofablock.

    12

  • ProcedureforWorkingwithXrefD t hi E t l R f D iDetachingExternalReferenceDrawingsDetach selectionintheXrefManagerdialogbox detachesselectedexternalreferencedrawing(s)fromthecurrentdrawing.

    Iftheexternalreferenceiscurrentlybeingdisplayedaspartofthecurrentdrawing,itdisappearswhenyoudetachit.

    ReloadingExternalReferenceDrawingsReload selectionintheXrefManagerdialogbox updatesselectedoneormoreexternalreferencedrawingsattachedtothecurrentdrawing.g g

    TheReloadselectionisprovidedtoreloadtheexternaldrawingwhensomeoneiseditingtheexternaldrawingatthesametimewhenitisattachedtoadrawingthatiscurrentlyopen.

    13

  • ProcedureforWorkingwithXrefUnloading External Reference DrawingsUnloadingExternalReferenceDrawingsUnloadselectionintheXrefManagerdialogbox allowstounloadoneormoreexternalreferencedrawingsfromthecurrentdrawing.

    UnliketheDetachoption,theUnloadoptionmerelysuppressesthedisplayandregenerationoftheexternalreferencedefinition,tohelpcurrentsessioneditingandimproveperformance.

    Thisoptionisalsousefulwhenaseriesofexternalreferencedrawingsneedstobeviewedduringaprojectonanasneededbasis.Ratherthanhavingthereferencedfilesdisplayedatalltimes,itcanbereloadwhenyourequiretheinformation.

    14

  • ProcedureforWorkingwithXrefBi di E t l R f D iBindingExternalReferenceDrawingsBind selectionintheXrefManagerdialogboxallowstomakeexternalreferencedrawingdataapermanentpartofthecurrentdrawing.

    AutoCADdisplaystheBindXrefsdialogboxwithtwochoices:Bind andInsert.

    Bind selectionbindstheexternalreferencedrawingasanordinaryblockinthecurrentdrawinganditrenamesthedependentsymbolsandusethemasyouwoulduseanyothernamedobjects.

    Insert selection binds the external reference drawing to the current drawing as if it is insertedInsert selectionbindstheexternalreferencedrawingtothecurrentdrawingasifitisinsertedinthecurrentdrawingjustlikeinsertingadrawingwiththeINSERTcommand.

    ChangingandSavingthepathBrowse selection in the Xref Manager dialog box displays Select New Path dialog box whichBrowse selectionintheX refManagerdialogboxdisplaysSelectNewPathdialogboxwhichallowstoselectdifferentpathorfilenamefortheselectedexternalreferencefile.

    SavePath selectionintheXrefManagerdialogboxsavesthepathofthecurrentlyselected

    15

    externalreferencefile.

  • ProcedureforWorkingwithXrefAddi D d t S b l t th t d iXBIND commandpermanentlyaddsselectedsubsetofexternalreferencedependentsymbolstothecurrentdrawing.

    AddingDependentSymbolstothecurrentdrawing

    Thedependentsymbolsincludetheblock,layer,linetype,dimensionstyle,andtextstyle.AutoCADrenamesthedependentsymbolsthatisaddedtothecurrentdrawing.

    16

  • ProcedureforWorkingwithXrefC t lli th Di l f E t l R fTheXCLIP commandcontrolsthedisplayofunwantedinformationbyclippingtheexternalreferencedrawingsandblocks.

    ControllingtheDisplayofExternalReferences

    Clippingdoesnoteditorchangetheexternalreferenceorblock,itjustpreventspartoftheobjectfrombeingdisplayed.

    Thedefinedclippingboundarycanbevisibleorhidden.

    17

  • ProcedureforWorkingwithXrefO ti i l dNew selection(default)definesarectangularorpolygonalclipboundaryorgeneratesapolygonalclippingboundaryfromapolyline.

    Optionsinclude:

    ON/OFF selectionscontrolsthedisplayoftheclippedboundary.

    Clipdepth selectionsetsthefrontandbackclippingplanes.

    Delete selectionremovestheclippingboundaryfortheselectedexternalreferenceorblock.

    18

  • 3.AutoGenerationofDrawingTemplate

    AutoGen:

    DemoAutoIns:

    AutoUpd:

    19

  • 4.BlockReferencesandAttributesWh C t Bl k?

    TheBLOCK commandenablesadesignertocreateanobjectfromoneormoreobjects,saveitunderauserspecifiedname,andlateritcanbeinsertedintothedrawing.

    WhyCreateaBlock?

    WhenblockreferencesareinsertedinthedrawingtheycanbescaledupordowninbothoreitheroftheXandYaxesandcanberotatedastheyareinsertedinthedrawing.

    Theblockreferenceactsasasingleunitwhenoperatedonbycertainmodifycommands.

    BlockreferencecanalsobedraggedanddroppedfromonedrawingtoanotherthroughDesignCenterDesignCenter.

    20

  • BlockReferencesandAttributes

    CreatingBlockDefinitionBlockDefinitiondialogboxInsertingBlockReferencesInsertdialogboxNested BlocksNestedBlocksExplodeCommandMultiple Inserts of Block ReferencesMultipleInsertsofBlockReferencesBaseCommand

    21

  • BlockAttributesAtt ib t i l t t bj t th t b i l d d i bl k d fi itiAttributesarespecialtextobjectsthatcanbeincludedinablockdefinition.

    Attributescanbeusedforautomaticannotationduringinsertionofablockreference.

    Ifanattributeistobeusedonlytostoreinformation,specifywhetherornotitwillbevisiblewhenattributeisdefined.

    If the attribute is used as a note label or callout consider the effect of scaling (whether equalIftheattributeisusedasanote,label,orcallout,considertheeffectofscaling(whetherequalorunequalX/Yfactors)androtationonthetextthatwillbedisplayed.

    Thescalingfactor(s)ontheattributewillbethesameasontheblockreference.Attributetextthatisdefinedashorizontalinablockwillbedisplayedverticallywhenthatblockreferenceisinsertedwitha90degreeangleofrotation.

    Allowstoextractdatafromeachinsertedblockreferenceandsavedinafileinaformthatdatabasehandlingprogramscanuse.

    22

  • BlockAttributesC t i t d ith tt ib tTAGistheidentifieroftheattributedefinitionandisdisplayedwherethisattributedefinitionislocated,depictingtextsize,style,andangleofrotation.Thetagcannotcontainspaces.Tagsappear in the block definition only not after the block reference is inserted

    Componentsassociatedwithattributes:

    appearintheblockdefinitiononly,notaftertheblockreferenceisinserted.

    VALUE ofanattributeistheactualstringoftextthatappears(ifthevisibilitymodeissettoON)whentheblockreference(ofwhichitisapart)isinserted.Whethervisibleornot,thevalueistieddirectlytotheattribute,which,inturn,associatesitwiththeblockreference.Itisthisvaluethatiswrittentothedatabasefile.

    PROMPT is what you see when inserting a block reference with an attribute whose value isPROMPT iswhatyouseewheninsertingablockreferencewithanattributewhosevalueisnotconstant.

    23

  • BlockAttributes

    F i d il bl t Att ib t

    ATTDEFCommand definestheattributesthatisincludedintheblockdefinition.

    ATTDISP Command controls the visibility of the attributes

    Four primary commands are available to manage Attributes:

    ATTDISPCommand controlsthevisibilityoftheattributes.

    EATTEDITCommandprovidesvariousoptionstoeditattributeswithoutexplodingtheblockreference.

    EATTEXTCommand extractthedatafromthedrawingandsavestoafileinaformthatdatabasehandlingprogramscanuse.

    24

  • BlockAttributesATTDEF dATTDEFcommand

    ATTDEFCommanddefinestheattributesthatisincludedintheblockdefinition.

    25

  • BlockAttributes

    Blockswithattributesinsertedinamannersimilartothatforinsertingregularblockreferences.Ifthereareanynonconstantattributes,AutoCADpromptsforthevalue.

    To suppress the prompts for attribute values set the system variable ATTREQ to 0 (zero) TheTosuppressthepromptsforattributevaluessetthesystemvariableATTREQ to0(zero).Thevalueswilleitherblankorsettothedefaultvaluesiftheyexist.UseEATTEDIT commandtoestablishorchangevalues.

    ATTDISPcommandATTDISP Commandcontrolsthevisibilityoftheattributes.

    ON selectionmakesallattributesvisible

    OFF selectionmakesallattributesinvisible.

    Normal selectiondisplaystheattributesthewayitwasdefined.

    26

  • BlockAttributesEATTEDIT dEATTEDITcommand

    EATTEDIT Commandprovidesvariousoptionstoeditattributeswithoutexplodingtheblockreference.

    EditAttributesdialogboxwithAttributetabselection

    27

  • BlockAttributesEdit Att ib t di l b ith T t ti t b l tiEditAttributesdialogboxwithTextoptionstabselection

    EditAttributesdialogboxwithPropertiestabselection

    28

  • 5.BOMExtractionEATTEXT dEATTEXTcommand

    EATTEXTCommandextractthedatafromthedrawingandsavestoafileinaformthatdatabasehandlingprogramscanuse.

    ModifyIItoolbar ChoosetheAttributeExtractcommand

    Toolsmenu ChooseAttributeExtraction

    On screen prompt eattext (ENTER)Onscreenprompt eattext (ENTER)

    29

  • BOMExtractionTh D t E t ti B i (P 1 f 8) l t t t bl k tt ib t d t t t blTheDataExtraction Begin(Page1of8) pageletsyouextractblockattributedatatoatableinthecurrentdrawingortoanexternalfile.

    TheDataExtraction DefineDataSource(Page2of8) pageletsyouselectadrawingfilefromwhichtoextractinformationfromBlockAttributesorletsyouspecifyblocksinthecurrentdrawing.

    30

  • BOMExtractionTh D t E t ti S l t Obj t (P 3 f 8) ll t l t hi h bl k dTheDataExtraction SelectObjects(Page3of8)pageallowsyoutoselectwhichblocksandattributesintheselectedblockswillhavetheirdataextractedtothespecifiedtableand/orfile.

    TheDataExtraction SelectProperties(Page4of8)page letsyouselectthepropertiesfordataextraction.

    31

  • BOMExtractionTh D t E t ti R fi D t (P 5 f 8) l t fi th l t d d t

    TheDataExtraction ChooseOutput(Page6of8) pageletsyouchoosetheoutputformat.

    TheDataExtraction RefineData(Page5of8) pageletsyourefinetheselecteddata.

    32

  • BOMExtractionTh D t E t ti T bl St l (P 7 f 8) l t h th t bl t lTheDataExtraction TableStyle(Page7of8) pageletsyouchoosethetablestyle.

    TheDataExtraction Finishpage(Page8of8) letsyoucompletethedataextraction.

    33

  • BlockAttributesR d fi i Bl k d Att ib t

    TheATTREDEF commandallowstoredefineablockreferenceandupdatesassociatedattributes.

    RedefiningaBlockandAttributes

    BlockAttributeManager

    TheBATTMAN commandprovidesameansofmanagingBlocksthatcontainAttributes.

    Allowstoeditattributedefinitionsinblocks,changetheorderinwhichAttributesarepromptedforattributevalueswheninsertingablock,andremoveattributesfromblocks.

    34

  • 6.BOMExtraction:Automation

    AUTOCAD BLOCKAUTOCADBLOCKLIBRARYMANAGER DEFINEATTRIBUTE(S)

    INSER

    FROM

    DRAW RTBLOCKAN

    DIT

    MLIBRARYIN

    TO

    WING

    REVISED DRAWING

    IMPORTBLOCKTAGS

    TAGNO.REVISEINEXCEL

    TSATTRIBUTES

    CURREN

    T

    REVISEDDRAWING

    CURRENTDRAWINGBOMOFCURRENTDRAWING(INEXCEL

    FORMAT)

    EXPORTBLOCKATTRIBUTE(S)

    35

  • 7.AutoCADSymbolLibrary:DesignCenter&ToolPalettes

    36

  • AutoCADSymbolLibrary:BlockLibraryManager

    37

  • 8.BenefitsofBlockAttributes&OtherUsefulTools

    ExportandImportBlockInformationfromexternalfileto/fromAutoCAD

    Text Align TextAlign

    AutoincrementofBlockAttribute

    l IncrementTool

    TextMask

    AdvanceTrimCommand

    Cable/conduitLengthMeasurement

    LayoutstoDrawingsautogeneration

    TypicalInstallationdrawingandBulkMaterialBOMgeneration

    38

    yp g g

  • 9.DesignTools

    CableTray

    ConduitSystem

    PowerPlan

    39

  • 40