Hello All,
I am a NX designer and new to this forum.
I am trying to create a journal to create specific named categories according to my company spec. Each category need to contain a specific layer in that.
There are almost 15 categories I need to create and move corresponding layers to those.
Eg: Layer 30 should contain all trim planes and need to be under category _TRIM_PLANES
(*designer need to move manually trim planes to layer 30 while designing, no journal required for that).
I have succeeded to create the journal; but the issue is, journal is working for new files only (* for new files no _TRIM_PLANES category present in initial default status).
When I run this journal for an existing file (*that file may already contain some of the desired layers created by previous user), I am getting below error.
" NXOPEN.NXEception: The category name already exists. Specify a new category Name.
at NXOpen.NXobject.SetName(String name)
at NXjournal.Main(String[]args) in C:Temp\xxxxx\NXjournals6900\journal.vb:line50 "
So I need to modify something like, If category _TRIM_PLANES already present, END creating _TRIM_PLANES category and proceed to next step.
I am not sure how to add this "CHECK and ENDIf stratergy" before a particular action line.
Please help
Thanks
Cool_Designer