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

OOB Access Policy issue. Do I need to create multiple Deny for each state?

$
0
0

I'm working on an o.o.b version of 10.1.

I have a group "View Released" who I want to only see Released objects and download.

The group has a Profile that stops all modifications available via the profile.

At the Default PDM Library I created a policy to allow that group to Read wtobjects at Released. Works great.

Problem is they can see In Work and they could check out In Work!

I then created a policy to deny everything but read on all objects for that group. That stops the Check out at In Work.

I don't want to create a policy to deny Read at each object state as that would get complicated.

Anyone know what is allowing visibility


How do I re-number CAD files while importing

$
0
0

I have several folders of CAD data I would like to import from different sources, and there are different file with the same part number.  To avoid conflicts, I would like to be able to simply re-number all files as I import them.  Is there a way to do this?

How to install additional component an existing installaion

$
0
0

Hi all,

 

How to install and configue ESI an existing installation?

 

Please provide me recommanded procedure for the same.

Config file problems

$
0
0

To all you Windchill users:

 

We are on Windchill 10.0 M030, Creo 1.0 M050.

 

I recently updated the config file for all users (all are stored locally on each users C drive). The previous config file worked fine for all users.

 

The new config file is basically the same, with a few new options. For one of our users, after Creo startup, Creo will hang indefinitely (after user is prompted for the Windchill user/pass). This user is running on Windows 7, though the rest of the users also use either Windows 7 or Vista with no issues.

 

I can circumvent this problem by removing all the following config options that have the file path starting with wtpub://Windchill… :

 

template_designasm wtpub://Windchill/Libraries/Library/Formats/in_lbs_assembly_solid.asm

template_sheetmetalpart wtpub://Windchill/Libraries/Library/Formats/inlbs_part_sheetmetal.prt

template_solidpart wtpub://Windchill/Libraries/Library/Formats/inlbs_part_solid.prt

pro_format_dir wtpub://Windchill/Libraries/Library/Formats

start_model_dir wtpub://Windchill/Libraries/Library/Formats

pro_palette_dir wtpub://Windchill/Libraries/Library/Symbols

symbol_instance_palette_file wtpub://Windchill/Libraries/Library/Symbols/standard_notes.drw

 

Note, however, that the old config file also contained most of the above options, yet there was no hang after startup.

 

I have attached the old and new config files.

 

Anyone have any ideas?

 

Andri Ulrich

How to retrieve all objects from a windchill package

$
0
0

I have a package in my windchill with all kind of objects.I need to retrieve all the objects using code.Someone help me which API do I need to Use for it?

Auto Create wt.document

$
0
0

Hi all,

I want to use robot in workflow, which will generate wt.document of specific type. Kindly help me in doing so..

Synch on CA Complete

$
0
0

Has anyone else had the issue the resultant objects are not set back to released upon resolution of Change Notice?  We see it all the time that the CN will leave objects at under review state.

 

PTC document:

 

CS111383

 

TitleNew revised change notice workflow hangs on “Synch on CA Complete” workflow expression in Windchill PDMLink 10.0
Description
  • New revision of Change Notice workflow loses its synchronization with related Change Activities object
  • After revision the Change Notice workflow cannot be completed
Applies ToWindchill PDMLink 10.0
Cause
Resolution
  • Reported to R&D as SPR 2163673
  • Workaround: Set the sequence on Change Activity creation.

 

 

If yes, what did you do to resolve this issue?

 

Thanks,

 

Greg

wt.util.WTException: While Creating a new Veraible in Workflow

$
0
0

Hi All,

 

i am creating a new workflow in Windchill 10.1,

I am trying to create a veriable of Type java.sql.Timestamp, but when i click ok it gives me wt.util.WTException as shown in below ImageWorkflow Error.jpg

 

Please suggest the Workarround.

 

Thanks,

Vivek


Query Builder_Retrieving Comments field in a Variable

$
0
0

HI,

 

I am working on query builder in Windchill 10.1 . I need to retrieve the "Comments" variable as a column in the Report which will be generated.

The object which is routed for approval is : Change Request object. I need to retrive the Approver's comments and display it in the Report column.

 

 

Any help will be highly appreciated.

 

Thanks and regards,

Shweta Joshi

Windchill 9.1 customized code not running on Windchill 10.1.. Java issue

$
0
0

Hi All,

 

I am trying to deploy the Customized code from Windchill 9.1 to Windchill 10.1.

This code is written for Exporting the Documents from Windchill.

 

When i try to Compile same code from Windchill shell in 10.1 version i got below Warnings and errors.

 

Kindly go through this and suggest the corrective actions.

 

The ExportDocuments.java is attched with this..

 

Thanks,

Vivek

 

 

C:\ptc\Windchill_10.1\Windchill\src\ext\util>javac ExportDocuments.java

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'superClass()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable': class file for com.ptc.windchill.annotations.metadata

.GenAsPersistable not found

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'interfaces()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'extendable()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'versions()' in type 'com.ptc.windchill.annotations.met

