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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

WTPart view

rserhan
1-Newbie

WTPart view

Hi Everyone,


I am looking for the code to determine the WTPart View (Design) (Manufacturing) or whatever, and assign it to a variable in a coditional router. I hope someone could help. Thanks in advance.

1 REPLY 1

Here it is.



//assuming pbo is WTPart. If its not, get a WTPart


wt.part.WTPart wtpart = (wt.part.WTPart)pbo;



java.lang.String partView = wtpart.getViewName();



System.out.println("partview: " + partview);

Announcements


Top Tags