cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to test the code to check the type of WTObject

ChiselnMallet1
12-Amethyst

How to test the code to check the type of WTObject

As per this thread - same question:

 

@CHASEONHO did you get this part figured out... I'm fairly new to all this... I have my eclipse environment configured (I beleive)  but have yet to figure out how to test code from it.

3 REPLIES 3

Are you asking how to setup Eclipse with Windchill or how to test checking the object type code portion?

My Eclipse environment is set up... I want to be able to run my code on an object and get system outs in the console so I can rapidly iterate the code with out having to plug it into my expression robot and create new PR objects to test. 

Hi @ChiselnMallet1 

You have several options how to run your code.

 

From Windchill shell call a java class (windchill wt.load.util.UpdateEditDTDUtility)

From WebBrowser to call  a java class with RemoteAccess (http://server.my.com/Windchill/servlet/WindchillAuthGW/com.ex.JavaPackange/MyMethod)

or create button in windchill to call a java class method

 

PS: very useful is a Customization Guide 

 

PetrH

Top Tags