adata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'properties()' in type 'com.ptc.windchill.annotations.m

etadata.GenAsPersistable'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'name()' in type 'com.ptc.windchill.annotations.metadat

a.GeneratedProperty': class file for com.ptc.windchill.annotations.metadata.Gene

ratedProperty not found

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'type()' in type 'com.ptc.windchill.annotations.metadat

a.GeneratedProperty'

C:\ptc\Windchill_10.1\Windchill\codebase\wt\doc\WTDocument.class: warning: Canno

t find annotation method 'supportedAPI()' in type 'com.ptc.windchill.annotations

.metadata.GeneratedProperty'

An exception has occurred in the compiler (1.6.0_31). Please file a bug at the J

ava Developer Connection (http://java.sun.com/webapps/bugreport)  after checking

the Bug Parade for duplicates. Include your program and the following diagnosti

c in your report.  Thank you.

com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.ptc.windch

ill.annotations.metadata.SupportedAPI not found


Edit ibamap.properties file

$
0
0

Hi All,

 

Any idea on how to modify ibamap.properties file for a migration from Pro/I 3.4 to PDMlink 10 M020. Earlier, there was a property in migration.properties "migration.admin.iba.allowIBARename", but I guess it's no longer there.

Anybody has done this before? Can we directly modify into the file?

 

Please help.

 

Thanks,

 

Wasim

Workflow routing based on an attribute.

$
0
0

I have a workflow for a WTReferenceDocument soft type object. I also have custom attributes for the object. Once the workflow has started, I would at some point like to route the workflow based on the value of the attribute. How would I write the Routing expression in the conditional connector. Case in point, the possible values for the attribute are "Tim, Tom, Barry or Steve", The name of the attribute "Judge" and the object is a soft type of the WTReferenceDocument called.  Summons.

In Windchill 10.1,Workflow Editor not Showing Robots in Editor Area

$
0
0

Hi All,

 

I am Using Windchill 10.1 with jre 7.0 Build 25.

 

when i open a workflow editor, i am not able to see the selected Robots in Editor area.

 

Normally when we create a new Workflow, it opens a Workflow editor with Start Robot.

we acn put the required Robots in to Editor area and some logic to them.

 

but in my case when i open a new workflow editor it opens but not showing start robot..if i try to put any robot in editor area it opens but it is not visible.

same if i try to view existing OOTB worklfows in editoe it gives me Blank editor and if i click randomley in area then the robots are opens in Pop ups but they are not visible .

i check the java versions. it is as per PTC's Recommadations.

 

here are two fig which howing the differeance.

 

 

This is the Actaual WF editor which normaly opens.

WF_Editor With Start Flag.jpg

This is the WF Editor on My system without Start Flag.

WF_Editor Without Start Flag.jpg

 

Please suggest the solution.

 

Thanks,

Vivek

Yellow Confrimation Bar

$
0
0

Is there a way to disable this function or shorten the amount of time it shows up?

Can Soft Types be used in Replication Rules?

$
0
0

In the early days of using the Replication Server only modeled ovjects could be specified in a Replication Rule?  Does anyone know if this is true for Windchill PDMLink 10.0 and up?


Windchill PDMLink Packaging - What Buisness Problem is intended to solve?

$
0
0

My understanding of Windchill PDMLink Packaging is that it was designed to help share requirements, design, or specification with an external group in an effort to improve collaboration.  I find that there are some users in the community that entertain the thought of using Packaging to solve other issues like synchronization of two PDMLink systems.

 

My questions are:

  1. What are some valid Use Cases for the use of Windchill PDMLink Packaging?
  2. Can Packaging be used to collaborate with a 2nd party if they do not have a PDMLink to import the Package?  If so, how efficient would this be?
  3. Can Packaging be used as a synchronization mechanisim?  What issues would be expected to work around?

 

My concerns are:

  1. PTC put considerable effort into this functionality, but yet when I try to find users in the field that are actually utilizing this functionality they are hard to find.  Is this capability that is widely used?  If not, then why?
  2. There appears to be a fair amount of overhead associated with managing the package.  Does anyone have experience with just how costly this is?

Anyone know how to control what documents are created in what Library?

$
0
0

If we only want some doc types created in a particular library – how do we manage that?

For example we have a DMR Library that we only want Production type documents in and another Library that we only want Regulatory type documents in.

I can Deny the Users Group the ability to Create for that Doc Type within the Policy Admin for that Library, but is there a better way than using deny?

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

MultiLevel BOM Report

$
0
0

Hi All,

 

my requirement is to get Multilvel BOM from Windchill using API.

 

i have below code which gives me only the child parts from first node in assebly.

 

here is my code::

 

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

 

 

package ext.util.javaP;

 

import java.util.ArrayList;

import wt.fc.PersistenceHelper;

import wt.fc.QueryResult;

import wt.part.WTPart;

import wt.part.WTPartUsageLink;

import wt.query.QuerySpec;

import wt.query.SearchCondition;

import wt.vc.VersionControlHelper;

import wt.vc.config.LatestConfigSpec;

import wt.vc.struct.IteratedUsageLink;

import wt.vc.struct.StructHelper;

 

public class StructureNavigator {

    WTPart part;

    ArrayList<WTPart> partList;

   

    public static void main(String[] args) {

        // TODO Auto-generated method stub

        System.out.println("Inside the Main Method");

        StructureNavigator navigator = new StructureNavigator(args[0]);

        if(navigator.getPart()==null)

        {

            System.out.println("Assembly not found!!");

            return;

        }

        System.out.println("In Naviagtor !!!");

        ArrayList<WTPart>  pList = navigator.getPartList();

        System.out.println("pList size: "+pList.size());

        for(int i=0;i<pList.size();i++)

        {

            WTPart current = (WTPart)pList.get(i);

            if(current!=null){

                System.out.println(current.getNumber());

            }

           

        }

    }

   

    public static ArrayList<WTPart> getWTPartList(String partNumber){

        ArrayList<WTPart> parts=new ArrayList<WTPart>();

        StructureNavigator navigator = new StructureNavigator(partNumber);

        if(navigator.getPart()!=null){

            System.out.println("Inside the if of naviagator.getpart() "+navigator.getPart());

        parts=navigator.getPartList();

        System.out.println("After parts ###### "+parts);

        }

        else{

            System.out.println("#### Structure Navigator is empty #### ");

        }

        return parts;

    }

    public WTPart getPart()

    {

        System.out.println("Inside the getPart() Method::"+part);

        return part;

    }

    public ArrayList<WTPart>  getPartList()

    {

        System.out.println("Inside the ArrayList getPartList() Method" +partList);

        return partList;

    }

   

    public StructureNavigator(String prt)

    {

        partList = new ArrayList<WTPart> ();

        try{

            QuerySpec qs = new QuerySpec(WTPart.class);

           

        

            SearchCondition sc = new SearchCondition(WTPart.class, WTPart.NUMBER,

                    SearchCondition.EQUAL, prt.trim());

            qs.appendWhere(sc);

           

            QueryResult queryResult = PersistenceHelper.manager.find(qs);

           

            if (queryResult == null) {

                part = null;

            }

            else

            {

                if(queryResult.hasMoreElements())

                {   

                    part = (WTPart) queryResult.nextElement();

                    getPartStructure(part);

                }

            }

        }catch(Exception e){e.printStackTrace();}

    }

   

   

    public void getPartStructure(WTPart parentPart) throws Exception {

        //System.out.println("In getPartStructure!!"+parentPart.getNumber());

        try{

            //Get Part data

            if(!partList.contains(parentPart))

            {   

                partList.add(parentPart);

            }

          

            LatestConfigSpec lcs = new LatestConfigSpec();

            QueryResult usesLinks = StructHelper.service.navigateUses(parentPart, false);

           

            while(usesLinks.hasMoreElements()){

                //FileWriter writer = new FileWriter(path, true);

                WTPartUsageLink usageLink = (WTPartUsageLink) usesLinks.nextElement();

                WTPart childPart = (WTPart) lcs.process(VersionControlHelper.service.allVersionsOf(((IteratedUsageLink)usageLink).getUses())).nextElement();

                getPartStructure(childPart);

            }

        }catch(Exception e){

            System.out.println("###########Exception while getting structure!!! ######## - in get part structure");

            e.printStackTrace();           

        }

    }

}

 

// END********************************************//

 

 

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

 

I Pass the run time Argument to this i.e my TOP Level Asm Number: 1234567.

 

it gives me output::

 

Inside the Main Method

Inside the getPart() Method::wt.part.WTPart:96042

#########Something here!!#######

Inside the ArrayList getPartList() Method[wt.part.WTPart:96042, wt.part.WTPart:96050, wt.part.WTPart:110026, wt.part.WTPart:110037]

pList size: 4

1234567

0000000021

0000000022

00000000023

 

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

 

Here is the my BOM Snap from Windchill.

 

BOM In Windchill.jpg

and below is my Requirement

 

BOM Requirement.jpg

 

Please check my code and suggest the modifications so i can get my required BOM.

 

Thanks,

Vivek

Moving a context to another shared team

$
0
0

Hey,

 

I succeeded to move a Product from the PDM domain to the domain of a Shared Team.  But when I now try to move this Product to another shared team (I'm playing on a test server), I get the message:  "ERROR: Xxxxx is already associated to the shared team Yyyyy."

 

Reason is that our Windchill Products and Libraries were setup in Windchill 8, we are now on 9.1 and we are preparing to upgrade to 10.1.  I hesitate to move old Products and Libraries to shared teams, since once in a shared team, they are stuck.  Since I can't prevent my CEO to do acquisitions that jeopardize my shared team conventions, it's tricky for me to implement shared teams.

 

Unless of course someone is aware of actual or future tools to get this move done.

 

TIA and Regards,  Hugo.

Viewing all 5797 articles
Browse latest View live


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