XSTEEL高级教程2.docx

上传人:b****6 文档编号:13593831 上传时间:2023-06-15 格式:DOCX 页数:39 大小:238.54KB
下载 相关 举报
XSTEEL高级教程2.docx_第1页
第1页 / 共39页
XSTEEL高级教程2.docx_第2页
第2页 / 共39页
XSTEEL高级教程2.docx_第3页
第3页 / 共39页
XSTEEL高级教程2.docx_第4页
第4页 / 共39页
XSTEEL高级教程2.docx_第5页
第5页 / 共39页
XSTEEL高级教程2.docx_第6页
第6页 / 共39页
XSTEEL高级教程2.docx_第7页
第7页 / 共39页
XSTEEL高级教程2.docx_第8页
第8页 / 共39页
XSTEEL高级教程2.docx_第9页
第9页 / 共39页
XSTEEL高级教程2.docx_第10页
第10页 / 共39页
XSTEEL高级教程2.docx_第11页
第11页 / 共39页
XSTEEL高级教程2.docx_第12页
第12页 / 共39页
XSTEEL高级教程2.docx_第13页
第13页 / 共39页
XSTEEL高级教程2.docx_第14页
第14页 / 共39页
XSTEEL高级教程2.docx_第15页
第15页 / 共39页
XSTEEL高级教程2.docx_第16页
第16页 / 共39页
XSTEEL高级教程2.docx_第17页
第17页 / 共39页
XSTEEL高级教程2.docx_第18页
第18页 / 共39页
XSTEEL高级教程2.docx_第19页
第19页 / 共39页
XSTEEL高级教程2.docx_第20页
第20页 / 共39页
亲,该文档总共39页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

XSTEEL高级教程2.docx

《XSTEEL高级教程2.docx》由会员分享,可在线阅读,更多相关《XSTEEL高级教程2.docx(39页珍藏版)》请在冰点文库上搜索。

XSTEEL高级教程2.docx

XSTEEL高级教程2

 

Lesson2–Templates

 

Whataretemplates2

TemplateTableTypes2

TemplateTableParts5

TemplateObjects7

TemplateConditions–Rules&Syntax31

 

Whataretemplates

 

TemplatesaredescriptionsofformsandtableswhichcanbeincludedinXsteel.Theformscanbegraphicaltobeincludedindrawingsastables,textblocks,drawingheaders,orASCIItextformtobeusedasreports.Thecontentoftemplatefieldsarefilledbytheapplicationusingthetemplatesatruntime.

TemplatesarecreratedandeditedbyusingTemplateEditor,whichisaseparateapplicationinXsteel.TemplateEditorcanbeopenedinXsteel“Tools”“Templates…”dropdownmenu.

 

TemplateTableTypes

Tabletypeisusedforfilteringandselectingpartstobepresentedonthereportordrawingtable.Thisoptioncanbefoundunderthe“Settings”pulldownmenu.

 

Note:

TabletypeinTablenamemustbethesameasinSelection.

 

Reportscanbecreatedforthewholemodelorselectedparts.Onlypartsandboltscanbeselectedforreports.Assembliesandotherobjectsareselectedbytheparts.Fordrawingreports,youcancreatereportforallorselecteddrawings.

 

AvailableTableTypesareasfollows:

ALL

ThisTabletypeisusedforlistsofparts,boltsandholesandfiltersoffallobjectswhicharenotpartsorbolts(holescomewithbolts).Allboltswhichareconnectedtotheselectedpartsarealsoincludedinthelist.

PART

ThisTabletypeisthesameasALL,butholesarefilteredoff

BOLT

ThisTabletypeisusedforscrewandboltlists.Itfiltersoffallobjectswhicharenotoftype‘bolt’andselectsallboltswhichareconnectedtoselectedparts.

JOINT

ThisTabletypecollectsjointsandcanbeusedforlistsincludinginformationofthejoint.FieldswhichcanbeusedintheselistsstartswithJOINT...

WELDING

ThisTabletypecanbeusedforlistsofwelds.

JOINT_WELDING

ThisTabletypeissameasWELDINGbutalsojointswhereweldsareassociatedarealsocollected.Thistabletypemakesitpossibletomakehierarchicallistsofjointsandweldsbelongingtothem.

NUT

