Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
As per this thread - same question: @CHASEONHO did you get this part figured out... I'm fairly new to all this... I have my eclipse environment configured (I beleive) but have yet to figure out how to test code from it.
Hi everyone, Does anyone know of documentation or guides available to create a workflow expression to automatically save/export a drawing representation (eg. PDF/JPG) generated from the Worker Agent to an external location (locally/network drive) during a Lifecycle Change (triggering the workflow)? I've trawled through the forums but most of the information dates back almost a decade. Thanks!
What is the shortcut key to open debug tab in windchill ? (I have tried CTRL+ALT+F9, it doesnt worked)
Hi all. I am trying to get the display value for attributes in windchill which are not of type "String". I am using PersistableAdapter to load the attribute value with the internal name but that is not user friendly for display. I have attached an example of values I get from Modified by attribute
Hi, I have written code which generates a report and downloads the file once an action has been clicked. I want to upload that document to the attachments section of change notice or change activity depending on where that action was triggered from. Is there an API to upload the generated report directly to this section? Thanks.
Hi All,Trying to create a new sequence for WTPart subtype referring to Article - CS42301.A new sequence got created successfully. Replaced the sequence in OIR.When try to create new part it giving error: Could not find stored procedure'wt_get_next_sequence_xxx'.Anyone who has tried this could let me know the modifications to be done.Thanks in advanceRegards,Durga
I have a piece of code I would like to have triggered in a background process programmatically once an action is clicked. Can it be done without a configuration change? Else what would be the best way to achieve this? I also need to check if I can programmatically validate if my action is in the queue.
I am trying to retrieve display name for an attribute in WTPart or WTDocument. I can retrieve attribute values using the internal name of the attribute but would like to also get the display name using same process. Is there an API for this?
I'm making a call to ParseAndProcessResult and getting a NullPointerException. It seems to be a problem with the variable response in the following code. Does anyone have an example of what response should be? It seems to be an xml. postRestulInfo = XSLTransformer.applyXSL(response, new File(xslLocation), xslParams,XSLTransformer.XSL_PARAM_NAME_VALUE_SEPERATOR, XSLTransformer.XSL_PARAM_SEPERATOR);
How to delete all the WTParts and BOMs? In our development machine we have loaded SAP parts without taking a backup. we would like to wipe out the data and load again for testing. SAP parts weereHow to clean up WTParts and BOMs in bulk
Is there any API to get any object from a given number which is unique. it should show results of objects, for the given (any unique)number as shown in the advanced search.
Hello, I have question about Windchill & RestApi.My question is there any ready API for changing a attribute of WtDocument & Cad Document? I need to be understand about how can we started? I think that, first of all i need to be checked-out file, after that change attribute and it need to be checked-in. Thanks in advance
Is it possible for users to default to a custom navigation filter? We have defined a set of navigation filters using the manage filters option. Windchill 11.2 allows users to switch to a particular filter using the manage filters dropdown option. But this doesn't work when users navigate to another part structure. System automatically changes users filter selection back to 'System Default'. Instead we want to keep the filter selection permanently for users. We can't modify System Default and that affects every user in the system. Because groups of users like Designers and Mfg Engineers want to have different filter criteria/filters.
Hello All, I am trying to do customization in Information Structure in which I should show the Service Effectivity details of all the content in it as a table. As I was working on it, I was not able to find any describe link between Document and Content Holder. Can someone suggest me what describe link I can use so that I would be able to get my values? Thanks
What is the Exact Difference between limited pre validation and full pre validation in Validators?
Is there an API to retrieve the uses attributes in the part structure for WTPart? Attributes such as Line Number, Quantity, Unit, Trace Code, Reference Designator, Find Number.
Dear all,I'm actualy start a new manufacturing project, and I whant transfere PLM information's to ERP, and I need some help to finish corectly my project.Can you share me your feedback concerning the communication between PLM and ERP?PTC has a tool to do this ? if yes do you know the name?Or, if PTC haven't tools, and if I need external source, can you give me which bridge (or integrator) have you used to do this?How far have you send the informations (CAD / Article / BOM / MBOM / Process Plans / Instructions etc...)?Thanks
HiThis is my first post on this forum, thanks for any help! For changing a part in an subassembly in an assembly I am using the set state function from "released" to "in work" and this is working well. However, for the collector I would like to collect all affected assemblies "upstream" and use set state on these as well in the same operation. I have a button named "collect upstream equivalent part", but it seems locked by a setting and nothing happens when I click this button. Is the function of this button according to wanted solution? Where do I activate this button? This option should only be valid for administrator and should be set under "my preferences" then logged in as admininstrator? BR Arild
Error: ESI pre release : ESI ( 902 ) : Publish request for "01001, docName, A.1" is already active.Getting this error on Method server continuously.how to resolve this issue.
How to checkout via expand or any other option when updating a object / objects in windchill rest services 2.1 , ( Instead of separately checking out and then update )?
Hi experts, We have custom webjcets for creation of WTpart and WTPartUsageLink.These were able to use with no problem in Windchill 9.1.But the webject for WTPartUsageLink only when it updates multiple records(ex: a process is a update of one parent and creations of multiple WTPartUsageLink) in one transaction, no longer returns the process after upgrade from 9.1 to 11.1.The webject for WTpart (this process is always one record update in one transaction), and also webject for WTPartUsageLink when it updates one record in one transaction have no problem under Windchill 11.1.We have thoroughly investigated this webject's logic and it seems fine. We also checked property files(wt.properties and db.properties), but could not determine whether they were affected or not.Are there any other points we should investigate to help us resolve this issue?
Error message "RemoteMethodServer.invoke() called on default method server from within method server! Bad loopback code!" is displayed in MethodServer.log during part creation.Need a suggestion, to fix this Error message.I've attached the code snippet below for the reference, so pelase check it. Code Snippet:java.util.Iterator<CustomClassificationBean> iterator = getBean.iterator();while(iterator.hasNext()){CustomClassificationBean partBean = (CustomClassificationBean)iterator.next();userName = partBean.getUserName();}catch(Exception e){e.printStackTrace();}RemoteMethodServer remoteMethodServer = null;GatewayAuthenticator auth = null;Class[] argTypes = new Class[]{java.util.Vector.class};Object[] argList = new Object[]{getBean};auth= new GatewayAuthenticator();remoteMethodServer = RemoteMethodServer.getDefault();auth.setRemoteUser(userName);remoteMethodServer.setAuthenticator(auth);remoteMethodServer.setUserName(userName);responseData =(String) remoteMethodServer.invoke("cre
How can we automate purge files? Is there anyway to do it with OOTB
I have two lists of dynamic sizes containing child part numbers (first level BOM) of a part and its predecessor. I would like to print on pdf in the format of a table as shown below; list 1list 210031000100210021004 1005 The function I am using retrieves one list and populates the already created table using that list (itextPDF.PDFcell) See code snippets below;PdfPTable table = new PdfPTable(2);table.setSpacingBefore(8);table.setWidthPercentage(80f);insertCell(table, list1, Element.ALIGN_CENTER, 1, fa); // insert 1st columninsertCell(table, list2, Element.ALIGN_CENTER, 1, fa); // insert 2nd columntable.setHeaderRows(1);for (String value : list) {insertCellAll(table, value, fa); //insert rows} public static void insertCellAll(PdfPTable table, String text, Font fa) {// create a new cell with the specified Text and FontPdfPCell cell = new PdfPCell(new Phrase(text.trim(), fa));if (text.trim().equalsIgnoreCase("")) {cell.setMinimumHeight(10f);}// add th
As per this thread - same issue Hi rkumar, I too have the similar kind of need, where I need to fetch all the bom structure and get the custom attributes values that or on Usage link. Is there any way if i can get both the Link and wtpart or wtpart master? Let me know Thanks
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.