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

Revising objects - is this working as intended?

$
0
0

Hi everyone, I'm rather new to Windchill, and I plan to take formal training to come up to speed and be able to more properly perform my newly inerited task of system administration, so please bear with me and try to answer the following question about revision process in our current setup (Windchill 9.1):


When a designer performs a revise operation on a Creo part that exists in a cabinet at revision 0.5, the part in the cabinet stays the same, but is now at revision 1.0.  The designer then checks out this part, makes the intended design changes and checks the truly-revised part back into the cabinet, now at revision 1.1.


But in the database, there is now an iteration 1.0 that is simply a copy of iteration 0.5; this seems rather wasteful, resource-wise.


So, is this actually intended, or is our "lifecycle" process buggy?  Or am I supposed to set up some windchill service that automatically purges these unnecessary iterations?  Or are we doing something wrong with the revision operation?  I get the same results if I use the "revise and check out" functions directly from within Creo.

 

 

On a related note: I'm used to the simple days of Solidworks vault, so is there a way to set things up in Windchill/Creo so that at the time of checking in a part the designer will specify what revision it will be?



Platform Structures : Unable to add multiple choice using AND, OR logical operators in 'THEN' section of 'Conditional Rules'

$
0
0

This is a query regarding newly introduced 'Platform Structures' module with Conditional Rule capability.

 

For 'New Conditional Rule' wizard,

* In 'IF' section, user can select multiple choices or choices from different options - using AND, OR, NOT logical operators.

* But this is not valid while adding multiple choices or even choice from different options in 'THEN' section.

 

It seems, system validator fails to identify logical operator for this wizard.

NewConditionalRule.jpg

Has anyone observed this earlier while building Rules for Product Configuration ?

what is the difference between product and library in windchill pdmlink

$
0
0

Hi Guys,

 

Could any please explain me what is the difference between a PRODUCT and a LIBRARY in Windchill PDMLink?

 

Thanks in advance.

 

Regards

Rajeshkumar Balaganesan

Creo View not opening

$
0
0

Greetings all.

 

I have a question regarding Creo View and Windchill. There are a couple of users that are having issues with Creo View opening properly. They are able to see preview images in Windchill but when they click on the preview image, all they get is a new window with a white background. A number of us do not have this issue so I am thinking it has to be in the settings somewhere but I have not been able to find any differences in settings. I am either not looking in the right place, or they are someplace I can't get to.

 

We are using Windchill PDMlink 10.1 datecode M040 and Creo View version Creo 2.0 datecode M040 build 15.

 

Any assistance that you can offer will be appreciated.

 

Thank you for your time and have a good day.

Inline Item Picker - custom pickercallback issue.

$
0
0

Hi,

 

I have to customize an OOTB item picker such that it filters objects that has certain numbers. I believe this can be done by defining your own callback instead of using the default callback. I've defined a pickercallback in the same jsp (havent put it in custom.js, will this affect in any way ?). On click of 'OK' the newly defiend pickercallback is called however it cannot find the hiddenHTML elements where the oids and dispalyattr should be updated/stored.

 

Following is the picker configuration and the pickercallback:

 

<wctags:itemPicker id="baselineMemberItemPicker"

                   multiSelect="true"

                   inline="true"

                   typeComponentId="${baselineComponentId}"

                   pickerTitle="${addToBaselinePickerTitle}"

                   pickerCallback="addToBaselinePickerCallback"

                   containerRef="${containerRef}"/>

 

<script Language="JavaScript">

    function addToBaselinePickerCallback(objects, pickerID, targetId) {

    var updateHiddenField = document.getElementById(pickerID);

    var updateDisplayField = document.getElementById("baselineMemberItemPicker$label$");

   

    var myJSONObjects = objects.pickedObject;

   

    for(var i=0; i< myJSONObjects.length;i++) {

     var oid = myJSONObjects[i].oid;

     var displayAttr = eval("myJSONObjects[i].name");

     alert(displayAttr);

    updateHiddenField.value=oid;

    updateDisplayField.value=displayAttr;

     }

}

</script>

 

 

Following fields are null:

 

     var updateHiddenField = document.getElementById(pickerID);

     var updateDisplayField = document.getElementById("baselineMemberItemPicker$label$");

 

hence the selected values are not reflected on the originating UI.

 

Could you please tell what might be missing ?

 

Thanks.

return value for string wrong(java api)

$
0
0

Hi

I´m trying to retrieve an value from a class and returning a string value in to another class.

The return value is not a string it´s returning the class name and an object id.

 

Class IBAHandler

