You are on page 1of 4

4/19/2015

how to create template in drafting and to keep in pallette - GrabCAD

Community
Home
Library
Challenges
Tutorials
Engineers
Workbench
Overview
Features
Compare
Resources
ResourceCenter
HelpCenter
Aboutus
Blog
Login
Searchcommunity

Askandanswerquestionsanddownloadtutorials
Thousandsoftutorialstolearnfrom
Startlearning,signup

howtocreatetemplateindraftingandtokeepinpallette
NXtemplatecreatedraftinghow
Byamolon02Jul08:181answer5087views0comments
howtocreatetemplateindraftingandtokeepinpallette.
howtousethatpax.filetocompletethisactivity.
alsocanwecustomizethistemplateinNXnewwindow?likeothernxtemplates.
imusing7.5.

1answer

Deanover2yearsago
Onewayofdoingit,usingalltemplatesinaselfcreatedcustomtemplatefolder,
partsanddrawingsseparated,withpartpropertieslinkedtothedrawing.UsingNX
https://grabcad.com/questions/how-to-create-template-in-drafting-and-to-keep-in-pallette

1/4

4/19/2015

how to create template in drafting and to keep in pallette - GrabCAD

7.5,butwillworkforbothearlierandlaterversions
Partproperties
Startwithastandardoremptyfilethepropertieswindowcanbeaccessedthrough
File>PropertiesanddesirablevariablesareassignedundertheAttributestab.
OneinterestingpropertyisMATERIAL,thevalueisautomaticallyupdatedwhen
thepartmaterialisaltered,theresanalternativewayoflinkingCustomproperties
hastobechangedmanually.Ablankspaceisrecommendedinsteadofanempty
value,duetoissueswhenaccessingemptynotesinthedrawing.
Savetheparttothefoldertonewcustomtemplateswhenallpropertiesareadded.
Thedrawingtemplatecanbecreatedfromdefaultdrawingtemplates,orablank
one.Someofthegraphicobjectsareplacedinlockedlayersofthedrawing,and
canbeunlockedthroughFormat>LayerSettingsbyuncheckingtheVisibleonly
boxinfrontofthelayers(255and256Siemensdefaultlayersforbackground
structure).Afterthelinesandboxeshavebeenmovedaroundandthechanging
withtheappearanceuntillyourhappy.
Textinput
Eitheranewnoteiscreatedoranalreadyexistingismodified(doubleclickit),
whichresultsinthearrivalofyetanotherwindow.UnderthetitleTextInputthe
textandlinkagetoothervariablesisdone.BychangingtheCategory(eitherdrop
downlistoriconsdirectlyunderthetextbox)toRelationships,threewaysof
connectingvariablesarepresented.TheInsertPartAttributesseemstoreferonlyto
propertiesinsidethedrawingitself,andInsertExpressionisnotgoodforthiskind
ofconnection.TheInsertObjectAttributehoweverismoresuitabletothetask.
WhenclickingitthepromptedforTargetObjectshouldbethepartalreadyinserted
inthedrawing,whichcanbeanypart(ifdrawingisempty,justinsertarandom
part),butthetrickistoselectthepartintherightway.
Assem.Nav.withdummypart
Todothisandavoidselectinguninterestingobjectsinthedrawing,likeframesand
displayviews,thepartshouldbetargetedthroughtheAssemblyNavigatortabon
thelefthandside,wheretheinsertedpartshouldappearasaninstanceattheendof
thesmallitemhierarchy.Selectingitshouldresultintheappearanceofasmalllist
ofthepartpropertiesthatwherepreviouslycreated.
AfterapropertyhasbeenchosenatextstringwillbegeneratedintheTextInput
field.Itshouldsaysomethinglike,wherethefivedigitnumberrepresentaunique
idforthechosenobject(thepart).Thisnumberislaterautomaticallyreplaced
whenthedrawingistreatedasatemplate,sowhenalldesiredpropertieshavebeen
linkedintheirnotesalloverthedrawingtheonlyremainingthingtodoistosave
thedrawinginthenewlycreatedcustomtemplatesdirectory.
Thematerialvariablecanhoweveralsobeaccessedthroughapredefinedlink,
togetherwithafewotherthatmightcomeinhandy.Othercustompropertiesfrom
thepartarenotthatlucky,andhastobelinkedinthewaydescribedabove.
Somecommonpredefinedattributes:
ForthecustomtemplatestoappearinNxthepaxfileshastobeedited.Tostarta
customdirectorywithonlymodelanddrawingtemplates,onlythe
ugs_model_templates.paxandtheugs_drawing_templates.paxfileshastobe
https://grabcad.com/questions/how-to-create-template-in-drafting-and-to-keep-in-pallette

