Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Adding States in Windchill

phoxeoy

New member
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
 
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?
 

Sponsor

Articles From 3DCAD World

Back
Top