ThisTabletypeisusedfornutlistsandfiltersoffallobjectswhicharenotoftype‘bolt’.Itselectsallnutsofallboltswhichareconnectedtoselectedparts.

WASHER

ThisTabletypeisusedforwasherlistsandfiltersoffallobjectswhicharenotoftype‘bolt’.Itselectsallwashersofallboltswhichareconnectedtoselectedparts.

ASSEMBLY

ThisTabletypeisusedforlistsofassembliesandsinglepartsandfiltersoffallobjectswhicharenotsinglepartsorassemblies.Itselectsallassembliesoftheselectedpartsandbolts.

ASSEMBLY_ALL

ThisTabletypeissimilartotheALLTabletypebutalsoassembliesareincludedinthelist.IfthefieldASSEMBLY_POSexistsinthelistwithsortorder1,fieldsaresortedinthefollowingorder:

 

1.assembly

2.partsoftheassembly

3.holesofthepart

TabletypeASSEMBLY_ALLfiltersoffallobjectswhicharenotoftypeassembly,partorbolt.ThisTabletypemakestheselectionintwosteps.Itfirstselectsalltheassembliesoftheselectedpartsorboltsandthenselectsallthepartsandboltsoftheassembliesselectedinthefirststep.Inotherwords,allpartsandholesofanassemblycanbeselectedbyanyincludedpartorbolt.

IncaseoftabletypeASSEMBLY_ALLNUMBER-fieldreturnsnumberofpartsincludedtooneassembly.

ASSEMBLY_BOLT

ThisTabletypeissimilartoASSEMBLY_ALLexceptpartsarefilteredoff.

ASSEMBLY_CONN

ThisTabletypeisusedforlistsofassemblyconnections.i.e.liststellingwhichassemblyisconnectedtowhichoneandthroughwhichparts.

ASSEMBLY_PART

TypeTabletypeissimilartoASSEMBLY_ALLexceptboltsarefilteredoff.

SIMILAR

TheTabletypeSIMILARcollectsallthesimilarpartsfromthemodel.Thistabletypecanbeusedformakinglistofassembliesincludingpartssimilartotheselectedones.TabletypeSIMILARcanbeusede.g.insinglepartdrawingsforthetablewhichtellstheassembliesinwhichthesinglepartisincluded.

SIMILAR_ASS

TheTabletypeSIMILAR_ASScollectsallthesimilarassembliesofthemodel.Thistabletypecanbeusedformakinglistsofassemblieshavingsamemarkbutalteringadditionalinformation.E.g.alistinassemblydrawingtellinginwhichphasesassemblieswithsamemarkarefound.

DRAWING

ThisTabletypeisusedfordrawinglistswithoutrevisionhistoryinformation.Thistypecanbeusedonlyforreportsandcollectsalldrawingsinthemodel.

DRAWING_REV

ThisTabletypeisusedfordrawinglistswithandincludesthepossibilitytohavethecompleterevisionhistoryofeachdrawing.Thistabletypecanbeusedonlyforreportsandcollectsalldrawingsinthemodelwithalltheconnectedrevisions.

 

PART_HOLE

ThisTabletypeisusedforthelistsincludingpartsandtheholes(createdwiththebolts)oftheparts.Thislistshouldnotbeusedforboltlistsbecauseeverypartconnectedtogetherwithaboltselectsalsothehole(bolt)tothelist,whichiscorrectforholesbutnotforbolts.

ASSEMBLY_HOLE

ThisTabletypeworksinthesamewayasASSEMBLY_BOLT,buttheholesarecollectedinthecorrespondingwayasinPART_HOLElist.Sothistypecanbeusedforhierarchicallistsincludingassemblies,partsbelongingtoassembliesandholesintheseparts.

 

Note:

TabletypedefineswhichtextfieldsareavailableintheTemplate.

 

TemplateTableParts

AtemplatemayconsistofsixdifferentTableparts:

header,pageheader,row,intermediaterow,pagefooterandfooterbutalltheseTablepartsneednottobepresentineachtemplate.ForexampleasimpleGeneralNotetemplatecontainingonlytextusuallyhasonlya‘Header’.EachTablepartofthetemplateconsistsoflines,arcs,text,symbols,fillareasortextfields.Reporttemplatesaresimilartodrawingtemplatesbutonlyincludeitems,whichcanbeprintedtoanASCII-file.ie.Theycannotcontaingraphics.

 

