nx 9 shop docs template customization tutorial

15
NX 9 Shop Docs Template Customization Tutorial by billstorrs on 10-30-2013 05:19 PM - edited on 10-30-2013 05:20 PM by NXManufacturing Labels:  Basics - Fundamentals  , Customization , Tech Tip Articles  , What's New in NX 9 

Upload: josh-hopper

Post on 06-Jan-2016

164 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 1/15

NX 9 Shop Docs Template Customization Tutorial

by billstorrs  on 10-30-2013 05:19 PM - edited on 10-30-2013 05:20 PM by NXManufacturing 

Labels:

  Basics - Fundamentals 

• ,

Customization 

• ,

Tech Tip Articles 

• ,

What's New in NX 9 

Page 2: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 2/15

Page 3: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 3/15

 

!er!iew

ocu!enting t"e !anufacturing #lan and t"e s#ecifics of t"e N$ #rogra! are i!#ortant #ieces of t"e #art !anufacturing #rocess% &"is &ec" &i#describes t"e ste#s to generate s"o# docu!entation, t"en to custo!i'e te!#lates to tune t"e s"o# docs to your needs%

 

&o do t"is tutorial, you need to sa(e t"e follo)ing files and folders locally:

• *"o#+doc folder containing te!#lates

• older containing #art files )it" o#erations

• !#ty folder for s"o# doc out#ut

 

$o#y t"e folders to your des.to#

1% /n'i# t"e attac"ed &e!#lates and Part files%' file and co#y t"e attac"ed s"o#+doc folder onto your des.to#% &"is is t"e sa!e folder as t"e one

in your M$resource directory:

 

4a!#le: $:Progra! iles*ie!ensNX 9%0M$resources"o#+doc

 

Page 4: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 4/15

  local co#y )ill allo) you to edit and sa(e your o)n te!#lates%

 

2% $o#y t"e attac"ed ie and *"o# oc out#ut folders to your des.to#%

&"e ie folder contains t"e #art files you )ill use and t"e *"o# oc out#ut folder is an e!#ty folder in )"ic" you )ill sa(e t"e out#ut%

 

3% dd an n(iron!ent ariable t"at tells *"o# ocs )"ere to find t"e te!#lates:

• *tart--6$ontrol Pane--6*yste! and *ecurity--6syste!--6d(anced *yste! *ettings--6d(anced 7tab8--6n(iron!ent ariables--6Ne)

• ill in t"e follo)ing ariable na!e and ariable (alue:

 

• $lic. t)ice%

 

;% <estart NX if it is currently running so t"e ne) en(iron!ent (ariable )ill be a##lied%

=e sure *"o# ocs can find )"ere 4cel is installed

Page 5: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 5/15

&"e s"o#doc+e4cel%tcl file inside t"e e4cel+te!#lates folder s#ecifies )"ere *"o# ocs )ill loo. for t"e e4cel%e4e file% 4a!#le:

set e4ecute+file >$:a##sM*fficeffice1;e4cel%e4e?

 

@f you "a(e 4cel installed, be sure t"is #at" is correct% @f *"o# ocs does not f ind 4cel 7or if you donAt "a(e it8, t"en t"e out#ut )ill be dis#layed

by t"e &ML bro)ser only%

 

ut#ut *"o# ocs

1% @n NX, o#en "ousing+co(er+setu#%#rt in t"e ie folder%

2% @n t"e Progra! rder ie) of t"e #eration Na(igator, select 123;%

3% $lic. t"e *"o# ocu!entation icon in t"e toolbar%

;% *elect #eration List *elect 7&MLB4cel8 in t"e <e#ort or!at list%

5% $lic. t"e =ro)se for an ut#ut ile folder and bro)se to t"e *"o# oc out#utfolder on your des.to#%

C% $lic. %

% $lic. in t"e *"o# ocu!entation dialog to begin #rocessing%

D% $lic. Ees in t"e Microsoft ffice 4cel dialog%

&)o out#ut files "a(e been created: and "t!l file and an "t!l file dis#layed in 4cel%

 

9% $lose t"e "t!l file so t"at only t"e 4cel out#ut is dis#layed%

Page 6: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 6/15

Notice t"at t"e title bloc. "as been #o#ulated )it" data and a #art i!age% &"e o#eration table "as cycled for eac" o#eration in t"e selected

#rogra!%

 

Note: t"er #latfor!s 7Mac*, Linu48 )ill not dis#lay t"e out#ut auto!atically%

$lic. one of t"e i!ages in t"e Pat" @!age colu!n%

 

10% &"e i!age is enlarged and dis#layed in your default gra#"ic (ie)er%

 

$lose t"e i!age and t"e 4cel out#ut )indo)%

 

Note: Eou !ust close all out#ut )indo)s before generating t"e ne4t out#ut or you )ill recei(e an error%

<e#eat t"e abo(e ste#s to out#ut a single o#eration or a grou# in t"e Mac"ining Met"od ie)% lso, try using ot"er te!#lates in t"e <e#ort or!at

list%

 

diting an 4isting &e!#late

 irst, you )ill !a.e a si!#le te4t edit to t"e te!#late and t"en generate t"e out#ut to see t"e edit% &"en, you )ill edit a MM (ariable and c"ange

