Windchill
Recently active
Hello everyone AND PTC,The context:Global numbering scheme for all EPMDocument. Our policy is to automatically allocate a sequential number to any new CAD file created. The EPMDocument get assigned the same number than the cad file without the extension. This is unique across our entire Windchill regardless of the context. Our business process is so that Number (Part number) is generated when creating the CAD. This number is then unique across all other systems such as ERP.That is, if I start creating a new part for a new design in a project, the Number is allocated "forever".When we were with Windchill 9.1, everything worked perfectly fine. We could create new CAD/EPMDoc in project, send them to PDM without the number being changed (users could not change it and the system did not change it all). We upgraded to 10.1 M040 in June 2014. During testing we noticed that Windchill behaved differently. When an EPMDoc is created in ProjectLink and send to PDM, Windchill allocated a new
Looking for guidance on SQL query to return BOM of a given assembly file from the Oracle DB. We are NOT using WTPARTS (I've seen the multilevel SQL query on the forum that uses the WTPART tables). Single level BOM would be fine - don't need multilevel. I want an on-demand query from our client (so I want the operators to have to open windchill to export a BOM). Is this reasonable, or am I not even asking the correct question?
I'm trying to run the following code public class QueryGroup { public static void main(String args[]) throws WTException { QuerySpec qs = new QuerySpec(WTGroup.class); SearchCondition sc1 = new SearchCondition(WTGroup.class, WTGroup.INTERNAL, SearchCondition.IS_FALSE); qs.appendWhere(sc1); QueryResult qr = PersistenceHelper.manager.find((StatementSpec) qs); } } and getting the following error. Please help. D:\ptc\Windchill>windchill sh.QueryGroup Exception in thread "main" (wt.fc.fcResource/0) wt.util.WTException: The operation: "find" failed. Nested exception is: wt.util.WTRemoteException: Unable to invoke remote method; nested exception is: wt.method.AuthenticationException at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:810) at wt.services.ServiceFactory$ClientInvocationHandler.invoke(ServiceFactory.java:349) at com.sun.proxy.$Proxy1.find(Unknown Source) at sh.QueryGroup.main(QueryGroup.java:18)
Hi everyone, I am looking to see if there are ways you guys know of to make the "content" link the default association type when performing an association to a drawing. We are currently using Windchill 10.1 M040, however we will be moving to 11 soon, so suggestions for either version would be appreciated. I tried first setting "create content links for drawings" preference to "yes", however this just removed the ability to have users select "calculated", and it only defaulted to "Contributing content". So, the users still have to manually toggle almost all drawings to "Content" anyway, with the added negative of being unable to select calculated. Thanks!
Hello,who can explain me the difference between content link and contributing Content together with a exsamlpe for both to Show in which Situation you choose which.Thanks in advanced.Heiner
How can I get a object inside a Promotion Request revised when the Promotion Process is sent for rework? I tried to add a expression robot as below but I still couldn't get the object revised. I added this to the default promotion approval process next to the stage where the targets gets unlocked once the rework loop starts. I set the preference to auto revision mode and selected In Work in the state preference since that's the state the object is in when it will get revised. wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;java.util.Locale locale = wt.session.SessionHelper.getLocale();com.ptc.core.ui.validation.UIValidationResultSet set= com.ptc.windchill.enterprise.maturity.PromotionNoticeWorkflowHelper.revisePromotables(pn, pn.getCreator(), locale); The Process Monitor does not indicate any errors and says that the expression got executed.
I am building a new Windchill 11.0 m030 CPS08 system. Revisions is my current task to tackle. OOTB, adding a document to Windchill, it comes in as revision A. Yet, when I look at the XML file for revisions using the command: java wt.series.LoadFileBasedSeries -read, I get a file that has numeric revisions at the top and then Alphas. The OIR has: <AttrValue id="MBA|versionInfo" algorithm="com.ptc.core.foundation.vc.server.impl.VersionInfoGenerator"> <Arg>wt.series.HarvardSeries</Arg> ,/AttrValue> What file is driving the revision scheme OOTB and what changes are needed in the OIR to use my own scheme which is alpha first, then numeric? I also found the option to specify an alternate initial revision. Does using this create a drop down menu that would allow us to choose rev A or rev 0 as the initial version. Is there more coding needed in the OIR to enable a version choice?
Hi, while going through the Type and Attribute Manager for Attribute, found a "Available Attribute ID" field, but on help page not found any thing related to this. if you know, please explain the purpose and where and how this field is useful in Windchill. Regards, Vivek
To. Mike How to populate a drawing table with values like Approver, Approval Date from a promotion request approval
Unfortunately, all examples I have seen assume too much background knowledge. They are not for the beginner. Where is the "Getting Started Guide for Developing Windchill Event Listeners"? We need to know: 1) Where to put the source code? 2) Which package to use? 3) Which jar files to include? 4) How to compile it? 5) Where to put the class file? 6) How to register it? 7) How to use xConfManager to update wt.properties? 😎 How to restart Windchill so MethodServer will find it at startup? 😎 How to test and debug the code? The closest thing I've found is Windchill Customizer’s Guide (9.1 MR070): http://support.ptc.com/WCMS/files/138024/en/WCCustomizersGuide_M070.pdf#_ga=2.255790208.900687055.1528834530-397374203.1508768675 It is an older version when PTC used to support customization. Unfortunately, they now refuse to support it in the versions since then and even obscured all the figures in above document, presumabl
PTC Navigate Thingworx Windchill App Development I have created this PowerPoint to help get started with PTC Windchill Connector & PTC Navigate. It has Windchill Connector Installation overview, component required to install Windchill Connector / PTC Navigate. How to use out of the box Windchill Restful webservice in Thingworx / PTC Navigate. How to get started creating your own custom app. Please share your feedback on this documentation.
Hi All,i need to extarct all Groups, Group Member and user related information in tabular manner by using java code.Please any one give me some idea how i can achive this requirement.Thanks,Vivek
Like clockwork, someone posts to the world "How can I get all the current membership of Windchill groups?" (exactly what is seen at Org, Groups) for the most part, although this ignores Site-level groups, Since this info is stored in LDAP, it's not available using Windchill reporting. Most new admins are shocked that there is no practical way to dump current Windchill group membship to a spreadsheet. We're still shocked at this as well.Today PTC posted CS50075, which lists an API which can be used.Long ago we paid for a custom class which returns the needed info, but don't quite know how it works and don't have the source code.Does anyone have a practical application of the API listed in this Case Solution?
Hi Everyone, Need help on Understanding windchill services.kindly any one describe me about Event listeners(calling listeners from java Script, the types of listener events like WorkInProgressServiceEvent,wt.fc.PersistenceManagerEvent etc...). we don't have enough explanation of Listeners in Customization guide.
I am getting this error frequently, Method Server goes into loop and never come back after heavy logs size.Error is: commonScheduleQueue.SchedulingThread: ERROR : wt.queue.ScheduleQueue.commonScheduleQueue - Sat 11/17/12 15:34:45: commonScheduleQueue.SchedulingThread: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:Sat 11/17/12 15:34:45: commonScheduleQueue.SchedulingThread: Nested exception is: wt.pom.DatastoreException: A SQL error has occurred for the statement "UPDATE ScheduleQueueEntry SET args=?,classnamekeydomainRef=?,idA3domainRef=?,endExec=?,entryNumber=?,entryOwnerIsNull=?,classnamekeyB5=?,idA3B5=?,failureCount=?,inheritedDomain=?,datelock=?,classnamekeyA2lock=?,idA3A2lock=?,notelock=?,classnamekeyA6=?,idA3A6=?,classnamekeyA5=?,idA3A5=?,scheduleTime=?,securityLabels=?,startExec=?,statusInfoIsNull=?,codeC5=?,messageC5=?,rescheduleTimeC5=?,targetClass=?,targetMethod=?,markForDeleteA2=?,updateStampA2=?,modifyStampA2=?,upda
We are working now a couple of month in PROJECTLINK.Because we can not revise and promote easy in ProjectLinkwe want to move the data to PDMLink.With "Send to PDM" we can move the data but we are loosing the historyand the revision of the parts are again on "1.0".Is there a way to move the data without loosing the history and the pdm revision? thanks for the help. Bert Busschers
Hi All, If I have some 1200 parts with me in an excel file and if I had to raise a promotion request for all those parts and get it approved. How would I be doing it ? Do I need to develop any utility for that ? If yes Can you please let me know about it. Thanks and Regards, Aditya
I have a large collection fo PDFs and I need to set them all from "In Work" to "Released" state. If they were all in the same folder this would be a simple action but since they are all in different file trees the only way I have been able to get them all together is using the search. For some reason the search function will not allow me to select more than one and "Set State." The action is just not there when I select more than one. Is there a way to do this? Why is it an allowed action to individual objects but I cant do them all at once??I can provide screenshots and more details if needed.Thanks!
Hi There, per default our Windchill 11.0 M030 displays real number attributes on the information page with 12 digits after the comma like seen on the attached screenshot. Is there a way to format the numbers to a given precision? Many thanks in advance. Best Chris
So I am trying to set up Log Rotation for the access.log file with Apache. I am by no means an Apache or web server admin of any type... so not really sure what I'm looking at. I got the log rotation to take action by adding this line to the httpd.conf file: CustomLog "|bin/rotatelogs.exe -l D:/ptc/Windchill_11.0/HTTPServer/logs/access.%Y.%m.%d.log 86400" common This has resulted in the creation of the daily access log file like I wanted, but it is also still creating the single access.log file. See picture attached... How do I get it to stop creating the access.log file and only use the daily rotation log?
Hi All, I have a part structure where there is one document added twice to that part structure with two different versions. Likewise If Part A is an End Item I have Document A added to the part A and Document A has got a version of 2.1. However the same Document A has been added once again to the structure where it has a version of 1.1. So within a part structure there is one single document with multiple versions. Now I wish to validate the part structure and display a message(Like a dialog box or a error box) to the user stating that a previous version of Document is there in the part structure and it should be updated with that of the most recent version. How can I be achieving it. Can someone please let me know about it Thanks and Regards, Aditya
Hello, I am using Windchill Quality Solutions 11.0 for FTA(Fault Tree Analysis). My calculation type is Lambda Tau, to get the failure rate and time for it. With this type, I can calculate the Unavailability(Q), which is probability of failure. But what I really want to know the the failure rate(lambda) and exposure time(tau) of it. I guess there might be way to get these values on FTA function, but I can not find it so far. Please guide me how to get it with detail instruction. Thank you.
Hi all,Can someone guide me whats the basic knowledge that one should have to start learning Windchill Customisation?I have working and implementing knowledge on the concepts of Windchill and Business administration with a fair knowledge on Java Programming, but still I don't understand how and where to use the Windchill API that are there in the documentation.Thanks in advance.Amar Karthi.
Hi all, I am trying to add approved and rejected routing options in the promotion request review task by creating routing commands in workflow template but I am not able to display those routing options in the task object. Has anyone tried creating this? How to add routing options in the task completion area?
Hi @all, i have the following Problem that you can see on the Picture. In the PartListAccessAppMashup i have add some parameter. What am I doing wrong ? Thanks for any answer
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.