Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, Whenever I initiate an ESI transaction in Windchill, the status is immediately getting updated as "Succeeded" instead of going to "Pending". If anyone can shed some light on this, it would be very helpful. Thanks, Sha
This applies to Windchill 11.1 I have tried the following code which seems to to work for Creo family table instances, at least for some demo objects provided in the Windchill OOTB, but not for CATIA design table instances. For Creo this code works just fine for getting the family table object: EPMSepFamilyTable familyTbl=null;try { QueryResult results = EPMStructureHelper.service.navigateContainedIn(epmDocument, null, true); while(results.hasMoreElements()) { Object obj = results.nextElement(); if (obj instanceof EPMSepFamilyTable) { familyTbl = (EPMSepFamilyTable)obj; log.error("Found family table object " + familyTbl); } else continue; } } catch (WTException e) { log.error(e); throw e;} Is this the correct way to get family table object for CATIA Design table instance too ? Also, when I do get a f
I was working in a project where I should only show a particular subtype of Document in a table. I was putting my code for that and finally I got the table but the contents inside the table ie Name of the document or Number of the Document are not visible. Here I am attaching my code and I am sending the pic of that can anyone say what is the alteration I should do in this code to make my contents in the table. My Code: /* bcwti** Copyright (c) 2010 Parametric Technology Corporation (PTC). All Rights Reserved.** This software is the confidential and proprietary information of PTC* and is subject to the terms of a software license agreement. You shall* not disclose such confidential information and shall use it only in accordance* with the terms of the license agreement.** ecwti*/package com.ptc.training.mvc; import static com.ptc.core.components.descriptor.DescriptorConstants.ColumnIdentifiers.CHANGE_STATUS_FAMILY;import static com.ptc.core.components.descriptor.DescriptorConsta
Hello, Is there an API to make a copy of an MPMOperation ? Thanks,
Hello experts, I am new to Windchill and i am currently exploring the data model, it seems i cannot see all the relations(inherited and on class) on a Part or Document from the "Types and Attributes" page. I can see the properties but not relations, is there a different page or API which will get me that info? Thanks in advance.
Hi all, I want to fetch list of all checked out object by specific user through windchill API, can some one help me out? Input : UserName Output : Checked-out objects list Thanks.
We will host a live Expert Session: "Building Custom ThingWorx Navigate Applications using WRS and Navigate Components" on August 19th, 2021 11 AM EST Please find below the description of the expert session and the registration link. Expert Session: Building Custom ThingWorx Navigate Applications using WRS and Navigate Components Date and Time: Thursday, August 19th, 2021 11 AM EST Duration: 1 hour Host: Emily Larkin, PTC Product Manager Registration link: Register now As a follow on to the recent expert session Tailoring Windchill Rest Services to Build ThingWorx Navigate Applications, this expert session will focus on the ThingWorx Navigate customization architecture and how Windchill Rest Services can be combined with Navigate components to build custom ThingWorx Navigate Applications that meet exactly the needs of your enterprise. You're looking for ThingWorx Navigate Custom Application but unclear
Hello, I am a blind student at the LMU in Munich and in the upcoming semester we will have a project together with a big international acting german industrial company that uses Windchill. The company uses the front ends or clients that use embedded browsers (CEF or internet explorer). From a short test I was not able to use the accessibility functions so my screen readers where not able to connect and read out the content of the application like buttons, labels and so on. How does other people with disabilities use Windchill? Is there a way turn accessibility in this front ends on? Kind regards, Hans
LIVE WEBINAR From Author to IADS - How PTC Windchill can optimize your MIL-STD 40051 data creation, management, and delivery. If you have a contract deliverable for MIL-STD 40051, GPSL's new Windchill add-on module can optimize your 40051 data creation, management, and delivery. During this 30 minute webinar Christina Bergling and Ryan Lubben will demonstrate how 40051 for PTC Windchill will enable you to: Author and save your 40051 data directly into PTC Windchill, utilize preconfigured work packages for 40051, and set up automated workflow for trackable file sharing, review, and validation. Generate Repair Parts and Special Tools Lists (RPSTL) from LSA036 data saving weeks of effort and ensures data integrity between the RPSTL and your LSA solution. Create a Digital Thread to connect your engineering data directly to your parts information. Deliver your source content to your customer for PDF or IADS enabling you to meet your contractual requirements. Click here
Has anyone created a folder subtype so that it can have different attributes in a specific context (presumably also it's own OIRs?)? There's plenty of discussion on CAD Document subtypes and WTDocument subtypes... I don't see anything on Folders in any documentation. For context: A particular product context has some custom type attributes that we agreed would be best served at the Folder level. I can add the appropriate attributes and make them searchable but that impacts ALL of the folders. So at creation of a new folder all of the users would then see the custom type attributes that are intended just for one product. So my thought was that I'll just make a folder subtype and have that be the default for the particular context. But, alas, there aren't OIRs for a folder so... how do I make it default for one context and not for the whole site?
Writing code has always been something that David Graham has enjoyed. Coming from a Mechanical Engineering background, this developer consultant has always had an interest in figuring out what a customer wants and how to get there, thus specializing as a Windchill Expert to make it happen. “All this code writing is just solving a puzzle,” said David. “There’s a lot of interesting problems to be solved.” David Graham is currently retired but worked for PTC from 1994 to 2001. As an active member of the PTC Windchill Community, David takes the time to network with other developers and will post solutions to roadblocks others may have. You may have read some of his posts on Windchill workflows. Beyond the PTC Community, David consults on Windchill with clients. When writing code, he might take an out of the box workflow in Windchill and assist a company looking to automate by customizing it to fit their needs. When it’s done, it likely does not resemble the
Hello all, hope you are well. This is the scenario: I have a Product template with a folder structure created. Also I have a workflow where in some task the user has to save a document in a predetermined folder. Right now what I did is to put the location in the Instructions task: something like this: You have to create a document in the folder Product name>Folder1> Folder 1.1 > Folder 1.1.1 .... But I would be nice that the user just have to click that location and another tap open in the right folder. Someone knows if is possible inserting a variable? Thanks in advance for reading this post or writing any idea. Luis
Hi all,I have a requirement of driver and dependent attributes which is based on selection of one value from combobox other attribute values should get populated. I'm referring to this solution https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS64401.So I have created a data utilities class which is mapped to my driver attribute. And from that I can able to call my javascript function which I have added in jsp page.And that onchange validation also working fine. But my javascript function is not changing the value of other attribute.Here is my javascript function.<script type="text/javascript"> function customChangefunction(){ var target = window.document.getElementsByName("resultCombo"); var src = window.document.getElementById("sampleCombo"); var strUser = src.options[src.selectedIndex].value; alert(strUser); var colours = new Array('Black', 'White', 'Blue'); var shapes = new Array('Square', 'Circle', 'Triangle'); var names = new Array('John', 'David', 'Sarah'); switch
I'm using Creo 5 with Windchill 11 and when I open Creo, type in my Windchill username/password, I always have to navigate to "Server Management", right-click on the server and un-check the "work offline" box. Does anyone know how to have Windchill automatically start online when it opens? I've talked with other folks in the office and theirs automatically starts online and they never need to go to server management and un-check that "work offline" box. We are all using/connecting to the same server. I understand it's not a long process to go to Server Management and just un-check that box but was curious as to why I need to and theirs is online by default. Thanks in advance!
Hi all, we recently implemented the Afterloader as per CS216668 following option 2, its working as expected and copying our additional pdf files to the secondary content of the Drawing. We left the files types as "pdf stp igs dwg" So midway through the day I start getting calls from people telling me that their step files manually attached as secondary content to an EPMDocument were being deleted after checkin. We have a process whereby we create step files in Creo and save it directly to the EPMDocument, we save them with the naming convention <partnumber>_<version> (we dont publish step files as we often need to select different co-ordinate systems to export) So it looks like the AfterLoader code is deleting any secondary content which contains the same string of characters in the name as the EPMDocument, for example I have a CAD Part called 1234567.prt and it has secondary content, manually attached, called 1234567_V1.stp, after check in that step file attachment is gone
Hi all, i am desperately trying to get the items contained in a promotion request via REST api. What I have as input is the ID of the promotion request, for example OR:wt.maturity.PromotionNotice:124606188 It seems one should use /Windchill/servlet/odata/NavCriteria/NavigationCriterias , but I am struggling about how to get this with EPMDocPromotionNoticeConfigSpec and WTPartPromotionNoticeConfigSpec and wondering how to get documents / all items contained in a promotion request... Are there any examples / hints about how to construct the url to get closer to the items comprised in a promotion request? Best Regards
Does anyone have any insight or ideas on having a Windchill Part BOM Markup for Revisions? I am aware of doing a compare Part structure but this is only after the work is complete. Ideally this could be available on the change task. Any ideas that could be done for this with Windchill Rest Services potentially? Looking for anyone's current processes that are server/ data driven, not a excel file as that is what we are trying to get away from. Currently we are using Windchill 11. M020
For viewing ODATA Swagger UI in 11.0 M030 CPS18 you can use the Customiztion Odata Rest API link which navigates to URL https://<server>/Windchill/netmarkets/html/wrs/doc.html However the link below shows: Any suggestions on what is missing in the configuration to correctly open it?
We will host a live Expert Session: "Tailoring Windchill Rest Services to Build Navigate applications" on July 29th, 12h00 EST . Please find below the description of the expert session and the registration link. Expert Session: Tailoring Windchill Rest Services to Build Navigate applications Date and Time: July 29th, 12h00 EST Duration: 1 hour Host: Hemant Shadra - Principal Solution Architect Registration Here: https://www.ptc.com/en/resources/manufacturing/webcast/windchill-rest-services-build-navigate-applications Description: Most of the organizations have either already build custom app for ThingWorx Navigate for their business or the plan is at the top of their business strategies. Understanding the challenges and making strategic solutions to overcome those are very important. Many times, out-of-the-box OData services present in Windchill need to be tailored based on the specific requirements. This expert session will cover the customization ar
Hi All, I have written a checkin listener that should set a particular revision number (the iteration is not important) given a certain parameter passed by Creo (it is only done under special and particular circumstances). It only happens with parts and assemblies that are not already present in Windchill. This is the code I am using, QueryResult qr = VersionControlHelper.service.allVersionsOf((Versioned) epmDocument); long branchIdentifier = VersionControlHelper.getBranchIdentifier(epmDocument); String revisionRetrieved = "D"; while (qr.hasMoreElements()) { Iterated iterated = (Versioned) qr.nextElement(); if (iterated.getBranchIdentifier() == branchIdentifier) { MultilevelSeries mls = MultilevelSeries.newMultilevelSeries(epmDocumentMaster.getSeries()); mls.setValueWithoutValidating(revisionRetrieved.trim()); VersionIdentifier vid = VersionIdentifier.newVersionIdentifier(mls); //System.out.println("Inside vid: " + vid.getValue()); VersionControlHelper.setVersion
Has anyone done or heard of a way where WindChill can generate a Creo view mcad compare annotation automatically and attach it to a cad document or WTPart? We are trying to streamline our processes for change documentation. Thanks!
Hi, I'm working on finding and modifying the Hanging/Resulting changes from a resulting object of a change task. I've used an API call to find the resulting objects in a change task. However, I would like to accept/approve the pending/resulting changes on those objects after the change task is complete. There is a couple methods that sets the value of a changeable has a pending change or resulting change to true/false. However, I need to change it's Incorp status. Any ideas on how to programatically do this?
Hello community, hope you are safe. I have a big folder structure and a lot of custom roles. The idea is that 1 folder is only visible for 3 roles, and these roles change in every folder, so is a lot of work. So I created 3 Access Control Rules for every role that must have visibility where I used the option "All except selected participant" and select the option Deny Full Control (All) hoping that this will do the work for all the roles, but it seems that this doesn't work because the 3 ACR don't get along well. For what I see It seems is only possible to have 1 Deny Full Control (All) using the option "All except selected participant" because they cancel or mess the access to the visibility between the 3 roles. I came with the idea to create a set of ACR for every folder and there create 1 ACR for every role removing visibility (a lot of roles and folders), except for the 3 roles that must have access, but I could bet my salary there is a better and faster way to do it. &
Is it possible to get the relations of cascading attributes by API or DB ? according to this article not https://www.ptc.com/en/support/article/CS305741 and I can only find Not supported APIs in Grok
Hi, looking at returning resulting objects from a change task using PersistenceHelper.manager.navigate(Persistable arg0, String arg1, Class arg2 ). I'm not sure what should I use for the String arg1 argument. Hopefully it's possible to retrieve it with that api. I would imagine it would look like PersistenceHelper.manager.navigate(<theChangeActivity>, ?, ChangeRecord2.class) Just not sure what's the correct input there.
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.