t"e #age for!atting%

 

1% n your des.to#, o#en t"e Bs"o#+docBe4cel+te!#latesB folder%

2% ouble-clic. to o#en s"o#doc+te!#late+nglis"+o#eration+list+select%4ls4

Page 7: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 7/15

3% @n t"e 4cel file, c"ange Progra! *"eet in t"e title to ie%

;% o not sa(e t"e c"ange%

/#date t"e te!#late

5% @n 4cel, ile--6*a(e s--6*a(e as ty#e: Feb Page 7G%"t!HG%"t!l8--6<e#ublis": *"eet%

 

Note: *"o# ocs su##orts 4cel 200 and later% &"e abo(e illustration s"o)s 4cel 2010% t"er (ersions of 4cel !ay (ary slig"tly%

 

C% $"ec. to be sure you are sa(ing in your local co#y of t"e Bs"o#+docBe4cel+te!#latesB directory on your des.to#%

% *elect *a(e%

D% @n t"e Publis" as Feb Page dialog bo4, select Publis"%

9% Lea(e t"e edited s"o#doc+te!#late+nglis"+o#eration+list+select%4ls4 file o#en for no)%

Page 8: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 8/15

 

Ienerate out#ut using t"e u#dated te!#late

10% @n NX, *elect 123;J*"o# ocu!entationJ#eration List *elect 7&MLB4cel8J

Notice t"e out#ut reflects t"e c"ange you !ade 7Progra! *"eet to ie8 to t"e 4cel file%

 

11% $lose t"e out#ut )indo)s%

 

dit t"e 4cel file

Ne4t, you )ill edit a MM (ariable% *"eet 2 in t"e 4cel file contains !any MM (ariables )it" descri#tions t"at are a(ailable to custo!i'e t"e

te!#late% iltering by $lass, *orting al#"abetically, and inding .ey )ords are useful in na(igating t"is list%

 

12% $lic. t"e !o!+(ars tab at t"e botto! of t"e s"o#doc+te!#late+nglis"+o#eration+list+select%4ls4 file%

13% Pic. $lass at t"e to# of colu!n = and select ilter in t"e toolbar%

1;% t t"e to# of colu!n =, #ic. t"e button ne4t to $lass and unc"ec. *elect ll%

15% *croll do)n and c"ec. &ool%

1C% $lic. %

1% Pic. t"e K at t"e to# of colu!n and select ind in t"e toolbar%

1D% &y#e ia in t"e ind )"at field and clic. ind ll%

Page 9: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 9/15

19% @n t"e ind and <e#lace )indo), #ic. !o!+tool+dia!eter in t"e alue colu!n%

20% &y#e ia in t"e ind )"at field and clic. ind ll%

21% @n t"e ind and <e#lace )indo), #ic. !o!+tool+dia!eter in t"e alue colu!n%

 

22% $lose t"e ind and <e#lace )indo)%

23% $lic. t"e s"o#doc+te!#late+nglis" tab at t"e botto! of t"e 4cel file%

2;% Paste !o!+tool+dia!eter in #lace of !o!+o#er+tool 7be sure to retain t"e brac.ets8%

 

25% $"ange &ool Na!e in t"e colu!n "eading to &ool ia%

2C% $"ange <P& &@&L to Ees%

Page 10: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 10/15

 

<P& &@&L allo)s you to re#eat t"e title bloc. 7defined bet)een =E *&<& and t"e &=L *&<& !ar.ers8 on eac"

#age%

 

2% o not sa(e c"anges%

 

Ienerate out#ut using t"e u#dated te!#late

2D% @n NX, *elect 123;J*"o# ocu!entationJ#eration List *elect 7&MLB4cel8J

Notice t"e title bloc. is re#eated on #age one and t)o and t"at t"e &ool ia colu!n no) reflects t"e dia!eter of eac" tool%

29% $lose t"e out#ut )indo)%

ere is an o(er(ie) of t"e ty#es of edits you can !a.e to t"e te!#late:

 

Page 11: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 11/15

Page 12: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 12/15

 

$reating a Ne) &e!#late

ereAs )"at you )ill do:

• *a(e t"e edited 4cel file under a ne) na!e

• $reate a ne) te!#late

• $reate a ne) %tcl file% &"is deter!ines )"ic" te!#late to #rocess )"en you select an o#tion in t"e /@

• dit t"e %dat file to deter!ine )"at you see in t"e user interface and )"ic" %tcl file to use

• Ienerate out#ut using t"e ne) te!#late

*a(e a ne) %4ls4 file

=egin by sa(ing t"e %4ls4 file you edited under a ne) na!e%

 

1% ile--6*a(e s--6 ile na!e: !y+te!#late%4ls4--6*a(e

$reate a ne) %"t! file

No), create a ne) te!#late )it" t"e sa!e content as t"e %4ls4 file%

 

2% ile--6*a(e s--6*a(e as ty#e: Feb Page 7G%"t!HG%"t!l8--6<e#ublis": *"eet --6*a(e--6Publis"

Page 13: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 13/15

Loo. in t"e e4cel+te!#lates folder 7your local co#y8 and notice t"at you "a(e created t)o files and t"e syste! "as created a folder to su##ort

t"e %"t! file:

 

$reate a ne) %tcl file

&"e %tcl file for t"e ne) te!#late !ust "a(e t"e sa!e na!e as t"e %"t! file so t"at t"e syste! .no)s )"ic" %"t! file to #rocess% &"is co!!on file

na!e Kconnects t"e %tcl and %"t! files%

 

3% @n t"e e4cel+te!#lates folder, $o#y and Paste s"o#doc+te!#late+nglis"+o#eration+list+select%tcl

;% <ena!e it !y+te!#late%tcl

5% Eou s"ould "a(e t"ree files:

 

Page 14: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 14/15

%4ls4: &"e 4cel file containing your edits on s"eet 1 and all a(ailable !o! (ariables on s"eet 2% &"is is your )or.ing file%

%"t!: &"e te!#late t"e syste! uses to create t"e s"o# doc out#ut%

%tcl: &"e %tcl file t"at deter!ines )"ic" %"t! file to #rocess )"en you select an o#tion in t"e /@%

 

dit t"e%dat file

s"o#+doc%dat file deter!ines )"at you see in t"e *"o# oc user interface and s#ecifies )"ic" %tcl file to use%

 

C% Io bac. one le(el in t"e directory%

% ind s"o#+doc%dat and re!o(e < if necessary%

D% #en s"o#+doc%dat in a te4t editor%

ac" line corres#onds to an e4isting te!#late% K are te!#lates t"at are co!!ented out and do not a##ear in t"e NX user interface% Eou can co#y

and edit any line%

 

9%$o#y all t"e te4t fro! line 1:

 

#eration List *elect 7&MLB4cel8, >/I@@+$M+*P+$+@<?e4cel+te!#latess"o#doc+te!#late+nglis"+o#eration+list+select%tcl,

>/I@@+$M+*P+$+@<?e4cel+te!#latess"o#doc+e4cel%t#l

 

10% Paste as a ne) line at t"e botto! of t"e list%

11% ey in )"at you )is" to a##ear in t"e /@ - My #eration List *elect 7&MLB4cel8

Page 15: NX 9 Shop Docs Template Customization Tutorial

7/17/2019 NX 9 Shop Docs Template Customization Tutorial

http://slidepdf.com/reader/full/nx-9-shop-docs-template-customization-tutorial 15/15

12% ey in t"e na!e of t"e %tcl file you Oust created - !y+te!#late%tcl% &"is Kconnects t"e %tcl file to t"e /@ selection%

 

My #eration List *elect 7&MLB4cel8, >/I@@+$M+*P+$+@<?e4cel+te!#lates!y+te!#late%tcl,

>/I@@+$M+*P+$+@<?e4cel+te!#latess"o#doc+e4cel%t#l

 

13% *a(e and $lose s"o#+doc%dat

1;% $reate *"o# oc out#ut using t"e ne) te!#late: