Quantcast
Channel: PTC Community : All Content - Windchill
Viewing all 6049 articles
Browse latest View live

Attaching Parts as "Affected Objects" on a Change Activity

$
0
0

Hi,

 

In a workflow I am attempting to create a Change Task for every changeable on a change notice automatically.

 

So far I can create the individual change tasks with one changeable each, but I can only get it to be associated under "Resulting Objects" not "Affected Objects" - see below.

 

13-01-2012 10-14-56.jpg

The code I am using for the creation and association is as follows:

while (qr.hasMoreElements()) {
wt.vc.Versioned obj = (wt.vc.Versioned) qr.nextElement();
vr.addElement((wt.change2.Changeable2)obj);

wt.change2.WTChangeActivity2 ca = wt.change2.WTChangeActivity2.newWTChangeActivity2();
ca.setName("Test " + i);
ca.setOrganization(org);
ca.setContainer(cont);

ca = (wt.change2.WTChangeActivity2) wt.change2.ChangeHelper2.service.saveChangeActivity(cn, ca);
wt.change2.ChangeHelper2.service.storeAssociations(wt.change2.ChangeRecord2.class, ca, vr);

vr.clear();
i = i + 1;
}

 

Where:

qr - all of the changeables attached to the change notice by the user.

cn - the change notice.

ca - the change activity.

vr - vector containing the changeables.

 

Can someone please help with this?

 

I am using PDMLINK 9.1.

 

Regards,

Toby


is Windchill Quality Solutions 10.0 compatible with Windows 10?

$
0
0

I work with WQS 10.0 on Windows 7, and intend to move to Windows 10. Will it work as well?

IBA table and WTPart table relationship

$
0
0

Hi All,

 

IBA's for WTPart are stored in tables like StringDefinition, BooleanDefinition etc.

Then how do we relate these IBA's with WTPart table ?

Can you please let me know ?

Like if I have a demo as an IBA for WTPart and if I run a sql query like select * from stringdefinition I guess I can see that IBA name in that table.

Now for that IBA name which particular column in that table is related to WTPart table ?

so keeping stringdefinition table for IBA's and WTPart table beside which columns are related ?

 

Best Regards,

Aditya Achanta

ERP connector output interpretation, is it possible to reset BOM history?

$
0
0

How is it possible to find a document with the interpretation of ADDED, DELETED, CHANGED, UNCHANGED parts and BOMComponents?

 

How is possible to reset the BOM history?

 

How is possible to delete a bom  (and related Parts) after sent it to distribution target?

如何实现不同视图之间显示的属性不一致,例如工艺路线这个IBA属性,在EBOM不显示但是在MBOM显示

$
0
0

如何实现不同视图之间显示的属性不一致,例如工艺路线这个IBA属性,在EBOM不显示但是在MBOM显示

Can anyone tell me the actual use of wt part?

$
0
0

Can anyone tell me the actual use of wt part, and also how to retrieve files using wt part?

Windchill log tool

$
0
0

Does anyone know of a good tool to view Windchill logs? I heard Apache Chainsaw would work, but do not see any documentation to support this.

Converting WT file as End Item WT

$
0
0

I have 60 top level assemblies and I created wt part for the same. Now I need all 60 wt part to be converted as End Items. Can I do this in Windchill or should I remove association of all wt, delete wt's, create End item wt and then associate it again with respective assemblies?


Where in Windchill mem model I do find back a representation added by publishing rule ?

$
0
0

Hi,

We have publishing rules active that will create dxf or step when needed during transit to Released. We can grab these files in windchill, but I wonder how are they stored in the api memory model ? I only get some jpegs and the pdf when asking for the contents of the SECONDARY role. Like with this code:

 

Snap6.png

After creating a New Project from a Project Template (Having a Document Structure), Document Structure is not propagated in the newly created project.

$
0
0

After creating a New Project from a Project Template (Having a Document Structure), Document Structure is not propagated in the newly created project.


Step 1 - A project was created


Step 2 - A document structure was created in it


Step 3 - This Project was saved as a Project Template


Step 4 - A new project using the above template was created


The Document Structure did not propagate in the newly created project. However, all the documents were propagated individually

Default option when deleting

$
0
0

I don't think there is a preference but wanted to check with everyone.  Is there a preference that allows me to change what the default option is when trying to delete something?  I would like it to be Delete latest iterations of each object included in the table.

 

Change Notice Multiple Paths

$
0
0

I'm working on expanding our Change Notice workflow yet again. I have a situation I think will work (or is at least possible) but want to get feedback before going down this path too far.

 

At one stage of the CN workflow, there is a Change Manager role that will choose which downstream departments will get CN tasks for each particular CN. I've set it up using the Routing tab with a 'Manual' routing type. The intent is that the Change Manager can choose between one and four routes using check boxes in the assigned activity.

 

