Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello Friends, I need to validate MPMOperation attribute at Uses tab (Process Plan Browser Structure tab). As I know, Data Utility can be used in case of normal Create/Edit Page of an object, where as same data utility can not be called from Uses tab of Process Plan Structure page. I thing it works based on GWT components. Do you have an any other idea? Snapshot is attached where am updating the an attribute.
Creating new objects in Windchill utilizes an Object Initialization Rule (OIR) to preset certain object characteristics. These include the object number, folder, versioning rules, team for access and some others. The OIR is an XML formatted file that is used to define the object characteristics at creation time.PTC has specified certain rules with in WIndchill that allows customers to modify the OOTB rules for creating files so they can be tailored to each company’s needs and requirements. The one rule is critical in making the system work for each customer is that a lower level OIR will override a higher level one.Let me explain the hierarchy of OIR rules, which also applies to other default settings. When Windchill is initially installed, PTC loads OIR files at the site level. The site level is the top of the WIndchill tree. These XML files are instantiated down through lower levels, if needed. When installed, WIndchill creates an Organization level of files. This sits below the site
Is it possible to hide a parent object type but leave the sub-type visible and instantiable? I'm exploring the possibility of using sub-typed WT parts for a particular project I'm working on. For testing I've created two different sub-types, both with unique attributes. (We don't currently use WT parts for anything else.) When I go to create a new part, both the original parent WT Part and my two sub-typed parts are visible. I'd like to limit the selection to only my sub-typed parts and not display the parent type. If I make the parent type not instantiable then the sub-types disappear. Is there some other way to hide the parent type, or make it not instantiable, while still retaining the two sub-types? Maybe something with OIRs???
When we set up our production system at Windchill 8, we built a state.rbinfo text file in the wtCustom folder structure, then used an ant command to build it into Windchill. I am building a new system and need to add a new lifecycle state, Searching PTC.com comes up with CS223984 (which is basically useless) and CS422321, using enumCustomize utility to directly modify the StateRB.RB.ser file directly and then run the ant MakeJar command. Which method is best for adding enumerations to the system? I know the rbinfo file method still works. Windchill 11.0 m030 CPS08
Hi All, I am new to Windchill. In promotion request i have the subtypes. I would like to know how can i get the type of PR from Promotion notice persisted object? Thanks in Advance Regards Harini
User wants to create a document and specify a review date. The workflow needs to send out an email 60 days before the review date and the day of the review date. The catch is that the review date may change after the document is created. I tried using a timer to wait 5 minutes and then called a java method we wrote to see if the date had changed but that was overloading the workflow manager because of the volume of active documents. I could drop the timer and implement a java loop until the appropriate date but there are concerns this would move the pressure to the method server. Is it possible to send emails based on a date attribute that can change without pressure to the system?
What is the best method for copying workflows, lifecycles and teams to new names at the org level? We are building new Windchill systems and need to take the default workflows, lifecycles and teams and copy them per the Best Practices so any PTC changes will not overwrite our modified ones. There is no copy and paste like other elements to make the process easy. Export and Import after editing the XML?
I have created a wizard using attachments tags. <attachments:fileSelectionAndUploadApplet/> <attachments:primaryAttachment> I am able to display browser option on wizard. How to get that file on form Processor?
How to increase time of yellow color highlight when completing without filling mandatory attributes
Hi all, I want to know how to realize the function with QuerySpec or other measure same as SQL statement of "select for update".I found "qs.setLock(true)" api, but according to TS it is unsupported api. backgound:Target class is created with Information Modeler to manage specific list of numbers. Stored numbers on the database table need to be exclusively used with WTPart each by each. So I want to update the column which means processed flag when a record is used. I think a record should be locked when it is extracted first.
Hello, I want to create a WTPart part object using Rest API. This is possible, but I am not able to provide a specific subtype name. I can not found any Odata for that. Can any one help me with an example to create part of subtype using REST API ?
Hi, After a fresh install of Windchill auto generated numbering starts with 10 digits: 0000000001 And versions/revisions with a letter: A, makes 0000000001 - A I'm setting everything up but I would like to change 2 things: 1. numbering that starts with 7 (as 0000000001 and up is already in use): 7000000001 2. revisions start with a number, no letter: 70000000001- 00 This on organization level, but as XML is a new world to be it seems like it is really hard... Not something that is quickly done? Please help, I'm quite stuck and as long as this is not set up, I can't get Windchill to use. Thank you!
Hi I need to export the attributes of a particular "BOM part", it's associated attachments (like specifications, guidelines...) and it's BOM (if it is as assembly). The sample format that I am attaching herewith. I know that Report builder can generate a nice report with all info needed. But from there to bring to this format, I need to build macros inside Excel. But is there any document/method to take query report definitions and pass to some script to generate this report? or directly (without going through query builder?). Thanks Ravi
I want to fetch operation based on part tag filter(Same as Edit filter functionality of process plan)? Is there any API to achieve this? Thanks, Jalpesh
Under the Type and Attribute management Manage Types screen, there are many data types defined. When one is selected, it lists a lot of system defined attributes and allows you to create new attributes. My first question is: How do you add a new attribute that has already been added under the Manage Reusable Attributes tab? The second part of this is concerning Layouts. There are a number of layouts listed with default attributes listed. I can added a new 'table' to the layout with default attributes, but how do I add the added attributes from the Manager Reusable Attributes tab? Question three is: How do you specify which layout screen is used where with the View Information screens of an object? Between different Types, the default list of layout names are different. Looking on my existing production system, when I look at the CAD Part object type and open the various layouts, none of them have the information that is displayed in the same order as the View
Hello, Generally, when I open the info page of a WTDocument using an URL like: https://<server>:<port>/Windchill/app/#ptc1/tcomp/infoPage?oid=VR:wt.doc.WTDocument:xxxxxxxxxx the page displays "Details" tab. I would like to be able to open a specific tab ("Changes" for example) using an URL. Is there any hint how can I achieve it (parameter to be added in the URL, cookies to be set...)? Thanks in advance.
Hello All, I have to restrict Secondary content from becoming part of Zip file which is created in Package. OOTB " Externally Distributable" Flag is present, but it only considering for Primary Content, not for Secondary Content. Is any one know how to restrict Secondary content as well by using this flag. Steps to reproduce - 1. Create Package 2. Add WTDocument to it, WTDocument having Primary and Secondary Content. 3. Create Delivery for Package, From Delivery create Zip file for Delivery, this Zip file will content Primary as well as Secondary content. Here how to restrict /control Secondary content from becoming part of this Zip file. Regards, Vivek
Hi there, I would be enable the advanced search for empty and single wildcard (*). The Windchill documentation states that this can be done by setting the property com.ptc.windchill.enterprise.search.advancesearch.enableEmptySearch to true. I am used to edit settings with the xconfmanager tool. The command xconfmanager -s com.ptc.windchill.enterpise.search.advancesearch.enableEmptySearch=true -t codebase\wt.properties -p failed with this error message: 0 [main] ERROR com.ptc.windchill.structconf.StructConfManager - Extra unrecognized arguments: "com.ptc.windchill.enterprise.search.advancesearch.enableEmptySearch=trueá -t"," codebase\wt.properties -p" So my question is: How do I properly set this option in wt.properties.xconf? And how can I revert the changes? Thank you in advance for your comments. Kind regards Petra
Is it possible to create a subtype of wt.doc.WTDocumentDependencyLink? I could not found the wt.doc.WTDocumentDependencyLink in Type and attribute management in Windchill 11.0 M20 CPS16. I want to add some more attribute (IBA) on this link by creating its subtypes. Thank you in advance.
We currently run with PDMLink for all of our Creo and AutoCAD documents, and recently we have implemented this for all of our words documents related to manufacturing, ie paint procedures, test procedures etc. Templates within Windchill are not set up for our organisation, and this cannot be changed. So for word documents, I have created a number of standard word templates and used the DocProperties that are mapped via Desktop Integration to windchill properties. Upon loading the document in to Winchill, these DocProperties update and fill out the required fields. This is working perfectly. I would like to recreate this for excel format documents. Just a front sheet will do, so that we have a visual recognition of document numbers etc when they are issued for production to our workshop and external suppliers. However, I only seem to be able to insert these attributes once the document has been loaded in to Windchill. This means each time, the user would need to re-insert these a
Hi all I am using Windchill 11.1 M010 While creating a new document, I want to choose an existing (Windchill user) for the value of an attribute like "Reviewed By" for information purpose. I do not want to fill like a text box . I need to choose. Can this be configured without any customization/coding? If then how to do this in "Types and Attributes" page first? Thanks for your help. Ravi
Hello everyone, I have developed this code that find all the WtPart refrenced by a drawing (.drw). It's works fine on a stand alone Java application , but when I try to do the same on a POST_CHECKIN Listener the code is unable to find the referenced objects. Is it matter of the calculation link ? Thank you ! public static WTPart wtpRetrieveDrawingAssociatedWtPart(EPMDocument epm) throws Exception { WTPart wtPart = null; CADAssociatedParts relationship = new CADAssociatedParts(); relationship.setTypes(CADAssociatedParts.Type.CALCULATED_BUILD); List<Object[]> epmDocs = EPMNavigateHelper.navigate(epm, relationship, CollectItem.SEED_ID, CollectItem.OTHERSIDE).getRawResults(); if(epmDocs != null) { for(Object[] objects : epmDocs) { for(Object o : objects) { if(o instanceof WTPart) { WTPart tempPart = (WTPart) o; &nbs
Hi All,I am trying to bulk load wtdocuments into Windchill for which I have the content files and the attributes (name, number, description, version, state, IBAs etc) in an excel file. The usual method for bulk load is to create a CSV using the data in the excel file, then create an XML from the CSV (wt.load.util.CSV2XML) and finally load the documents into Windchill using the XML file (wt.load.LoadFromFile).I am trying to create a java file which will read the excel file with the raw data, create a CSV and subsequently the XML file using it and then finally invoke the load command using the XML file. Before I put all of these together, I am trying out each step individually and am not able to figure out a way to invoke the wt.load.util.CSV2XML and wt.load.LoadFromFile from a java file. Has anyone tried that? Any ideas?
Hi All,I have created the Check In Event Listener for CAD Document with WTPart. My Listener searches for WTPart in Windchill and it associates as Content Link for CAD Document while Checking through work group manager. If WTPart is not existed in Windchill Check in should be failed and a error message in the Workspace. Can any one provide the API.Thanks,Hemanth kumar
How to Perform Check-in automatically from a specific folder in local drive. i have set of pdf in specfic folder outside windchill. can the checkin operation can be performed automatically from that folder that the pdf documents are placed in windchill automatically ??
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.