2/4

4/19/2015

how to create template in drafting and to keep in pallette - GrabCAD

copiedtothecustomtemplatefolder,andcanbefoundintheC:\Program\UGS\NX
7.5\UGII\templatesdirectory(defaultinstallation).Inthosefilesasection
containing:

hastobemodfied.Thevariablesid,name,description,unitsandfilenameshould
beeditedtopointatthedesiredtemplatefileforeachentry.Unwantedentries
shouldberemoved,aslongasthecodeatthestartandendofthepaxfileremains.
TostartupNxwithacustomtemplatesfolderabatchfile(.bat)withthe
environmentvariableUGII_TEMPLATE_DIRsettothedesiredfolder.Presuming
defaultinstallationlocationthefollowingthreelinesshouldbesufficientfora
workingbatchfiletostartNX7.5withacustomtemplatesfolder.
setUGII_TEMPLATE_DIR=C:\CustomTemplatesFolder
cdC:\Program\UGS\NX7.5\UGII
callugraf.exe
Thisfoldershouldthenbepopulatedbythetemplatefilesandthecorresponding
paxfiles(.pax).Examplesofbothtemplatesandpaxfilescanbefoundinthe
C:\Program\UGS\NX7.5\UGII\templatesdirectory.
Thisshouldbeaworkingsetofhomemadedrawingtemplatesreadyforcreations.
GoodLuck

Addyouranswerto:"howtocreatetemplateindraftingandto
keepinpallette"
Pleaselogintoanswerquestions.Login

0
Like

Tweet

Similarquestions
howtocreatedrawingtemplatewithoutusingdefaulttemplates?orhowtocreateown
companydesigndrawingtemplates?Bykiranr,30Mar11:20
Howtocreateanewdrawingsheettemplate?ByTanelVlja,14Oct07:29
howtocreatedrawingtemplatewithoutusingdefaulttemplates?orhowtocreateown
companydesigndrawingtemplates?inugnxBysunny,24Dec19:47
Howtoinsertadrawingtemplateindraftingmode?ByDavidQuiroga,29Aug22:01
howtocreateBOMtemplateinproe5andhowtosave&utliseit?Bykarthi,07Sep
07:01
howtocreatesheetindrafting??ByRamesh,01Apr07:29

Similartags
draftinghowcreatetemplate
https://grabcad.com/questions/how-to-create-template-in-drafting-and-to-keep-in-pallette

3/4

4/19/2015

how to create template in drafting and to keep in pallette - GrabCAD

Popularsystems
AutoCAD
AutodeskInventor
CATIA
NX
Pro/EngineerWildfire
PTCCreoParametric
SOLIDWORKS
SolidEdge
Other

SaveCancel
Workbench
Overview
Features
Compare
Community
Library
Challenges
Tutorials
Engineers
Resources
Blog
ResourceCenter
HelpCenter
Aboutus
Company
Press
News
Events
Jobs
Getapps
DesktopAppfromToolbox
AndroidappfromGoogle
IOSAppfromAppStore
More...
TwitterGoogle+FacebookLinkedIn
2015GrabCADinfo@grabcad.comTermsofServicePrivacypolicy
TheComputerAidedDesign("CAD")filesandallassociatedcontentpostedtothiswebsiteare
created,uploaded,managedandownedbythirdpartyusers.EachCADandanyassociatedtext,
imageordataisinnowaysponsoredbyoraffiliatedwithanycompany,organizationorrealworld
item,product,orgooditmaypurporttoportray.

https://grabcad.com/questions/how-to-create-template-in-drafting-and-to-keep-in-pallette

4/4

You might also like