Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding States in Windchill

  • Thread starter Thread starter phoxeoy
  • Start date Start date
Status
Not open for further replies.
P

phoxeoy

Guest
I'm trying to setup this Windchill thing which by the way is by far the
biggest pain in the ass. PTC has really out done there selfs with this
one. Anyway, it tells me in this 569 page book here that to add States,
so I can use them in my Life Cycles, I need to add them to the
StateRB.rbInfo Resource file. Well thats great and all but this so
called resource file can't be found. Anybody know where this file is
and how to edit it? Thanks for any help you could give.
 
I totally agree with you; Windchill is THE biggest pain.... Our Windchill is running on a Sun box so I am not sure if all of the following would be applicable to your system. However, it will give you an idea. Here are the steps:


1) From the WC_INSTALL_DIR/Windchill/bin directory run the "enumCustomize.sh" script. This will start the customization utility
2) Click Browse
3) Navigate to WC_INSTALL_DIR/Windchill/codebase/wt/lifecycle directory. This is where all the existingclasses are. If you were to add for example a new role, you would have selected the "project" directory and the appropriate class
4) Select State.class abd click Open
5) The utility will display all existing states
6) Click New
7) Enter the info for your new state and make sure you click the "Selectable" box
8) Click OK
9) From the pop-up "Build resource wt.lifecycle.StateRB?" window select Continue
10) This will recompile the class to include the new state. It might take a while.
11) When it is done start a Windchill shell. On our system it is done by typing "windchill shell" at the command prompt
12) Navigate to WC_INSTALL_DIR/Windchill/codebase
13) Run the following to rebuild the JAR files: "ant -f MakeJar.xml"
14) Once that is done stop then start Windchill in order for the new state to be recognized.


Now, all that just to add a new state! Yeah, it sure is a pain....


I hope this helps.


F. Yener Buyuklu
BAE Systems
 
Phoxeoy did that work for you? Were you able to create a new state?
 
Yes it did thank you. Sorry for the late reply I could not login
yesterday at all. Maybe you could help with another. I have created my
Life cycle and Workflow and was trying to create a templete that would
use them so when I create a product it would use the Life Cycle and
workflows I created instead of the defaults. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top