Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, I have a document called XYZ which is a subtype of EPM Document in Windchill. As per REST API for EPM document management Domain I can read IBA's on top (Parent) EPM Document but not on its Subtypes. Attributes that I am trying to read are applied on Subtype only and not on its Parent type. REST API available OOTB cannot read these IBA's and seems like limitation of REST API. Also, this seems to be applicable to all other types and not just EPMDocument. Is there are option to read IBA's on Subtypes.? or customized REST API is the only option.?
Hello, The default track work feature of the plan items in windchill lets the user submit rather bulky working hour entries as if all at once or partial, independent of the dates whereby the relevant working hours were actually realized. I want to find out if it would be possible to submit incremental, ie daily, working hour entries by adding the related dates working hours are being spent ? Thanks.
Hello everyone, i need to programmatically set the "Disable Check out on the fly" preference. I have found PreferenceHelper class used to retrieve the value, any correspondents class to set the value ?. Thank you
Hello, the event manager opens every time the workspace is updated. Is there a possibility to turn off the pop-up of the event manager.
Hi everyone, I have set modify permission to user for epm document, but unable to open that epm document by using non admin user login credentials. Please check below code with exception and do let me know if anything is missing. public void setAdHocAccess(List<EPMDocument> listEPM, WTUser user) throws WTException {boolean en = SessionServerHelper.manager.setAccessEnforced(false);try {ContainerTeamManaged container = null;if (user != null) {Vector<AccessPermission> accessPermission = new Vector<AccessPermission>();// set Modify permission System.out.println("Set Modify access for objects..!");accessPermission.add(AccessPermission.MODIFY);for (EPMDocument epm : listEPM) {container = (ContainerTeamManaged) epm.getContainer();System.out.println("=== Grant Access to CAD Documents ==== " + epm.getNumber()+ " FROM CONTEXT: " + epm.getContainer().getContainerName());// set Principal AdHoc Access controlContainerTeamHelper.service.setPrincipalAdHocAcl(container, (AdHoc
Hi everyone, what is the preference or the way in Windchill 11.2 to have the automatic representation of the pdf of a drawing? In my case with Solidworks I have the pdf created automatically (see photo 1) while for Creo Parametric and Inventor I have nothing (see photo 2). In addition to pdf files, can I also automatically create dwg or other types of files? If so, how can it be done? Thanks, Matteo.
Hi, Creating PDF files is impossible without "Adobe Leve Cycle".Therefore, "Worker" was written. Windhill sends assignments to WorkerServer and receives a PDF from there.The WorkerServer requires the installed MS Office https://bitbucket.org/renatsun/wc_genericdocumentworker/src Best regards
Hi, I'm creating WTParts using import from spreadsheet functionality(OOTB). I want to apply some logic post creation of these parts but in my POST_STORE event I'm not getting target instanceof WTPart to implement logic. Is there any other way ?
Hello. I found that class com.ptc.core.adapter.server.impl.AbstractWebjectDelegate has been marked as deprecated (at least since release 11.0 but it could be marked as deprecated even earlier). However, I don't see any information, what class should be used instead of AbstractWebjectDelegate. Is there anyone who had to use AbstractWebjectDelegate and found a replacement for it? This class is mostly used, when one wants to create his own webject delegate, so such class extends AbstractWebjectDelegate.
Hello. I found that class wt.prefs.WTPreferences has been marked as deprecated. Sadly, there's no accurate info about why it is deprecated. The class provides some methods for getting root preference, create/set context masks and so on. WTPreferences prefs = (WTPreferences) WTPreferences.root();prefs = (WTPreferences) prefs.node(prefNode);prefs.setContextMask(PreferenceHelper.createContextMask()); Is anyone here who knows, what is the replacement for this class (or at least methods used there)?
Hey all, I've created a custom trigger to do some cleanup after importing a reqif file from DOORS into Windchill. The script grabs the document container, walks through the contains field using walkHeirarchy(), then modifies a couple of the fields in each record. Is is possible to determine what section level an item is at? So I need to do something different if a Heading is Section 1 vs Section 1.2.3 for example.
I am trying to customize the email notifications being sent from a workflow but I'm having trouble finding the right Java API calls to use for certain pieces of information. Here are the calls I'm using so far: 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; System.out.println("state = " + epmDoc.getState().toString()); System.out.println("number = " + epmDoc.getNumber().toString()); System.out.println("cadname = " + epmDoc.getCADName()); } } These are working great, but I need more. What are the calls to get the fol
Hello We want to map wtdocument and wtpart attribute on projectlink plan activity attribute using alias . Which mapping we need to use Regards Dhananjay
Hello, We required wtdociment,wtpart attribute mapping on project plan. How we will achieve through alias attribute.
I have this action configured: { "name":"InitiateApprovalProcess", "description":"Initiate the approval process", "parameters":[ { "name":"ChangeNotice", "type":"ChangeNotice", "isNullable":false, "isCollection":false }, {
Hi, We installed a trial of the batch printing service but we found the drawings are printed in no particular order (just the order they appeared in the batch print job). Is there any way to automatically order the drawing prints - for example as they appear in the BoM structure? Normally, the consumer would just view the drawings online, on Windchill, and print their own copies when they need but in this particular case we're required to provide hard-copies sorted into the order the appear in the structure. Can anyone share how they deal with mass printing of drawings/documents for hardcopy distribution? How do others deal with the batch prints, we could end up sending hours sorting through the prints and organizing them so we need to find a way to automate. Regards Rob
I am searching for a possibility to export a list of the objects (WTParts, EPM, WTDoc) in windchill with there object nummer and there actuall version into a spreadsheet. It would helpful if you give me a function keyword or something like that, at the moment I am limited by the maximum number of object I can display (2000).
We just upgraded to Windchill 11.2.1.4 and found out that our AfterEDRLoader stopped working. Before this we were on 11.1 M020 CPS08 and it worked like a charm (even in our previous version). Has anyone else upgraded to 11.2.1.4 had the same experience? We're using unedited code as posted here: https://www.ptc.com/en/support/article/CS216668 Dobi
Hi I have created A MPMWorkCenter object and I want to attach WTDocument to it. From UI it looks possible. But I was not able to find API. Can anyone help me to find API to link.
Hello, I want to add some custom entries to modelRegistry.properties and descendantRegistry.properties. Can anyone provide instructions on how to do the same? Thanks in advance. Regards, Sha
Lately I've been feeling like ESI is a bit heavy for our company's use cases. It's to the point that I feel like I'd rather use something else. Now that the odata REST api is in place and seems to work rather well I was wondering if it could be a good replacement for our ESI integrations. Rather than placing an xml file somewhere that is configured through distribution targets with a 4 page configuration wizard (exaggeration) then building a custom integration piece to read and ship it to our ERP... could we just have our custom integration piece use the rest api and pull part data? Has anyone in the community gone down this path/thought process? Am I nuts?
How to set a different number sequence based on multiple attribute values in Windchill PDMLink 11.2.1.0? Example: Attribute 1: A , B , C Attribute 2: 1, 2, 3 Attribute 3: X, Y, Z Combination will be like A1X001 A1Y001 A1Z001 A2X001 A2Y001 A2Z001
Is there any place in Windchill where a restriction can be placed on an object's revise statsus? Let me explain what I would like. Everything is created at version A and the Design state. When it is promoted, it is at the Prototype state. We had an engineer do a revise to the version A parts, bottom up. When he got to the top level, the revise caught some of the version B parts he had already revised and made them version C. I would like Windchill to block a part at the design state (other than version A) from being revised to prevent this from happening again. It is this possible with some preference or will I need custom code? The same scenario is with a version 1 or higher object at the pre-release state.
My company has the requirement to have Windchill send an email notification to a specific group of uses when a released file is revised. Currently we have promotion management set up to notify a group when the file is promoted to Released. If the file needs to be revised after going to released state, the designers want a specific group of users notified that the revision is changing and the state is changing. Is there a mechanism similar to the promotion management we can use to notify a specific group that a file's state is being changed to due to revision?
since the class and attribute description is evaluated by class admin (sometimes also localized in multilingual), how to dispay it to the end user? It is required by part creation and search (refine results)
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.