Quantcast
Channel: PTC Community : Discussion List - Windchill
Viewing all 5797 articles
Browse latest View live

Windchill 11 - MPMLink Process Plan copy functionality

$
0
0

Once the process plan is created in the MPMLink system, is it possible to do "Save As" to create a new process plan with the information same as the one created previously.

 

It would be helpful for the MFG team to reuse the existing process plan without recreating from scratch.


Show only latest version in DTI? (Windows explorer)

$
0
0

We're starting to use the Windows explorer integration of DTI and several users find this much more user friendly than the web interface. However, we'd like to know if it's possible to configure DTI to show only the latest versions in Explorer as opposed to the default behavior which is to show all versions.

 

Thanks!

 

Patrick Dubois

What type of association has to be used for 2D drawing?

$
0
0

While association drawing with WT Part we are having 2 options..

 

1. Content

2. Contributing Content.

 

In these two which one we have to use. What is the difference between these two association tyes?

Windchill Server Domain name change.

$
0
0

We have changed our Windchill Server domain name from df-wc-test.hs.local to df-wc-test.dfinc.hs.com.  Updating the Repository entries, Web Server host name entries, Windchill entries and Directory host name server entries will work? Please let me know if there are any additional steps to be performed.

How often are you applying Windchill 10.2 CPS (Critical Patch Sets) and how long is it taking?

$
0
0

We have multiple 10.2 Windchill environments (development, testing, staging) which are also clustered, some with multiple nodes. 

We will compare the files being updated to make sure that we are good on our existing customizations and configurations.

We will also do some level of testing before executing the PSI on production.

 

1. Back up codebases on all 4 prod nodes

2. Run CPS PSI on cache master node

3. Fix permission on IE tasks (we have non default settings on some which get wiped out when running the PSI)

4. Back up modified cach master codebase

5. Move\rename pre-CPS codebases on MS nodes

6. Restore cache master codebase from step 4 on MS nodes

7. Update new MS node codebases with site.xconf from pre-CPS codebase and propagate properties

8. Fix Creo publishing configuratin on each MS node

9. Fix middleware credentials on each MS node

10. Restart and a quick technical checkout

 

Just focusing on these 10 steps for production it takes a good 4-5 hours.

 

Our management is interested in what others are doing in the area of Critical Patch Sets; how often (monthly, quarterly, etc.) and how long (in hours per environment).

Can you guys share how often and how long (please specify monolithic or clustered)?

Notification Robot does not add String variable in Recipients - Variable section.

$
0
0

Dear All

 

My requirement is to send an mail to external suppliers along with the Primary content and metadata of the object but unfortunately Notification Robot does not have an option to add custom variable of type String in the Recipient - Variable Section.

Due to this missing feature, I would have to write a custom code to handle this situation. Would have been so easy and all OOTB if we have an option to just add the String variable to to Recipient which would send an mail along with attachments and metadata information.

Let me know your thoughts on this and if we all agree I can go ahead and submit the Product Idea.

 

Regards

Mahesh Gupta

Windchill Customization@

getUsedByWTParts return latest iteration of all revision. How do I get only latest iteration of the latest revision

$
0
0

Hello.

 

I am trying to get the parent parts of a WTPart, using the WTPartHelper.service.getUsedByWTParts.

Here is what I have used:

 

 

package ext;

 

import wt.fc.ObjectIdentifier;

import wt.fc.PersistenceHelper;

import wt.fc.QueryResult;

import wt.part.WTPart;

import wt.part.WTPartHelper;

import wt.part.WTPartMaster;

import wt.util.WTException;

 

