Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 12.1 Description: I need to retrieve 3D thumbnail image for given Part. Looks like it is possible using Windchill OData Rest APIs.can someone please let me know how to retrieve it in Windchill server side utility? Is it possible to bypass the Authentication as we are invoking from Windchill server side.
I am experiencing a critical issue with generating Manufacturing Objects in Windchill 12 using the MBoM Loader. This process worked correctly in Windchill 10 but is now failing in Windchill 12.Process : I use a custom XML file (GEN.xml) to create manufacturing objects via command line and MBoMGenLoader.Command used : ( windchill wt.load.LoadFromFile -d path/GEN.xml )Issue: The XML file imports successfully with no errors reported in either the Method Server or Background Method Server, but the manufacturing object is neither created nor visible in the Windchill interface.The handler method specified in the XML (handler.createMBoMGen) is not being executed at all.DTD file :GEN.xml :Why is the handler (handler.createMBoMGen) not being executed during the XML load process ?I appreciate your prompt response.
Version: Windchill 12.1 I want to create a customized view in the 'view' section of Windchill tables. Instead of showing objects created by many people in that table, I want to see only the objects created by the current user. How can I achieve this?"
Hi Everyone, I am trying to set Classification attributes on a WTPart for windchill 11 M30 CPS 14. I already have the binding attribute set, I am just having trouble setting the attributes. I was able to get this to work using the PersistableAdapter and using the AttributeTypeIdentifier's toLogicalForm()) on my local install of Windchill 11 CPS15. However this doesn't work on the Client's CPS 14 Windchill because toLogicalForm returns null. I am not sure if this is a bug in CPS14 or if I am going about saving the attributes incorrectly. /*** * @param workable - The Object being updated* @param bindingAttributeName - This is the name of the IBA for the classification binding * @param classificationNode - this is the name of the Classification Node to set into bindingAttributeName* @param attributeValueMap - <String,String> = <attribute name, value> - classification attributes and values.* @param leaveCheckedOut - use t
Do we need customization for Major and Minor revision or there is an OOTB feature in windchill 12.
Version: Windchill 11.2 Use Case: Just trying to read/modify Assigned Item Expression which is assigned to a WTPART, in the workflow and then i'll just assign expression to wtparts via workflow.Description: Hi there,First of all, I need to explain our daily use of Item Expressions. We usually assign an expression to a WTPART using the Assigned Item Expression. When I do this, we first move the WTPART to the Library where the Option Set is defined. We're using "Assign Advanced Expression" to assign the expression to the WTPART.What I am trying to do is print the Assigned Item Expression assigned to a WTPART in the workflow and then assign the expression to WTPARTs via the workflow. However, since this “Assigned Expression” attribute is a calculated value, we cannot retrieve it directly. We need to print it by capturing the relationship between the Option Set and Choice with the WTPART.There is a topic about obtaining Usage Expression in the forum, but with usage expression, this ex
Hi Everyone, I have Activity number and change notice number as well and I can use simple query on WTChangeActivity2 to get activity as object but I want to enhance Java query spec so How can we append 2 classes WtChangeOrder2 and WTChangeActivity2 and query for the activity object from specific change notice using number
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.0i have created the infoengine based webservice. While running webservice client i got the below error in windchill shellException in thread "main" com.ptc.jws.service.org.myorg.mathservice.Exception_Exception: com.infoengine.exception.fatal.IEForbiddenExceptionHere are the errors that I facedException in thread "main" com.ptc.jws.service.org.myorg.mathservice.Exception_Exception: com.infoengine.exception.fatal.IEForbiddenException
Hi, If there is a Custom API Developed in Windchill, where does it show in the WRS? Thanks,
Requirement is in Report I want same structured Description as I have on CN : --> I have Description on CN like :This is New CN to make Changes in Part ,• Do the Proper Marking on Parts• Update the associated parts as well --> Output I am getting after using that API is :<p>This is New CN to make Changes in Part ,<br clear="none" />• Do the Proper Marking on Parts<br clear="none" />• Update the associated parts as well</p><p> </p> --> For that I am using below API but it is not working as expected : HTMLTextFilter.filterHTMLText(cn.getLongDescription().getRichText().toString(),"com/ptc/core/richtext/jasperrichtextfilter.xsl", true, false);
I have project object with me and how can get plan from the project object in windchill. is there any api to this ?
Created a custom action however its currently being hidden.
Version: Windchill 12.0 Use Case: Need help completing my bash script to compile java files. Currently having issues with windchill class not found exceptions, I believe I need to include the .JAR files into the classpath, but am not sure how to do so.Description: Here is what I have written so far, the javac $file command is leading to class not found exceptions since I haven't included the JAR files: I saw this article that briefly talked about how to do https://www.ptc.com/en/support/article/CS324171 But I am using more than one jar file, probably about 50 in total. Need help figuring out what to do with them.
There are various API variations, such as POST, PATCH, and GET, for attachments in WTDocument within the REST APIs in WRS to perform operations on the document. My question is: Can we access the attachments in the drawing located in CADDocument through WTDocument? If so, can we replace the document there, such as a PDF file, with another file? If we can do this, how do we establish this connection?
Version: Windchill 12.1 Use Case: Uploading CAD documents generates a sequence (00001234) number instead of name.Description: Our windchill system has always been setup such that any files that dont auto associate to existing parts are assigned a 10 digit sequential number. How do I change it so that files checked in are are given a number the same as the model - ASM001.asm associates to a part with the number ASM001 instead of 00001234?
How can I download primary content throug API? We are building an internal tool and are trying to extract EPM Document primary content and metadata from Windchilll PDMLink 13.We've tried with REST API, but could only extract metadata, without primary content.Can anyone point me to the right API that can be used for this purpose?We are also planning to create CAD Documents/Upload Primary content to them, so that is also something that we need to work on. Any kind of advice will help.
Version: Windchill 12.0 Use Case: Requirement : Need to set Release Target Programmatically for Resulting Objects.Description: setTargetTrasition() is there but not getting a way to set Release Target.Currently I have CN , CA and when I try to get change Record that time getting class cast exception for any object.
Version: Windchill 12.0 Use Case: Need to add logic to set the subtype of the wtpart based on an attribute value selected by the user on the save-as page.Description: Is it possible to get the attribute values selected by the user on the save-as page in the CopyWTPartDelegate? I have successfully extended the default CopyWTPartDelegate with some custom code, but I can't figure out how to get a string value that the user enters/selects on the save-as page for an attribute and use that value in my CustomCopyWTPartDelegate.Article https://www.ptc.com/en/support/article/CS28799 states that custom attributes can be set on the save-as page since 12.0, and I have confirmed it. I have also seen that a listener approach may not work for this purpose: https://www.ptc.com/en/support/article/CS408331. I haven't tried it yet.
Hello,can anybody have a hint of what am I doing wrong? I am trying to create subfolder in the Windchill, using Postman application but all I got is the message "The syntax of the JSON document is not valid.".The query is POST:https://<myserver>/Windchill/servlet/odata/v5/DataAdmin/Containers('OR:wt.pdmlink.PDMLinkProduct:169546')/Folders('OR:wt.folder.Cabinet:169590')/Folders('OR:wt.folder.SubFolder:248107')/Folders and the body is: (the example is from WIndchill REST Guide 2.4 page 466.{ "Name": "NewFolder", "Description" : "Desc",} the headers are: Also, Authorization is done using wcadmin account.I tried different data in json body but without luck.Does anyone have a clue what is the problem? Best regards!
is there any api to get only parts which are present in part structure tab or any other way if api is not present. for reference see the pic attached below.
Version: Windchill 12.1 Use Case: I need to gather user inputs in a Wizard. Description: Thanks to @avillanueva and @BjoernRueegg and this post https://community.ptc.com/t5/Windchill-Customization/Likely-very-simple-question-about-input-on-wizards/m-p/865207#M1969%3Fsource=search I am in the process of creating my own AttributePanelConfig. My problem is that I can't find the right combination of ComponentType so the label and the input are aligned horizontally. So far all I can get is aligned vertically. Screenshot of what I am getting: and screen shot of the ootb New Part wizard attributes, note the Label and the input are aligned horizontally, which is how I want mine to look like: The following is what I am using for buildComponentConfig() and buildComponentData() @Override public ComponentConfig buildComponentConfig(ComponentParams params) throws WTException { ComponentConfigFactory factory = getCo
Is there a way to update a PDF in a CAD document with a PDF in a drawing using a REST API in Windchill? If so, which API should I use? Could you provide me with information on this?As an example, how can I update the PDF indicated in the image?
is there any helper classes for BaseLinedPlan and BaselinedPlanActivity in windchill
Hi avillanueva, Hi took Affected Objects from getChangeablesBefore(); but now I am facing an issue to get On Order, Disposition comment Work in progress and Finished. To take get these values I am using AffectedActivityData affectedActivityData = (AffectedActivityData) Object; but its not working. Please help .
Version: Windchill 12.1 Use Case: Fetch all the Family Table data corresponding to a given Generic/Instance CAD part.Description: We want an Windchill API to fetch the cell values of a FamilyTable/FamilyTree corresponding to instance/generic CAD document.
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.