Windchill
Recently active
Does anyone know the syntax required to access the comments entered for each promotion object line on a promotion request? I have the syntax necessary to loop through each object in the baseline, but these are the actual EPMDocuments and don't contain the comments that are part of the promotion request (as far as I can tell.) wt.maturity.StandardMaturityService p = new wt.maturity.StandardMaturityService(); wt.maturity.PromotionNotice pn =(wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult pn_targets; pn_targets = (wt.fc.QueryResult) p.getBaselineItems(pn); wt.epm.EPMDocument epmDoc = new wt.epm.EPMDocument(); while (pn_targets.hasMoreElements()) { Object obj =pn_targets.nextElement(); String objType =obj.getClass().getName(); if (objType.equals("wt.epm.EPMDocument")) { epmDoc = (wt.epm.EPMDocument)obj; String epmNumber = epmDoc.getNumber().toString(); String epmName = epmDoc.getName(); String epmCADName = epmDoc.getCADName(); String epmVersion =
Hi, I am trying to rename a published additional file of pdf type and download it to local.I referred articles CS216668 & CS252900 that suggest using afterloader hook methods.I was able to rename the primary content of the published file from the attribute values but however am not able to download the same to local.The articles show 2 methods - CS252900 renames the primary content of additional file using attribute info but no provision to download the same CS216668 creates and saves a copy of the viewable as an attachment, renames it and is downloaded. I am unable to combine both, as in rename the primary content of the additional file and downaload the same. I tried creating a seperate workflow containing a 'download to local' expression at Released state for the published additonal file but was only successful the first time.For the next iteration published the workflow isnt triggered and no file is downloaded. Anybody has any thoughts on this?
Hello, This is my first article in this community as I just started supporting PTC Windchill in our company. We are facing a new challenge where we are segregating our activities in two network areas to enhance the security on our projects using controlled data. I would like to check with the community if it is possible to limit the access to specific parts based on the IP address of the client. Basically, I want users to be able to see controlled parts into an assembly only if they are in the right network area. Thanks in advance for your support!
I'm currently using Selenium WebDriver to automate testing for Windchill, and I'm running into a problem. When the authentication window pops up, it pops up as an alert. Since it pops up as an alert, I can't automate the input of the username and password. There's no functions that allow for it. Any tips on how to fix this? I'm using Selenium 3, Java 8 and Firefox 45.
Tell me please where to write the code https://www.ptc.com/en/support/article?n=CS150777 , tried many options, but failed nothing. Here is the code to add a table to the page Description How to add Promotion Objects to the Instructions field on the task's details page User should see all the objects being promoted on the same page to avoid multiple clicks for navigating to the Promotion Objects page How to add Promotion Target Objects in workflow Email Notification Resolution Create global variable (say var of type String) Before activity add expression robot Append string to have all the promotion objects' numbers/names In activity create local variable Use that local variable in instructions Following code can be used to get the promotion target objects wt.maturity.PromotionNotice notice = (wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult results = wt.maturity.Ma
Greetings, We have a PDF folder in Windchill that has many PDF's. Each one has many revs saved for each time we change them. I use REPLACE CONTENT. But it seems like you hav to do one at a time. Is it possible to do multiple? Release: 11.0 M030-CPS13 Thanks, WayneF
Hello, can you please tell me how to edit the templates? I tried to change the process template on the "Task" page, but when updating, creating a new "Promotion Request", the process did not change, pressing the "Check in" button did not help either
Previous post was marked as spam? Seems PTC doesn't want the word out that their programs don't work. Oh well, here we go again: I am running Creo 5.0.4.0 with Windchill 11.1 on Windows 10.1 This issue was first discovered while I was running Creo 5.0.0.0 on Windows 10.1. After upgrading to Creo 5.0.4.0, the issue was fixed for about a week. Since then, the issue has come back and I cannot check-in through the embedded Windchill browser on Creo. I have run into an issue where I am unable to check-in, revise, or set state of files when the operation is done from my workspace or Windchill Commonspace. However, I am able to check-in by opening parts in Creo, and using the manual File>Check-in option. At first I thought it was just being slow. I let it sit over the weekend and the loading wheel never stopped. It seems like the embedded browser is getting "stuck" after I click the check-in button on the embedded browser. So far, I have tried the following: * C
So I have completed the Customizing ThingWorx Navigate PDF and found it very useful, but not being a developer I am having a difficult time moving beyond the information provided. What I am currently trying to do is a search based on one specific saved search. In the training material we pull in a list of saved searches. I figured out how to limit that down to only global ones, but I would like to not have my users worry about selecting the type of search. How can I set this up to use one search.
HiI have two assembly on local disk. A.asm and B.asm is name of assemblies. These two assemblies have one child part only that is P.prt.What we want to do is that these three physical files need to be checked into windchill from Creo.For this purpose, I am opening a.asm and hence by doing auto check in, I got A.asm and P.prt with version as A.1 into windchill. I am removing both objects from workspace and memory of Creo. Next I am doing loading of B.asm and then I am doing check in. This gives me B.asm as A.1 where as it updates P.prt to A.2How to load all data with version as A.1 instead of A.2 or something else.Would be of great help if someone can help me to do this with steps to be followed.Feel free to ask for any query if I have not make query clear.
When we create a file in Creo and assign the pro_mp_mass to a parameter named Weight, we save the file and it uploads the weight to a Windchill attribute named Weight. We can see the value of weight in the Parameters screen in Creo in pounds, but in the Workspace. the weight has been converted to Kg. Where do you apply the setting in Windchill that weights are in pounds or at least in the same units as they are in Creo?
after moving to version A.3 how do you remove iterations A.1 and A.2?? i would appreciate any help that can be givenThanks in advanceBrian
I feel like I have posted on this topic before but just looking for a quick poll here. How many sites keep their CAD model, drawing and WTPart in rev sync and how many allow them to vary? It all comes down to your specific CM rules and numbering system but curious what other sites do. We have ours in rev sync and it has made things really easy. I would be interested to know at that site that do not keep them in sync, how you deal with keeping all the associations together especially with owner links and the like. Did you need to change some preferences in your system to not go batty.
Is it possible to increase the string length of custom attributes? I am using a custom attribute to list all of the item numbers associated with that particular document to make it searchable. The max string length is 500 which is too short for some of the documents we have. Is it possible to increase this to 2000 - 2500?
I'm curious as to if anyone has already upgraded to Windchill 11.2 or is planning on going to Windchill 11.2? We are looking at upgrading to it because of document classification, but someone told me to go to 11.1 instead which doesn't have document classification. Thoughts on this? Thanks!
Have seen this in the community already, so apologies for the duplication.Anytime our users click a hyperlink from an Office Product (might even be more) and they don't have an authenticated session established to Windchill through SSO, the URL is getting truncated. I have been round and round with our Web/SSO teams, PTC TS and the EDC, and we are still nowhere closer to a solution.I have seen a solution where the URL gets sent off for manipulation before going to SSO...basically encoding the # character...not sure how to do that or even if that will be acceptable in our landscape. Windchill and SiteMinder softwareRE: Hyperlink ShenanigansAnyone else experiencing this and have any inputs/solutions?
Hello, How can I get an email notification(subscription) when anything like folder, wtpart, document or cad document is created or shared from one product context to to a specific project container? Can anyone provide detailed step of this??
I wanted to display the group name of the user as the name of the action.
I created a report to find out when a user last logged in by using the "Audit Record" table. Now I want to filter out any user that is in a specific group. This group is called "Deactivated" and it would be the only group they are in if they are in fact deactivated. How can I create this filter in my report? I tried putting a link the Audit Record table to the "User" table but it won't let me create one.
I'm new to this forum and looking for information on how to get started with the Windchill API. It is very difficult for me to get started. A few words in advance: I have been working as a designer with Inventor since 2008 and started programming Inventor at that time. Meanwhile I have also developed and released some Inventor apps. With VB.NET and VBA I know my way around. My previous searches didn't give me a clue where to start. Which references do I have to set and is there somewhere a reasonable manual with an example. I checked the eSupport and found a lot of documents, but nothing that really helps at my actual point of skills. I’m not a Windchill administrator, only a user with some basic knowledge. Now to my request. I want to check from an Inventor add in whether a file is checked out in the workspace or not. What is the workflow and required tools to achieve the need information? Is there an API object tree to get an overview? I’m quite sure this are onl
Hello all,I have an ICN that is succeded as shown in Windchill. But when I check in KBM, there was nothing published. I can also see that the objects in resulting objects table are still in Approved state. This is wrong because once ICN is succeded, then all the state of the objects in Resulting objects table should be changed to Released State. Can anyone please help me how to publish these objects to KBM and why thus error occurs??
In setting up WTparts for Creo CAD files, we have the Number set to the name for the CAD parts. Not sure if this is OOTB or something in the OIR. When I check in with Auto Associate, I get the WTpart with the Name being the same as the CADpart name, but the number is a sequences driven number. We want the number of the WTpart to be the same as the name, just like the CADpart. I have looked at the OIRs for the existing system and both have references to a sequence number, so not sure what is overriding that. Is this a setting in Preferences? I know I can turn off file extensions for the number, but this causes a conflict with drawing files. The part or assembly get checked-in and the file extension is dropped, but when the drawing goes to be checked-in, you get a must be unique warning. Is there some way to do this, too? Windchill 11 m030 CPS16
Hi,I have a part that was created in the active window of an assembly, I used that assembly simply as a reference for some of the geometry created on the new part (hole locations) and that assembly has been deleted and removed from the session and windchill. I am now unable to check in my part because it says “cannot check in place holder document Assembly” then it names the assembly that I used as a reference which is now non existent. Is there any way to break off my parts dependency to this nonexistent ASM? Am I doomed to never be able to check in my part because it is tied to this deleted ASM? Surely there is a way that Creo can just redefine the holes in the exact location they are in and get rid of the necessity to be tied to the reference upon which the holes were created. I know the holes used that ASM as a reference but surely a computer program can just keep the holes in the exact 3D coordinate space that they are currently located in without needing to tie it back to the ref
Is it possible to Create 1 ECN that refers to or encapsulates many ECRs raised on the same item. I have several ECRs raised on the same document. Currently 1 submission / approval of ECR creates 1 "Create Change Notice" task in our Windchill 11.2 system. So I get a new document revision for each change request/ change Notice. I only want to have one revised version of the document for the multiple change requests. How do I do this???
Has anyone installed the Windchill Enterprise System Integration ( WC11.1_ESI_BusinLogicSAP_MED-60420-CD-111_M020) on a Linux VM successfully? We are trying to install ESI on a
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.