public class IBAHandler  {
public String s;
public String obj;

public String IBAHandler() throws WTException  {  
//this.changeOrder = co;
wt.fc.ReferenceFactory rf = new wt.fc.ReferenceFactory();
  wt.fc.WTReference ref = rf.getReference("VR:wt.change2.WTChangeOrder2:9049460");

 

  wt.fc.Persistable obj = ref.getObject();
   
  String s = obj;
 

 

   return  s;
   }

 

Class RetriveHandler

if (workshops != null) {

 

 

IBAHandler workshops = new IBAHandler();

this.workshops=s;

   

   } else {

    workshops="Workshops not set";

   }

 

(return workshops: ext.itt.www.productService.IBAHandler@231ef93)

 

Regards

Windchill maintenance release validation?

$
0
0

I'm trying to guage best practice for validation effort when installing a Windchill maintenance release (i.e. M050 to M060). Do you run through end to end validation? random samples? Validate customizations?

Workflow not started Error: You do not have acces to this object or it does not exist

$
0
0

As far as I know there have not been any changes but for some reason we are unable to start workflows. We can set the state to "start workflow" but the actual workflow does not run. Also, the objects do exist and I do have access to the folders where the objects reside.  We are using Windchill 10.1 and the issue is on our DEV server.  How would I go about fixing the above issue? I'm not quite sure where to start.


Workflow routing expression for different languages

$
0
0

We are using Windchill 10.1. I want to add a task to an existing workflow whereby the task can automatically determine if the object is English or French (attribute="EN" or "FR") and then initiate the next task. English following a specific route and French following a different route.  As far as I can determine, I should use a "conditional" task which would have a routing expression. My problem is, I'm not sure how to write this expression. What specifically do I need to enter in the routing expression properties?  For example, something like below: If (Language="EN" result="UpdateContent task" else Language="FR" result="OnlineReview task"  I don't have any experience writing expressions so if someone can provide guidance that would be great.  Thanks

Anonymous.properties

$
0
0

Hi friends,

 

Can you explain what is anonymous.properties ? What values we need to set to that  properties file ?

and where it will be available in Windchill installation location ? Can you give exact path ?

 

 

 

 

Regards,

Sandeep

Workflow / Lifecycle assistance

$
0
0

Let me start off by saying I have NO programming/code writing experience (except for basic html/xhtml). While I have been the Business Administrator for over 8 years, and now I have been tasked to become the Workflow/Lifecycle Administrator.

 

This is a foreign world for me. I have tried reading all of the PTC Workflow/Lifecycle documentation, and gone through the exercises but it’s still clear as mud to me.

 

I am able to create a basic Notification workflow, but I still don’t understand what I am doing. My biggest issue is not having a resource to ask questions or explain WHAT I JUST DID.

 

I am looking for some suggestions/resources (articles, books, classes, sites, etc) that may help clarify configuring/creating Workflow/Lifecycle.

 

Any suggestions/help would be greatly appreciated.

Bulk download of documents based on state

$
0
0

We have a report to generate the list of documents from a particular date to a target date along with its "State", we want to download all the documents thats in the output of the report in one single shot. Have any one developed the same or is there any API that can support the same?

Windchill and Active Directory integration

$
0
0

Hi,

 

I am new to Windchill (just followed Windchill admin training).

 

I am trying to integrate an existing Windchill 10 solution with Active Directory

I set up a JNI adapter with all the necessary ldap information to connect to Active Directory but when I try to log to Windchill with my AD user, the connection is refused.

I do not see any information about this connection attempt in the method server log files.

 

Did I miss a step in the configuration procedure ?

 

Any  help would be much appreciated.

 

Thanks

Connect existing Windchill setup to Active Directory

$
0
0

Hello,

 

Where can i find documentation on how to connect and existing Windchill 10.1 installation to our Active Directory?

 

Thank you,

Glen

Generating IDF .emn using Windchill ECAD Worker for Allegro

$
0
0

Hello ,

 

I use Cadence Allegro to design PCBs (.brd). And I need to generate IDF (.emn and .emp) using ECAD Worker for Cadence Allegro.

Does anyone know if this is possible? If so, how?

 

Thanks and Regards

Midhun Mathew


Enhancements to Revise Part and CAD Documents - 1. Revise Part Only

$
0
0

All.

 

I am looking at how to better handle relationships between Part and CAD Documents when you Revise.

In this discussion, I would like to propose an enhancement to this use case:

 

Set Up:

  • You have your CAD Documents related to a Part using some kind of build rule: Owner, Contributing Image, Image or Contributing Content.
  • You have a use case to Revise the Part and 0 to (N-1) of the build associated CAD Documents
    • e.g.
      • You have multiple CAD Documents describing the Part (e.g. model, drawing, manufacturing); but you only want to revise one of the deliverables (e.g. manufacturing model)
      • You have made a change to info on the Part not communicated to CAD (e.g. Option choices, Attributes like Cost/material).  These types of changes may require the Part to be Revised before check out/in; but since the information is not set in the CAD Document, you do not revise it.
      • You add/remove/change other related documents (e.g. specification, marketing info) and these changes may require the Part to be Revised before iterating it with new content.

 