Tablepartsaredefinedbydrawingtablepartframesaroundtheobjectstobeincludedintothedecidedtablepart.Thereferencepointforhorizontalandverticalpositioningoftablepartsiscalculatedbytheextremesoftheobjectsinside,notbythetablepartframes.Thepositioningcanbecontrolledwiththemarginproperties.Theoutputofrowsandintermediaterowscanbecontrolledwith‘Rules’(otherwiseknownasTemplateConditions).SeeSection“Template-Conditions”.

Note:

AllobjectsmustbecompletelyinsidetheTablePartframe!

Header

AHeaderappearsonlyonceatthebeginningofeachtemplate.Onlyoneheadercanexistineachtemplate.Aheadercannotincludepart/assembly/bolt/weldinformation.

Pageheader

Pageheaderappearsatthebeginningofeachpageoronlyatevenoroddpagesdependingontheproperties.Thefirstpagehastheheaderbeforethepageheader.Pageheadersareusedmainlyinreports,buttheycanbeusedalsoindrawingtemplatestorepeatcertainlabelsaftereachnlinesofthetable.Severalpageheaderscanexistineachtemplate.(e.g.differentpageheadersforoddandevenpages).

Row

Arowcanberepeatedseveraltimeswhileoutputtingthetemplate.Theapplicationusingthetemplatedecidestheamountofrowstobeoutput.Rules(otherwiseknowasconditions)canbeusedforcontrollingtherowoutput.Onlyonerowcanexistineachtemplate.Rowscanconsistofseverallines.

Theactualsortingoftherowsisdonebytheapplicationusingtemplates.Sortingkeysaredefinedbyassigning‘sortorder’valuestothenecessaryfieldsintherow.

Intermediaterow

Intermediaterowscanbeusedtoproduceadditionaloralternativeinformationtorows(e.g.intermediatesums).Theremaybeseveraldifferentkindofintermediaterows.Theattributes(textfields)andsortorderdefinetheoutputorder.Rulesareusedforcontrollingtheoutputofintermediaterows.

Note:

Negativesortordercanbeusedforreverseordersetting.

Pagefooter

Pagefooterisoutputattheendofthepage(See‘Pageheader’above).Severalpagefooterscanexistineachtemplate.

Footer

Footerisoutputafterthepagefooterofthelastpage.

TemplateObjects

Agraphical(ie.Drawing)templatecancontain:

•Lines(drawing)

•Fillareas(drawing)

•Symbols(drawing)

•Text(drawing/report)

•Textfields(drawing/report)

ReporttemplatescancontainonlyTextandTextfields.

Everytablepartmayhaveallthetypeslistedabove.Forexample,arowmayincludegraphicalobjectswhichwillbeoutputwitheveryline.

Line

“Settings”“Pen”opensadialogueboxfordefiningthecolourandoutlookoftheline

 

Functionlinecreatesalinebetweentwopickedpositions.LineiscreatedusingcurrentlydefinedLinepropertiesandPensettings.Positionscanbepickedeitherbypickingordragging.

Tocreateapolylinepickthestartingpointandtheendpointsofthefirstlineandthenendpointsofthefollowinglinesbyclickingordragging.Clicktwiceinthesamepositiontoendthepolyline.

NOTE:

Linecolourdefinesthethicknessofeachlineinplotteddrawings.ThisiscontrolledinXsteel“Plotterdatabase”“Penmap”andbyenvironmentvariableXS_BASE_LINE_WIDTH=0.1

FilledArea

Tocreateafilledareapickthevertexpointsoffilledarea.Togetcurvededgesusedrag.Clickinthesameplacetwiceoronthestartingpointtofinishthecurrentfillarea.

Symbols

SymbolscreatedwithSymbolEditorcanbeaddedtodrawingtemplates.ToaddsymbolsselectfirstthesymbolfileandsymbolfromSymbolpropertiesdialogueboxandpickthepositionforsymbolreferencepointandangle.

Symbolpropertiesdialogueboxcanbeusedforselectingsymbolsandsettingpropertiesfornewandexistingsymbols.

Note:

onlysymbolsresidinginthepredefinedsymboldirectorycan

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2