WTPart view
Jul 24, 2013
08:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 24, 2013
08:36 AM
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.
Labels:
- Labels:
-
Other
1 REPLY 1
Jul 24, 2013
09:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 24, 2013
09:31 AM
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);