  • In all of these circumstances, you end up having a single CAD Document version that has a build type of association to two Part Revisions:
    • e.g.
      • USE CASE 1 - Revise Part and Drawing
            • You revise the Part and its drawing:
              • BOLT A.10 (Design)
                • bolt.prt A.10        Owner
                • bolt.drw A.15       Content
              • Revise
                • BOLT A (Design) --> B (Design)
                • bolt.drw A  --> B
          • RESULT
          • BOLT A.10 (Design)
            • bolt.prt A.10        Owner
            • bolt.drw A.15       Content
          • BOLT B.1 (Design)
            • bolt.prt A.10        Owner
            • bolt.drw B.1         Content
        • If this is still early enough such that you can check out/in bolt.prt without revising, then the system will try to iterate and build BOTH BOLT A.10 and BOLT B.1


      • USE CASE 2 - Multiple CAD Files:
        • You have a flexible component, spring.prt with different CAD representations: spring_ext.prt and spring_collapsed.prt
        • All are related to same WTpart:
          SPRING A.1 (Design)
          • spring.prt A.1      Owner
          • spring_ext.prt A.1 Image
          • spring_colllapsed.prt A.1 Image
        • You now decide you need to revise the spring; but your process does not require the flexible components to be revised as well:
          • Revise 
            • SPRING A (Design) --> B (Design)
            • spring.prt  A  --> B
          • RESULT:
          • SPRING A.1 (Design) 

            • spring.prt A.1      Owner
            • spring_ext.prt A.1 Image
            • spring_colllapsed.prt A.1 Image
          • SPRING B.1 (Design)
            • spring.prt B.1      Owner
            • spring_ext.prt A.1 Image
            • spring_colllapsed.prt A.1 Image
        • Now a user opens spring_ext.prt in Creo, which has inheritance feature.  If s/he checks it out/in, then the system will try to build both SPRING A.1 and SPRING B.1
      • USE CASE 3 - Multiple Files CAD and Not CAD
        • In the system, the user has:
        • (Part) WIDGET A.10 (Design)
          • (CAD Doc) widget.prt A.10     Owner
          • (CAD Doc) widget.drw A.8      Content
          • (Doc) Widget Spec A.6            Describes
        • Now a PDM user needs to:
          • Revise WIDGET
          • Revise the Mfg Spec with new plan and price
          • Add a test plan
        • User revises:
          • WIDGET A (Design)  --> B (Design)
          • (doc) Widget Spec A --> B
        • User then checks out B.1 (Design) and adds new doc, widget test plan A.1
      • RESULT:
      • (Part) WIDGET A.10 (Design)
        • (CAD Doc) widget.prt A.10     Owner
        • (CAD Doc) widget.drw A.8      Content
        • (Doc) Widget Spec A.6            Describes
      • (Part) WIDGET B.1 (Design)
        • (CAD Doc) widget.prt A.10     Owner
        • (CAD Doc) widget.drw A.8      Content
        • (Doc) Widget Spec B.1            Describes
        • (Doc) widget test plan A.1        Describes
      • If widget.prt is checked out/in it will try to build WIDGET A (Design) as well as B(Design)

 

 

PROPOSAL:

Change the system to only build the LATEST Part revision.

 

 

Any thoughts?

Anyone have a use case where building ONLY latest Part revision would NOT be good?

 

 

Thanks

Jennifer

How to add more actions for user in the user profile page

$
0
0

Hi to all.

Some users want to edit them profiles (add avatar image). How can I add this action? In the manuals I can find only about changing user password action.

Thanks.

Any API's for accessing (WTPart) IBA's from remote client?

$
0
0

LWCNormalizedObject is supported server side only, so I'm getting the exception reminding me of that when attempting to use in a remote client (Java class invoked from the Windchill Shell).

 

Is there something I can use without needing to run a "fake" workflow to get the code to execute "server side"?  My preference is a Customer visible API or a really detailed usage, syntax etc.

Did Similar User go away in WC10.0?

$
0
0

In WC PDMLink 9... I could create new users by 'copying' them by choosing the similar to function within the edit user window.  Now in 10.0 I don't find that ability.  Has it been removed or am I just over looking something?  The online documentation hasn't been helpful on this subject either.  Just saying.

 

Any assistance would be appreciated.

Multiple values for an attribute

$
0
0

Hi,

 

With some copyed old wtparts we see that there are multiple values for a single attribute in Windchill, see screenshot.

Can anyone explain this ? Can this be an inheritance from the Intralink time ?

 

Best regards,

Bernard

Viewing all 6049 articles
Browse latest View live


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