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

How do I get Setup Participants in PDMLink 10 to act like it did in 9.

$
0
0

For ease of permissions management I put users in groups.

I then put those groups in roles in libraries.

In a PDMLink 9.1 setup participants workflow task, I could assign a task to any user in the applicable role no matter which group they were in. I can't even see the groups.

In a 10.x setup participants workflow task, I see the groups in each role and users not in a group that have been added to roles but no users if they are in a group.

There is no way to expand the group or any setting that I can find to allow me to select users that are in groups.

Without groups, my permissions management is shot.

This work well in 9.1 but has been completely reworked in 10.

 

I submitted a case to PTC TS and went round and round, before and after escalating the case, trying to explain the issue and they all acted like they had no idea what I was talking about.

Eventually one of them said that it was probably impossible but he would make sure with R&D.

 

This functionality is necessary for our processes and just makes sense to have in the application.

I am dumbfounded as to why PTC TS acts like they have not heard of this, why I can't find any information on this, and why no one else seems to be complaining as I am.

 

I now need to consider third-party solutions but don't really know where to start.

 

Had anyone else had this issue?

Any solutions or ideas?


Solidworks 2014 windchill 10.2 M020 custom check in issue

$
0
0

We recently made the jump to Windchill 10.2 M020 and Solidworks 2014.  We also run Solidworks 2013 & Creo2 with Windchill 10.2

 

Has anyone had any issue with custom check ins?  It seems to crash Windchill.  Auto check ins work fine, as do custom check ins with SW 2013 and Creo2.  This issue seems to be specific to SW2014 and custom check ins only.  

Query object through API

$
0
0

Hi! I qant to query object through windchill api like this:

 

QuerySpec qs = new QuerySpec(WTDocument.class);

                    qs.setAdvancedQueryEnabled(true);

                    int ind = qs.appendClassList(WTDocument.class,true);

                    SearchCondition sc = new SearchCondition(WTDocument.class, WTDocument.NUMBER, SearchCondition.LIKE, "173.157.%");

                    SearchCondition sc2 = new SearchCondition(WTDocument.class, WTDocument.FOLDERING_INFO, SearchCondition.LIKE, "folderName");

                    qs.appendWhere(sc, new int[ind]);

                    qs.appendAnd();

                    qs.appendWhere(sc2, new int[ind]);

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

                    while (qr.hasMoreElements())

                    {

                              WTDocument doc = (WTDocument)qr.nextElement();

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

                    }

 

But I have an exception that attribute "folderingInfo" is not the member of the wt.doc.WTDocument class.

Whats wrong? How can I create the complex query with a lot of searchConditions?

How to link atributes from WTDocument to EPMDocuments.

$
0
0

Hello all,

 

I've setup a WTDocument (specifications document) with several parameters that are hand filled for each new project (Projectlink).

 

Is there any way to make this parameters automatically available for each part and assembly created in the project?

 

Thanks,

António Baridó

Setting Date Effectivity on bulk data is consuming lot of time

$
0
0

Currently working on a data-migration project where Legacy ERP data needs to be loaded as WTPart.

Created WTParts and the Structures using data dump.

 

Now trying to set Date Effectivity on the loaded parts with respect to the Parent Parts.

Have developed an utility with the help of PTC case CS59121 to load Data effectivity on bulk data.

 

sample code : 

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

EffManagedVersion[] effVers = new EffManagedVersion[1];

                                                  effVers[0] =wtpartLatest;

                                                  EffGroup effGroup;

                                                  String dateStartString = startDate;

                                                  Date datestart = sdf.parse(dateStartString);

                                                  Locale locale = new Locale("en-US");

                                                  startDate = WTStandardDateFormat.format(datestart,WTStandardDateFormat.WF_STANDARD_DATE_ONLY_FORMAT, locale,TimeZone.getTimeZone("GMT"));

                                                  effGroup = new EffGroup(null,wt.effectivity.WTDatedEffectivity.class,(startDate+"-").trim());

                                                  effGroup.setEffTypeModifier(EffTypeModifier.EXACT);

                                                  effGroup.setEffContext(wtpartParentmaster);

                                                  //EffGroupAssistant.appendEffGroups(effVers ,new  EffGroup[]{effGroup});

                                                  EffGroupAssistant.appendEffGroupsQuietly(effVers ,new  EffGroup[]{effGroup});

                                                  PersistenceHelper.manager.refresh(wtpartLatest);

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

 

