Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi,When Turkish lira is entered in Windhill, I created an attribute that multiplies this value with this year's dollar rate.However, the dollar rate is fixed at a different value each year. For example; In 2021 I need to multiply this value by 11, in 2022 I need to multiply it by 17.64. How do you think I can overcome this situation? yes, I may not be able to establish a dynamic structure, but do you think I should create a new attribute every year? Note: attribute directly affects a form and its values should not change. For this reason, it is impossible for me to regularly update the calculated attribute.
Dear all, I have a question regarding completing the work items. I have a work item which includes a custom EnumeratedType attribute "MySize". When I try to complete the activity using the OOTB Endpoint from Workflow Domain, I am getting an error that the enumerated type is not supported like below: "This task cannot be updated.Variable type ext.dropdown.MySize is not supported." URL: {{baseUrl}}/WorkItems('{{WorkItemId}}')/PTC.Workflow.CompleteWorkitemRequest Body: { "AutomateFastTrack": false, "UserEventList": ["Yes"], "VoteAction": "", "WorkitemComment": "Dummy", "Variables":[{ "Name":"MySize", "Value":"Small", "TypeName
I have a situation where a particular field on our Change Request has different choices depending on which project they are part of. Using Global Enumerations, I can set up the cascading dependencies to show the correct choices. But... having to choose the project first on creation is something I'd like to avoid. Each of our projects have their own contexts... if you create a CR in PRJ1-Library, I want the project field choice preset and the dependent field's valid choices already filtered. I can use the OIR to set the project field but it only happens after the create form is submitted. Can this be preset so the create form already has the correct project? (I am trying to avoid writing custom code and handlers... please let me know if this a forlorn hope...)
Hi Guys, I want to check in/ check out the Solid Works model/folder in Windchill through API using c#. Is there any source code or documentation available? Thank you
I am using Windchill PDMLink Release 11.0 and Datecode with CPS N/AIn the scenario of customizing workflows in PTC PDMLink with Java coding, is it possible to make decisions in the workflow based on the contents of cells in an attached Excel sheet? Or, is it feasible to retrieve the contents of cells from an Excel sheet attached to the workflow?
Two attribute depend on only one attribute like if I select part type machine then only machine attribute is visible and hide another one. I want without cascading attribute
I'm trying to understand if customizing the Windchill Theme is a common customization - See (Customizing the Theme (ptc.com) Do you do more than just rebranding? - Do you customize other colors - like font color? - Do you customize font size? - Do you use custom icons for the standard icons (other than custom Type icons)? - Any other similar customizations? Can you share examples of what you've done? Thanks, Devi Vijayakumar Windchill R&D
Hello,I have changed in CAPA oir , Im passing attribute value on CAPA name while creating new CAPA but that IBA is not present in Nonconfomance so how can I create CAPA? <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator"><Arg>CAPA-</Arg><Attr id="ext.xyz.LOCATION"/><Arg>-</Arg> <Arg>{GEN:wt.enterprise.SequenceGenerator:CAPAREQUESTID_seq:10:0}</Arg> </AttrValue>
If Number is E-M030002 them remove E- after it goes to certain lifecycle state
Hi, I have seen lots of improvement on MBD to show dimensions in 3D model. Similarly BOM table can be able to show using .tbl file and take print for quotation purpose. Looking to avoid 2D drawing just to create the BOM table.
Is there any method available to set the coloured text from Data Utility?
For Creo Parametric, I would like to store the "Controlled" versions of files in Windchill (Primarily things like symbols and manikin configuration files) but have Windchill do a nightly or hourly write of those files to shared network locations so that the common Robocopy method can be used to pull the files to the users local machines. (Creo has slow down issues when reading symbols and manikin poses from Windchill directly). Is this possible? Can I be pointed to the correct terminology or relevant help files. Even better would be if there is a way for Windchill to update the users local Creo Parametric files without needed to use RoboCopy. Thanks for any help or direction. (Using Creo 9 and Windchill 12. But should be moving to W13 soon)
Hi, I noticed that the columns with dates and time are not formatted the same in my report. Is there a way to format date and time properties in a Report Template in Query Builder? I thought maybe a database function or a java method would help, but I can not figure out which. Thank you,Maria
We have our Windchill servers deployed in Windows environments and have been stuck using command prompt and batch files to manage our servers... Not too long ago, we started on a journey of pipeline based configuration using Azure Devops. Officially PTC says they don't support Powershell.https://www.ptc.com/en/support/article/CS323668?&language=en&posno=3&q=powershell&source=searchBut I think I figured out how to at least get the environment variables from that handy windchill2.bat script. foreach ($line in $(cmd.exe /c "E:\ptc\Windchill\bin\windchill2.bat setenv && set")) { [System.Environment]::SetEnvironmentVariable($line.split("=")[0], $line.split("=")[1], [System.EnvironmentVariableTarget]::Process) } Comment below on how you're managing your deployments? What language(s) are you using?
I have a Spring scheduled method in Windchill and want to call some methods, but i get the erro that there is no active method context. So I tried to call the method via RemoteMethodServer.invoke(). This actually works but i always get the following error in the log:2023-12-07 10:44:13,675 ERROR [pool-14-thread-1] wt.method.client - RemoteMethodServer.invoke() called on default method server from within method server! Probable bad loopback code! java.lang.Exceptionat wt.method.RemoteMethodServer.logQuestionableOrBadInvokeCall(RemoteMethodServer.java:1581)at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:647)at at.techsoft.ifactory.worker.components.QueueRetryMechanism.doRetry(QueueRetryMechanism.java:51)at at.techsoft.ifactory.worker.components.QueueRetryMechanism.retryFailedEntries(QueueRetryMechanism.java:31)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethod
I have been contemplating a way to provide 'local' autonumbering, but inside contexts- rather than using global database sequences to drive autonumbering, is there a way of having local iterative numbering without creating as many sequences as there are contexts?For example, you could achieve this based on whether a specific number is already in use?e.g. a specific context might start with an unique prefix, such as a product ID, and a subtype initial e.g.1111_DOC_*.The rest of the number could then be determined by whether the number is already is use e.g. if 1111_DOC_001 exists, try 1111_DOC_002, then *_003, until successful.I figured this could be possible, since when manually numbering objects, the 'number already in use' response is rather quick- though maybe not efficient enough to not overburden the system with requests when it needs to check if 900 numbers are valid to create before creating 1111_DOC_901.You could speed up execution by writing a custom java RuleAlgorithm class t
Hi,I have implemented Custom Revision Scheme following the article -->https://www.ptc.com/en/support/article/CS148182?source=searchI have the following content in my Verison Loader file<series name="CustomVersioning"><value>A</value><value>B</value><value>C</value><value>D</value><value>E</value></series>After revising the E.1, I am getting the following errorThe series value has reached its maximum value: E, series=CustomVersioningI wanted to know that how combinations like AA, AB, AC, AD are generated?Do we need to set this combinations in load file or is there any other way to implement?
I have an InfoEngine task that is querying Windchill for a document. See the following code for an example. This task works great on many customer servers without issue. On one customer server, about 50% of the time, List-ContentItems is returning a link that is different than it usually returns, and the page appears to be a login page. If anyone has any insight into why Windchill would be returning an invalid link to a login page 50% of the time, let me know. Valid Link: http://example.com:8020/Windchill/servlet/WindchillGW/wt.fv.master.StandardMasterService/doDirectDownload/SExampleFileName.pdf?folderId=60824325082&ft=FF&userid=48748377706&adId=52831251988&fileName=00000018a96b31&refsize=727814&mime=application/pdf&mk=wt.fv.master.StandardMasterService&ofn=SExampleFileName.pdf&c=93&riid=-1&sT=1701353872&sign=TBG9pmA%2FsEOoOVZ7gaxhDQ%3D%3D&site=http%3A%2F%2Fexample.com%3A8020%2FWindchill%2Fservlet%2FWindchillGW&AUTH_CODE=Hma
Hello,i'm trying to create via API an EPMDocument and upload to it a Creo/Elements Direct Modeling .sdpc file.Here is my java code:public static EPMDocument createNewModelingEPMDocument(String epmnumber, String sdpcfilename, String sd_gfxfilename, String model_id) throws PropertyVetoException, WTException, IOException { EPMDocument document = null; // Create new EPDocument from sdpc template EPMAuthoringAppType appType = EPMAuthoringAppType.toEPMAuthoringAppType("COCRMOD"); EPMDocumentType docType = EPMDocumentType.toEPMDocumentType("CADCOMPONENT"); EPMContextHelper.setApplication(EPMApplicationType.toEPMApplicationType("EPM")); File sdpcfile = new File(sdpcfilename); File sd_gfxfile = new File(sd_gfxfilename); document = EPMDocument.newEPMDocument(epmnumber, epmnumber, appType, docType, sdpcfile.getName().toLowerCase()); // Set creation location PDMLinkProduct creationContext = WindchillUtils.getProductByName("MY_PRODUCT"); WTContainerRef c_ref = WTContainerRef.newWTContainerRef(creat
Do we have any plugin to install Walk me feature?
I am trying to get objects creator in data utility. How to get Creator of Action item in DataUtilty which extends ActionItemDataUtility.
Schuetzinger, Christian Di 28.11, 19:19 Schuetzinger, Christian Dear PTC Team, I am currently working on my Masterthesis with the windchill modeler.Now I am at a point where i can't find sufficient material in the knowlege base.May I ask you if you can help me with my following problem:I am currently creating a windchill model for a car body.Now I want to assingn specific values to the blocks like lenght and weight. How is it possible to give the blocks the real value properties which can be used later on in the CAD enviroment like Creo.Example one block is the Front end. It shall have the block property h x w x d = 0,1m x 0,2m x 0,02m.How can I assign them?I hope you can help me with this issue. Many Thanks, Christian Schützinger
Is it possible to use manage replacement operation in more BOM?
Could you please share API imports used for same. It will be helpful.Reference topic link - https://community.ptc.com/t5/Windchill/Change-Object-type-using-API/m-p/302875#M35609
Hello All,I want to get the AddressedBy2 links from CN &CR which API I can use it?Thanks.
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.