My concern is the AND collector at the tail end of these four routes. If the Change Manager chooses less than the full allotment, will the AND collector stall out the process waiting for the other paths to complete even when those other routes were not chosen by the Change Manager?

 

The other issue involves the Manufacturing-Engineering path (see image). If the Mfg. Eng. ECO Task has not been completed but one of the other paths does complete, will the system know to pause at that AND collector until the 'Synch on CA Complete' is resolved? Or should perhaps that 'Synch' robot be used in place of the AND collector?

 

Of course, I appreciate pointing out any other issues you may see.

 

Reference image:

Windchill Data Model

$
0
0

Hi All,

 

Can anyone tell me where can I get some information or guide or some material about Windchill Data Model.

 

I had seen some cases in PTC for workflow or EPM Documents etc.

 

But if I need it on a whole. Can anyone suggest me some information on where to get some guide for Windchill Data Model.

 

Best Regards,

Aditya Achanta

Load Classification Node through CSV

$
0
0

Hi Experts,

 

I am trying to load Classification Node through csv referring the Help Centre Example "About the Load Files".

 

My CSV file:

 

/*BeginClassNode~create~wt.csm.navigation.ClassificationNodeLoader.beginCreateClassNode~structureClassName~nodeName~parentID~description~imageFile~refDefName~internalID

EndClassNode~create~wt.csm.navigation.ClassificationNodeLoader.endCreateClassNode*/

 

 

BeginClassNode,wt.part.WTPart,TestNode,Electronic Parts\CAPACITOR\FIXED,,,,

EndClassNode

 

I have converted this csv to xml and trying to load the xml, but it is throwing an error "Cannot construct new Classification Structure Default View!".

 

Please help me to resolve this issue.

 

What should be the  value of refDefName?

 

Thanks expert in advance.

How to bypass windchill services from Windows firewall settings?

$
0
0

If I Enable Windows Firewall on Windchill replication Server, There will be NO Handshake between Master server and Replication Server.

 

Is there a way to bypass the Windchill services through Windows Firewall recommended settings when it is Enabled?


Running CREO publisher on Different Server

$
0
0

We are running our Creo publisher on a separate server and have recently begun receiving the following error:

 

Failed to register Windchill server  "publish2759967848149056590tmp" - -22

 

Working with PTC on this. Moved the publisher back to the Windchill server, but get occasional memory errors causing the Windchill server to restart. many thanks!

How to change group of queue say from Default to Default2

$
0
0

Under the Queue management

How to change group of queue say from Default to Default2?

Can we do it from application level by right click?

queue.PNG

wt.util.WTRemoteException: Unable to invoke remote method;

$
0
0

Who can help me to solve this problem, my code is:

 

public class Test {

 

 

  /**

  * @param args

  */

  public static void main(String[] args) throws Exception {

  URL url= new URL("http://whichen-ws01.cisco.com/Windchill");

  RemoteMethodServer rms=RemoteMethodServer.getInstance(url);

  rms.setUserName("wcadmin");

  rms.setPassword("wcadmin");

  System.out.println("login succeed!");

 

  Class argTypes[]={String.class, String.class, String.class, String.class};

  Object argValues[]={

  "Whichen_demo_name2",

  "Whichen_demo_number2",

  "Whichen_demo_file2",

  "C:\temp\rule.xml"

  };


//accessing the method of a utility class which is in windchill codebase directory

  rms.invoke("createDoc", "com.cisco.whichen.DocManager", null, argTypes, argValues);

  System.out.println("Succeeded!");

 

  }

 

}

 

My local host file is:

127.0.0.1 localhost whichen-ws01.cisco.com # whichen-ws01

 

Looking forward to your kindly help.

Associate wtpart

$
0
0

Hi ,

 

In Windchill 10.0 M010, I am already created a WTPart inside Windchill. Now am creating a CAD Document with the same name of WTPart. But  when i check in the cad document with out use Auto Associate option.

 

But after check in the WTPart and CAD Documents are not associated. I read somewhere like if the names are same it will associate automatically.

 

Whether i have to set any Preference for that???

 

 

Thanks in advance..

PDF Files Not Opening

$
0
0

We have a strange situation in Windchill 10.2 m030 CPS9.  If we have Excel open a cell active where we are entering something, we are not able to open a PDF document from Windchill.  As soon as we close the cell, or if we open it in CREO View, it will open.  These are not always an option and the user shouldn't have to remember that it is okay one time but not okay the next time.  I'm suspecting that it has something to do with Windchill DTI but cannot figure it out.  There are also times where it will take minutes (5+) to even open Excel or Word files to open. (I know a different issue, but I wonder if they are related).

 

Has anyone else experienced the PDF issue?  Anyone with any ideas?

 

Thanks!

Viewing all 6049 articles
Browse latest View live