While loading the Effectivity came to see that some WTParts are being used as BOM Components under n number of BOM Assemblies(WTParts).

It almost took 1 hour to update 170 objects.

 

Now it is consuming lot of time. Please help me in this regard.

 

 

Thanks,

Niranjan

Mapping System Attributes and File Properties to Creo

$
0
0

There are a series of Windchill preferences that define the mapping between Windchill system attributes and CAD tool properties (Creo parameters).

ptc_wm.PNG

For reasons I do not comprehend, PTC has chosen to not allow some of these to automatically propagate to Creo models, even though this is EXACTLY what these preferences are supposed to be setting.  These include, but are not limited to, name, number, and organization.wm_number.PNG

PTC's current "solution" is to have users create a customization to the download service and manually map these Windchill attributes to a different set of Creo parameters.  The limitation with this method is that it only sets these values the first time the object is downloaded to a workspace.  Any changes made to these values on the Windchill side are not propagated to the CAD models already in the workspace.

 

This feels like a case of the Windchill team not talking to the Creo team during development of this functionality...

 

Questions

  1. What use is the preference mapping Windchill attribute "Number" to CAD property "PTC_WM_NUMBER" it the parameter isn't created (or even accessible) in the CAD model?
  2. If the mapping is changed to something else, will the Creo workgroup manager automatically create the new, custom parameter?
  3. If the mapping is changed to something else, will it keep the value between the new parameter and Windchill automatically synchronized?
  4. Is there some other way to get these other attributes mapped to Creo parameters and kept up to date?  (The download service won't do it.)

 

For additional reading, here are related articles, ideas, and discussions.

Warning: This server is requesting that your username...

$
0
0

Our Windchill server address is http://xxx.xxxxxxx.com (no https) so each time we start Creo, we get the following message and have to click OK to continue. This isn't the end of the world but if possible, I would really like to eliminate the need to click OK.

I've tried changing IE settings, added our server as a "trusted site", etc but no luck. Does anyone know how to fix it?

2014-10-10_15-18-19.png

Re-publish ideas needed

$
0
0

There doesn’t appear to be an out-of-the-box way to force everything to republish.

 

Due to changes in our publish rules (additional files) and the creation of a publish filter (for extended positioning assemblies), I need to republish everything.

 

Unfortunately, manually republishing ignores the new publish filter.  To make it work, all existing representations have to first be deleted, then the objects submitted again for publishing.

 

  • Does anyone have an easy way to delete and re-publish the latest iteration of each revision of all cad documents?

 

  • If not, what about deleting and re-publishing the latest version only?

 

  • Last resort, does anyone have an easy way to simply delete ALL representations system wide?

 

Thanks!

 

P.S.  I realize you can develop custom publish schedules, but I don’t have any idea how to work with/edit/create this custom Java code.


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

Windchill logout?

$
0
0

We share a couple of laptops.  On one, Google asked if we wanted the password saved after logging into Windchill.  This seems to have locked us into a member account, since we can't find a logout button anywhere.

 

Looking at similar discussions, I'm not the only one looking.  So how do I log out?

ACL – Old Role groups vs New Role Principals

$
0
0

In the past when an ACL policy rule was created that applied to a specific role, I can see that the principal referenced by WTAclEntry is of type wt.org.WTGroup. This “Role Group” shares the name as the container team role.

 

For more recently created but equivalent rules, I can see the referenced principal is of type wt.org.WTRolePrincipal.

 

Example

Old rule - ‘principal = Group’ and ‘principal name = teamMembers’

New rule - ‘principal = Role’ name ‘principal name = Team Members’

 

Anybody know when and why this change was made by PTC?

 

We will embark on a big ACL clean up shortly, is there any benefit to update old rules that currently reference role groups so they reference role principals, which appears to be the new standard?

Add step to wizard

$
0
0

Hi.

Is there simple OOTB solution to add step in WTDocument creation wizard that allows link this new document with chosen WTPart?

Thanks.

How do discard changes to local workspace but not server workspace?

$
0
0

I must be missing something super simple here, but how does one discard the changes to an object in a local workspace without losing the changes in the server side workspace?

 

Steps to reproduce

  1. Check out object
  2. Open in Creo, make changes, save.
  3. Upload changes.
  4. Make more changes in Creo, save.

 

Need to discard changes in step 4 and return to condition of object in step 3.

 

"Update" doesn't work - "Nothing is Out Of Date in Workspace"

 

Frames (or events) aren't an option (in this particular case).

 

Current workaround is to launch Creo on a different PC, export the object from the same workspace (with only the server side changes), physically transport it to the other PC, and re-open, overwriting the last local workspace version.

 

Is there a better way?

same Headers / linking Headers for a report with subreports?

$
0
0

Hello everyone,

 

I have generated a report that contains 6 subreports. All the subreports shall have some fields in the header and footer that are the same for each subreport (i.e. name of the system) but also fields that are specific for each subreport (i.e. type of analysis (FMEA, FTA ...)). When I use this template for a different system I have to change the fields on each of the subreports. This is very time consuming and can lead to errors since I have to generate reports for 70+ subsystems.

 

My question is: Is it possible to have a header that contains fields that are specific for each subreport and a header that contains fields that are needed on each subreport? Or is it maybe possible to "link" labels between reports so I have to change it in one place? Or is there a different solution to overcome my problem?

 

Thanks and best wishes. 

How to get parent change order from changeActivity2 object by java code?

$
0
0

Hi.

How to get parent WTChangeOrder2 object from changeActivity2 object by java code?

Thanks!


Upgrade from Oracle DB 10 to 11gR2 with PDMLink 9.1M070

$
0
0

Hello

 

    We have recently migrated our PDMLink to a 9.1M070 version. This PDMLink is connected to an old Oracle database 10gR2 and we want to upgrade to a 11gR2 oracle database.

 

Is there a strategy to perform this upgrade ?

 

the Oracle Patches in http://support.ptc.com/appserver/wcms/standards/freefull_cs.jsp?&im_dbkey=128625&icg_dbkey=893 seems not to be applicable to the 9.1M070 ! ! Is there any PTC patch to install ?

what are the recommandations for the Oracle DB creation ?

 

thanks

Didier

How can I export numerous files out of Windchill ProjectLink?

$
0
0

We are currently using Windchill 10.1.  We are trying to export hundreds of files (tiff graphics) out of Windchill. Does anyone know how to do this? The graphics are located in one folder. We need a way to export all the files at once.  Any ideas would be great.

How to add user to the document team with the accsess refreshing?

$
0
0

Hi.

I add user to the document team like this:

WTDocument wtd = ...;

                              Team docTeam = (Team)(wtd.getTeamId()).getObject();

                              docTeam.addPrincipal(Role.toRole("ASSIGNEE"), as);

 

User added successfuly, but he don't have permissions for modifying this document. If add user on the same role by wizard everything is nice.

Maybe I should refresh something else?

Alternatives to Windchill for Creo CAD management

$
0
0

Greetings,

I am looking for customer cases where either Enovia (Dassault) or Agile (Oracle) are being used as an alternative to Windchill, particularly CAD data management.

 

We are evaluating consolidation of PDMs as we own all three.  I am specifically looking for what to expect as far as pitfalls, workarounds, limitations, etc. as pertaining to the use of Creo Parametric, Schematic, View, Illustrate, etc.

 

Any help will be greatly appreciated.

Windchill 10.1 to 10.2 is it a update or Upgrade?

$
0
0

Hi guys,

 

I want to know that changing Windchill 10.1 to Windchill 10.2, is it a update or upgrade?

 

Thanks in adance

 

Regards,

Rajeshkumar Balaganesan

Viewing all 6049 articles
Browse latest View live


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