publicclass UsedBy {

 

publicstaticvoid main(String[] args) throws WTException {

 

// TODO Auto-generated method stub

 

ObjectIdentifier oid = ObjectIdentifier.newObjectIdentifier("wt.part.WTPart:780838610");

WTPart part = (WTPart)PersistenceHelper.manager.refresh(oid);

WTPartMaster prtMaster = (WTPartMaster) part.getMaster();

System.out.println("Parent Part Number: " + prtMaster.getNumber());

QueryResult qr = WTPartHelper.service.getUsedByWTParts(prtMaster);

System.out.println("qr size is: " + qr.size());

if (qr.size() == 0) {

System.out.println("QueryResult is null");

else {

for ( inti=0; i<qr.size(); i++) {

WTPart usedPart = (WTPart) qr.nextElement();

System.out.println("Part Parent is: " + usedPart.getIdentity());

 

 

Here is what I get:

 

 

 

Here is in Windchill what I have:

 

 


How do I get the latest part version?

 

Thanks for your help.

 

Antonio

 

 

 

 

 

Workflow: Remove Role from Activity Participants if Role is empty

$
0
0

Hi everyone, I have a “Setup CRB” activity. This activity edit has the ability to see the 10 different roles (purchasing, QA, Engineering Lead etc) that are the participants in the FOLLOWING activity which of course is the “CRB Review”. So during the “Setup CRB” activity, the assignee gets the tasks and looks at the participant members list. He/She will see all of the roles filled out (they are populated context roles) and then remove the various personnel not required for this CRB review. Now this works well enough BUT if a role is empty it then fails over and sends that task to the responsible role. This creates an issue. So here is the solution I’m thinking of using:


 


I am trying to build a snippet of code that I can place in the start transition of the “CRB Review” activity that will grab all of the participant roles, cycle through them and if they are empty, they will be simply be removed from the required participant list.


 


If this is too big of a code issue there is a plan B that would allow the CRB Review activity to be broken out into 10 different tasks with a code check that looks to see if a desired role is populated or not and if not, then simply route around the activity and skip it. I have the code to handle that.


 


Any thoughts? Thanks in advance!


 


Regards,



Single Sign-On for Windchill with Apache, Shibboleth, and ADFS - Has Anyone Done This Before?

$
0
0

I am picking up an in-process project of configuring SSO with the software mentioned in the question, and as I dive in I wanted to put out a question to the user community here to see if anyone has implemented this within their environment, and if so, could provide any helpful details/information as I go forward.  Even if not the exact same software environment, but configuring SSO in general, that would be a significant help.

 

Thanks in advance!

Change Management Cardinality Customization code samples

$
0
0

Hi All,

 

Can anyone share some code or customization logic on Change Management Cardinality.

 

Thanks in advance.

 

Best Regards,

Aditya Achanta

Anyone has done the merging PartsLink data from multiple instance into one?

$
0
0

We would like to merge two PartsLInk instances into one.  Has anyone has done this before?

 

If yes, can yo share your experiences and the how you did it?  Or anything I should be aware of?

How to create a new object in Windchill ?

$
0
0

Hi,

 

How do we create a new object in Windchill ? Just like how we see WTPart, WTDocument, EPMDocument etc in Type and Attribute Manager a new object like "ABC" which is sub typeable as well.

 

If we wish to create all together a new object in Windchill ? How to do that ? Is that possible ? If yes can you please let me know the procedure or process. I haven't seen much  in customization guide but in case if there is any sample code or input regarding the same it will be more beneficial.

 

Thanks in advance,

 

Best Regards,

Aditya Achanta

How to fetch URL of CAD Drawing (EPM Document) ?

$
0
0

Hi,

 

We create a CAD Part in Creo and its corrosponding Drawing in Creo. Then we Check both of them into Windcill with Auto Association, so a WTPart corrosponding to them gets created. We need the URL of the Drawing which we created in Creo.We just need UL so that we can open it in Creo View.

 

We tried using UIHelper.getLaunchProductView but gives us the URL of CAD Part.

We also tried using WVSContentHelper.getDownloadURL but it is giving us 5-6 URL links (which has Partnumber. jpg/log/ol/pvs/plt/pvt/pvm as extensions) but we need only one and that too that of Drawing.

 

Please suggest how to do this.

Windchill 11 - MPMLink Process Plan copy functionality

$
0
0

Once the process plan is created in the MPMLink system, is it possible to do "Save As" to create a new process plan with the information same as the one created previously.

 

It would be helpful for the MFG team to reuse the existing process plan without recreating from scratch.

How to connect windchill to creo using VBAPI

$
0
0

Dear All,

              How to register windchill server to creo using VB API and working with windchill


Windchill Migration or Upgrade ? Which one has to be chosen and how do we choose it ?

$
0
0

Hi All,

 

In case if there are more than 2 instances of source Windchill 9.1 M010 systems and if our target system should be Windchill 10.2 M020.

 

How do we choose whether we will have to Migrate or Upgrade the source system to target system ? What are the metrics or parameters that we choose before selecting it. Is it like if a system has more customization then we choose Upgrade and if a system has less customization then we do choose Migrate ?

 

So kindly let us know how do we get to know whether we will have to migrate it or upgrade the system ?

 

Thanks in advance.

 

Best Regards,

Aditya Achanta

Restricting primary content's 'File Name' in 'Name' attribute for WTDocument

$
0
0

Hello,

 

How can I restrict the file name of the file I am uploading while creating a Document from appearing in the Name attribute?

 

Regards,

Dibya Ranjan Mohanty

Windchill Bulk Migrator Extractor Installation Failed with error build.xml :321: exec returned: 1

$
0
0

Hi All,

 

I am trying to install WBM Extractor on Windchill 10.1 M050 and it had failed every time whenever I try to install.

 

The build log is as below

 

********************************************************************************

!+! STARTED @ Thu May 19 15:18:56 IST 2016

********************************************************************************

  [taskdef] Created log dir 'D:\ptc_1\temp\buildlogs'

 

 

--------------------------------------------------------------------------------

!+! ENTERING WBMExtractor[D:\ptc_1\temp\build.xml]

--------------------------------------------------------------------------------

Overriding previous definition of reference to ant.projectHelper

Build sequence for target(s) `install' is [checkWindchillHomeDir, checkdeploy, deploy, setInstallClassPath, include-taskdefs, getinput-g, check-extract-xconf, xconfp, install]

 

 

checkWindchillHomeDir:

     [echo] Found windchill home directory: D:\ptc_1\Windchill_10.1\Windchill

 

 

checkdeploy:

 

 

deploy:

     [echo] java 1.6

     [copy] Copying 478 files to D:\ptc_1\Windchill_10.1\Windchill\codebase\com

     [copy] Copying 1 file to D:\ptc_1\Windchill_10.1\Windchill\srclib

     [copy] Copying 2 files to D:\ptc_1\Windchill_10.1\Windchill\lib

     [copy] Copying 1 file to D:\ptc_1\Windchill_10.1\Windchill\codebase\com\ptc\windchill\migration\wbm\wc2wc\extractor

 

 

setInstallClassPath:

 

 

include-taskdefs:

 

 

getinput-g:

     [echo] Backing up extract.xconf file to D:\ptc_1\Windchill_10.1\Windchill/codebase/com/ptc/windchill/migration/wbm/wc2wc/extractor/.wbmextractor/install

     [copy] Copying 1 file to D:\ptc_1\Windchill_10.1\Windchill\codebase\com\ptc\windchill\migration\wbm\wc2wc\extractor\.wbmextractor\install

!+! ERROR OCCURRED @ D:\ptc_1\temp\build.xml:321:  !!!

********************************************************************************

!+! FINISHED @ Thu May 19 15:18:57 IST 2016

!+! Log: D:\ptc_1\temp\buildlogs\0000-WBMExtractor.log

********************************************************************************

 

 

BUILD FAILED

D:\ptc_1\temp\build.xml:321: exec returned: 1

 

 

Total time: 1 second

 

 

 

I had followed one case provided by PTC. -

Document - CS186515

 

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS186515&art_lang=en&posno=1&q=build.xml%3A321&source=search

 

But even after that it is failing.

 

Can anyone help me in installing WBM Extractor ?

 

Thanks in advance.

 

Best Regards,

Aditya Achanta

How Do I Refresh Multiple Records In A Tree Component

$
0
0

I have a custom table component that displays records in a tree layout.  When I perform a certain action against a parent record (PARENT), certain attributes of that record and all of its immediate children (CHILDREN) are modified.  I'm able to add a DynamicRefreshInfo to the processor's form result so that PARENT is refreshed asynchronously very nicely, but I'm not able to add refresh infos so that CHILDREN are refreshed in the same manner.  It seems that when I try to add multiple refresh infos, the table component as a whole is refreshed.  That's not the behavior I want.

 

Anybody have any experience with this?

Autonumber and file name must be different

$
0
0

We have set auto number for creating new CAD documents and by default the file name is set same as auto number but I want to give my own unique file name when creating the CAD document in Creo session.

I have tried the following options

1. Creating a CAD document in Windchill we can enter the File name even though we have auto number but in Creo session it is not possible.

2. After creating the CAD file in Creo session we will have the auto number but after upload we can change the file name even through the number will be auto number

 

But all the above options are tedious process for creating any new CAD file

 

Any idea in this regard will be very helpful

 

-Praveen

Viewing all 5797 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>