Hi folks,
Want to add log out functionality (Cutom Button) in Windchill 10.2?
Clik here to view.

Hi folks,
Want to add log out functionality (Cutom Button) in Windchill 10.2?
Is it possible to convert AutoCAD drawing files to PDF in Windchill without manual intervention?
The article https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS32402 says that a 3rd party application has to be used for this.
Does anyone know anything on how the automatic conversion of AutoCAD drawing to PDF can be done?
Does anyone have code that will require comments be entered before allowing a workflow task to be completed? I am looking at putting something in the transitions tab of that specific node, not global code.
User faces the issue of promotion request failing at times. The workflow gets stuck at the initial counter and does not proceed .This issue does not occur consistently
I want to use API to download EPMDocumentMaster, see the code as below:
package com.cisco.whichen2;
import java.io.IOException;
import wt.method.RemoteAccess;
import wt.method.RemoteMethodServer;
import wt.part.WTPart;
import wt.pds.StatementSpec;
import wt.pom.PersistenceException;
import wt.pom.Transaction;
import wt.query.QuerySpec;
import wt.util.WTException;
import wt.vc.config.LatestConfigSpec;
import wt.content.ApplicationData;
import wt.content.ContentHelper;
import wt.content.ContentItem;
import wt.content.ContentServerHelper;
import wt.content.FormatContentHolder;
import wt.epm.EPMDocument;
import wt.epm.EPMDocumentMaster;
import wt.fc.QueryResult;
import wt.query.SearchCondition;
import wt.fc.PersistenceHelper;
import wt.content.ContentServerHelper;
public class PartManager implements RemoteAccess{
public static void main(String[] args) throws Exception {
RemoteMethodServer rms=RemoteMethodServer.getDefault();
rms.setUserName("wcadmin");
rms.setPassword("wcadmin");
Class argTypes[]={String.class, String.class};
Object argValues[]={"29-8888-01.prt","C:\\temp\\"};
System.out.println(PartManager.class.getName());
rms.invoke("getEPM", PartManager.class.getName(), null, argTypes, argValues);
}
public static void getEPM (String epmName,String path) throws Exception{
Transaction tx=new Transaction();
tx.start();
EPMDocumentMaster cad = null;
ContentItem primaryContent=null;
if (epmName == null || epmName.trim().length()==0){
System.out.println();
}
QuerySpec qs= new QuerySpec(EPMDocumentMaster.class);
qs.appendWhere(new SearchCondition(EPMDocumentMaster.class,EPMDocumentMaster.NAME,SearchCondition.EQUAL,epmName) , new int[]{0,-1});
System.out.println(qs);
QueryResult qr = PersistenceHelper.manager.find((StatementSpec)qs);
System.out.println(qr.hasMoreElements());
while(qr.hasMoreElements()){
cad = (EPMDocumentMaster) qr.nextElement();
String fullName = path + cad.getCADName();
System.out.println("downloadFile>>>EMPDocumentMaster, writeContentStream:"+fullName);
EPMDocument latest = (EPMDocument) wt.vc.VersionControlHelper.service.allVersionsOf(cad).nextElement();
System.out.println("Get the latest version successful");
primaryContent=ContentHelper.getPrimary((FormatContentHolder)latest);
System.out.println("The primary content is:");
ContentServerHelper.service.writeContentStream((ApplicationData)primaryContent,fullName);
}
tx.commit();
}
}
The error information is:
com.cisco.whichen2.PartManager
Exception in thread "main" wt.util.WTRemoteException: Unable to invoke remote method; nested exception is:
java.rmi.ServerRuntimeException: Server exception; nested exception is:
java.lang.NullPointerException
at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:788)
at com.cisco.whichen2.PartManager.main(PartManager.java:36)
Caused by: java.lang.NullPointerException
... 2 more
Who can help me?
Thanks.
White
Can not enable the master site
I followed with great interest the discussion of who was in the LiveWorx, complaining that the PTC's focus has moved on IoT products by putting a little into the background CAD and PLM products.
So what is your assessment of this year's Liveworx?
Personally I appreciate that PTC is always looking for the very latest technology and the fact that wants to bring these possibilities in its products.
What I like less is that sometimes PTC seems to behave like children in front of a new toy putting the old in a corner and using it very rarely.
I would just point out a couple of cases as an example.
A few weeks ago I ran a search in Windchill to find old iterations of very heavy CAD objects and then perform the cleaning of all the old except the last iterations.
I used this feature many times in 10.1 and I discovered, with big surprise, that it is disappeared in version 10.2.
What makes me angry is the fact that PTC has decided to re-introduce this feature only with version 11 M010 and not with a CPS of 10.2
https://support.ptc.com/appserver/cs/view/solution.jsp?source=subscription&n=CS212734
Who the **** decided to remove this feature or who forgot to even bring it back to 10.2?
In this article you can find another example
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS202411
This issue has been reported since 10.0 M030 and it is planned to be released with 11.0 M020 !!!!!
I think it's crazy because this BIG issue should have been resolved immediately and not be considered as an enhancement.
Not being able to see a WTPart in the search results when it has an alternate BOM, if there are multiple views of the same part, it's like as if a person was going to buy a car and someone told him "You can choose from many options: with the steering wheel, the gear shift, the wheels, the engine" but could not buy it with all the options simultaneously.
Absolutely crazy.
There is some product manager who wants to explain to the community these choices?
Hello!
I'm trying to delete a team template using below code:
PersistenceHelper.manager.delete(teamTemplateReference.getObject()
This produces the below stacktrace:
(wt.team.teamResource/26) wt.team.TeamException: The MyTeam team template is in use. All uses must be removed before the MyTeam team template can be deleted.
wt.team.StandardTeamService$1.notifyVetoableEvent(StandardTeamService.java:307)
wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:312)
wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:263)
wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:288)
...
This exception does not give any cluses what is using the template but apperntly Windchill seems to know that it is used.
Does anyone know if there is an API to find out uses of a team template?
I have a feeling there is a generic way to do this...
Thanks and best regards,
Peter
Hi all,
Trying to get Change Management configured but we are having issues even with OOTB version: so CR is created and then in the next steps engineer receives email for example Change Notice Submitted as subject line then there is some Windchill generated text (Process Notification, Process, process desc, Subject object) THEN there is a generated by MS Outlook signature for given user THEN rest of the generated by WC info (Product Name, Product creator, Host Org etc)
So WC auto generated text , signature of user sending email via Windchill, rest of WC auto generated text -looks ugly and engineers are complaining that signature should be at the bottom.
I cannot turn off signature for all users.... Do not know where to start... Attached is example of this annoying issue
Thanks, Adriana
My company has been historically using Relex/Windchill for Reliability Prediction for years and we have had the licences for MTTR/FMEA etc but nobody ever uses them. In an effort to make use of these modules, we have decided to try them on one of our latest projects, however I am finding the MTTR module to be useless. In order to input task times, you have to pull them from a library. Why can't I define task times right in the maintainability window? What if I have unique task times for a specific unit? I have to put them into the library and pull them from the library to put them in the task tables.... This is very inefficient and seems so wrong that I can't imagine I'm even doing it correct.
So, I am hoping I AM doing it incorrect and someone can point me to an easier way to do the MTTR task tables.
Thanks.
Is it possible to create a report that would search EPMdocs or WTparts for related Problem Reports and return a list of objects that have more than say 3 PR associated to it? We do not have Cognos here and there are no plans to implement. Our service department fills out PR and sometimes we don't see that a part has more than one PR attached....one PR may not be a problem that needs a CR, but three over the course of a month or year definitely needs engineering to look at it. I need an automatic way of searching this information.
I have it 90% setup I think. When I activate the single sign on it bounces to my windchill server to login in. It then bounces back to my Thingworx server but I get an error. Error is to many redirects. I thought this might just be a browser issue but I have tried all the tricks for fixes I found on line. As you can guess they did not work. Any help would be great. FYI it does kind of work if I don't turn on single sign on. Although I my search results are hit and miss. I am on Windchill 10.2 M020.
Hi,
I have created a new library, and i am trying to save the burst configuration file to that library. But its not saving. I have been through the burst configuration file, everything looks okay. I am the Library Manager and Administrator on Windchill. Has anyone experinced this ? A couple months back everything was fine, i was able to setup Library, get the Burst Config in with OIR, workflows and Life cycles. Not sure what has changed.
Kind Regards
Ashona
Hi, I'm trying to learn the basics of the Windchill Quality Solutions software and I'm using the NPRD 2011 database.
I dont know what part number and data source refers. Lets name it, NRPD-805 and NRPD-24148 are both ball bearings for airborne environment with mil-spec qualities. They have different data sources.
How do I decide which one is more suitable? Which one reflects the bearing of the design in a better way? What data sources NRPD-106 or 25199-000 refers? There must be differences that I cannot see because operation speed, loading conditions are all important factors for bearing failure and I cannot see any specification on these.
Thanks in advance.
Is it possible to send package delivery to multiple recipients using BCC e-mails in order to hide recipient e-mail addresses.
Requirement: Send package content using only one delivery to multiple users in BCC mode.
Hi all,
Has anyone tried to setup Windchill to send emails using Office 365? If so, can you please let me know the procedure.
Thanks,
Bhagirath
Are there any training videos on reliability prediction
We have been testing the update from v10.2 M020 to v10.2 M030 on a cloned and rehosted copy of our production system, and have one last problem to solve with WinDU. Before the update, WinDU reports no errors or warnings but after the update it reports a block of PrincipalValidator warnings, like the ones described in CS125299 and CS186012.
We have loaded the latest patch set M030-CPS09 but that does not fix the problem, so the statement in CS186012 that the problem was corrected in M030-CPS04 appears false. We have been in discussion with our VAR and have had a support call open with PTC for 3 weeks. I gather that other customers have the same or similar problems with M030 WinDU.
PTC have just declared a Critical Bulletin for CS 222868 and recommend an urgent update to M020-CPS17 or to M030-CPS09, which would be preferable to avoid our users from having to update their WGM installation and discard all their local cache folders twice. https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS222868
Unfortunately PTC seem to be equally reluctant to solve the remaining problem with WinDU, which appears to be due to a change in how WinDU in v10.2 M030 checks the validity of Users & Groups in ADS, in particular the way it uses the binding user account credentials and/or the JNDI adapter url.
Has anyone else had this problem, and found the solution ?
Thanks in anticipation...
Nick
how to get workflow process name when create promotion request
such as following picture,
how to get selected workflow name "Error Flow", "PE_Production..." or "RD_CAD_Promotion..."
by API.
thanks in advance.