Windchill
Recently active
Hi,how I can get the all lifecycle state name from lifecycletemplatemaster and lifecycletemplate right now I am running this query but it did not work for me, it just give me one lifecycle state nameselect LifeCycleTemplateMaster.name, PhaseTemplate.name from lifecycletemplate, PhaseTemplate, LifeCycleTemplateMasterwhere LifeCycleTemplateMaster.ida2a2 = lifecycletemplate.ida3masterreference and PhaseTemplate.ida2a2 = lifecycletemplate.ida3b9and LifeCycleTemplateMaster.name = 'Action Item';
Hello All, Is any way to create a Sequence under Operation type. OOTB Sequence is created directly under the Process Plan. Is any workaround/ customization feasibility to achieve this . Thanks, Vivek
I am looking for information on when SolidWorks MBD (PMI data) will be supported in Windchill. Any information on this topic is highly appreciated. A.
Hello, I set a new reusable attribute MFG (String, all identifiers set to just MFG). I added to the CAD Doc subtype and gave it a new enumerated list. The Internal name cannot have spaces... so I removed them and made all the manufacturer names one space free string. But for display name I entered them as they should be. I also put "MFG" next to the Creo:____ box which I believe explicitly maps it? I set my regular part and sheetmetal start files to include the same parameter "MFG" and set the parameter to "ADD MFG" for with the internal Windchill name is "ADDMFG". I checked in the regular part no problem. I checked in the sheetmetal part... problem. the error showed that all the legal values were the internal name on this. Yet the regular part checked in fine with the Display name. I set the parameter in the sheetmetal part to "ADDMFG" and it checked in... What am I doing wrong here!?
Usecase: I have an MVC Table like following: Is there a way to implement a Javascript function that calls an Action on doubleclicking a row in the first column. It should call the same Action like the following one: Thanks Alex
Hello everyone! I try to execute a post request, but get this error: {"error": {"code": "INVALID_NONCE","message":"A potential security problem was detected. Refresh the page and try again. If the problem persists, contact your administrator." } } I found this article: https://www.ptc.com/en/support/article/CS312447 It says that a token is needed, but I already added it and still does not work. Here is the request that I execute to get the token: http://server/Windchill/servlet/odata/PTC/GetCSRFToken() Here is my code for the post request: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import org.apache.http.HttpEntity; import org.apache.http.auth.AuthenticationException; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.ClientPro
I would like to hear from the people that have enabled WPA for their environment. How is it working? Has it provided any actionable recommendations? What were the results of those actions? Anything else that would be of help. I probably won't find this out but I'm curious how many use it.
I decided to tackle a large purge job on a single product area. It was way to large to purge in a single shot. The goal was to keep only 2 iterations of Released objects. I estimated there were 120K purgable iterations in just this area. I will paste some graphs and notes at the end but here is what I learned: If too large, try determining a threshold by adjusting the number of iterations to keep and slowly walk that down. Purge Parts and CAD docs together. Too many dependencies to leave out one or the other. Use preview - HTML to get a count of the total number of objects found. I did not want to exceed 11000 items in a single job. There is a preference to control this. Chunk - There is a preference that controls how system chunks purge jobs. So a 10000 object job chunked at 1000 objects will create 10 chunks. Chunks are random so if an item needed to purge first is an a later chunk, dependent objects will failed to purge. See here: CS206660 Chunk of -1 will b
Hello everyone! I get information from the server using the OData REST API.I have a global attribute, which is a collection: I want the server to return only one value from the collection when requested. In the request, I want to specify a value that will determine the desired collection value. I understand that such logic can not be written in the request. Therefore, I tried to implement this in the JavaScript domain file. I thought that it should be a function that first receives the values of the collection attributes from Windchill, matches them, and then uses the value passed to the function as a key and returns the desired value. I saw that in JavaScript you can use classes from Java: var EntityAttribute = Java.type('com.ptc.odata.core.entity.property.EntityAttribute'); But I do not know how to use the code to get the values of global attributes. I did not find documentation for odataWeb.jar (com.ptc.odata...) library.Tell me, please, how can I do this?Thank yo
Hello everyone! I tried to get the values of global attributes through RMI, I could not do it.Tell me, please, how can I do it?Are there other ways in java to do it?For example, through the odataWeb.jar library classes?Thanks in advance! Respectfully!
Hi everbody, do somebody have an experience with case when you need to convert JSON to Infotable, but when in JSON are two or more objects with the same primary key and you need this into one row of infotable? Example: from JSON: "results": [ { "MaterialNumber": "123456789", "Color": "Red" }, "MaterialNumber": "123456789", "Color": "Blue" } ] to infotable:
Is there any way to update in a massive way STATE value from INWORK to RELEASED for parts in Windchill? Thanks Josep
Hi all, We have enabled SSO on one of Thingworx Instance. Now we want to implement SSO for multiple Thingworx Instance. Is it possible to use same Ping Fed server and Azure Enterprise Application ? If yes, please share steps/procedure to implement it. Thanks in advance /VR
Hi. I need java api to get context-dependent "folder.id" from soft type OIR. I have soft type id looking like "wt.doc.WTDocument|ru.pts.TechDoc|ru.pts.DesignDoc". I found two methods: FolderContextHelper.getServerAssignedOIRFolder(typeInstance) FolderContextHelper.getPregeneratedOIRFolder(typeInstance) but they require TypeInstance and i don't know how to get it without object. There is posibility to get folder by PersistableAdapter, but the result is context-independent. Thanks.
We have family tables stored in a read-only product. When the family tables are updated, they're moved from the read-only product to one with write access. The family tables can then be checked out, updated, checked back in, and moved back to the read-only product. Moving the family table along with its instances facilitates the publishing of every version of every instance. This creates thousands of unnecessary items being sent to the publisher. How do I configure the publishing rules in the Worker Agent to prohibit this behavior?
Hello everyone! Please tell me the differences between Info * Engine and OData REST API.Which technology should be chosen and which one has great prospects? Thanks in advance! Best Regards!
Could anyone post a walkthrough on how to set up VS Code for Windchill customization/tailoring?
Hello,We work with windchill 10.2 and creo elements/direct modeling 18.1 and we want to load drawings (mi-files) automatic. Normally it should work with "sd-uwgm-element-load" from modeling with lisp programming, but I get an error "Illegal call to action routine”. For 3D files (sdac and sdpc) this works perfectly but apparently not for 2D files. Is there an other way to do this, or is it possible to change this command in modeling.Thanks in advance
Hi, I have 10 licenses ptc_navigate_author_named. But the problem is that I can't use any license If I see the User Groups, I have not a group "navigate_author_named_group. This group should be created automatically from LicensingSubSystem, is it right ?. Can someone help me, please? I am a newcomer to "Thingworx Composer." Version: ThingWorx 8.5.1-b90 " Thanks you
Hi All, We have Windchill Quality Solution (Risk and Reliability) connected to Windchill PDM Link through windchill integration. We imported latest BOM and created some FMEA data. We want to create separate FMEA data when are parts or product are revised so that we can see the FMEA for version A and for Version B separately. I found below in reference guide but this does not explain. if i sync BOM again with latest expansion criteria than it will replace the version in System Tree Item. Do we need to create separate Filters in windchill and system files based on version? Let me know if anyone has any idea. Thanks for advance.
I’m sure that many of you have come across slow-performing searches in Windchill, especially when using wildcards. It might be snappier if you have Index Search installed, but only when the Keyword: field is used; as soon as you enter something in the Criteria section of Advanced Search, the system falls back to basic database queries. Under the hood, the bulk of the time and resources spent during wildcard search is in database queries containing something like "..AND NAME LIKE ‘%mypart%’…", i.e. with filters that include leading and/or trailing wildcards. New functionality was introduced in Windchill 10.2 to deal with this. The basic idea is that, for a given business object type and attribute, a separate table is created in the database that holds indexed columns with substrings of the current values. Windchill can then do exact searches of these substrings without using wildcards, which speeds things up significantly. We’ll go through an example here to illustrate how to use it. &n
Hello, Just wanted to know when can I expect newer version of Windchill RV&S after 12.3.1. Would be better if had specific month. Thanks in Advance.
Is it possible to add custom validator for enabling or disabling "Check Out" actions in Search Result Table? Not able to retrieve searched objects through uiValidationCriteria method by extending default validator. Is there any way to customize it? As part of a requirement, we have to enable the Check out only to the authorized users of a WTDocument. The custom validators are implemented on the object properties but could not find a way so far to extend the same on the search results table.
Hello everyone! Please tell me how can I get the values of global attributes in a WTDocument using OData? Version of Windchill REST Services - 1.4. Now I can only get attributes such as number and name. Thanks in advance. Regards!
Hello folks, I'm trying to get the AfterLoader set up... when following the instructions for running the following javac -classpath %CLASSPATH%;%WT_HOME%\srclib\tool\Annotations.jar -d %wt_home%\codebase AfterEDRloader.java i get a invalid flag error... I'm a touch new... I don't think there are environment variables set on my install. What would my %CLASSPATH% be set to? Thanks for any help.
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.