Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

Re: What are the changes in WBM 11 M020 configuration?

$
0
0

In "Windchill Bulk Migrator Pre-Load Validation" window, the value of the property "MigrationSite Name" doesn't get populated in Windchill-to-windchill migration scenario. Ideally it should get populated automatically. What could be the reason?


Re: How to stop a User selecting himself as an Approver in Promotion Request?

$
0
0

Thank You Bhushan you helped me very much.

Your answer is definitely the one...

 

Massimo

Re: dual revision scheme

$
0
0

There seems to be a lot of love for state based version schemes out there with the community big hitters. This is interesting.

 

We don’t currently use them, but I’m guessing if we surveyed all our engineers and asked them cold, “would you like to have them?” I suspect we would get more yes than no. In pre Windchill days some parts of the business did use 2 schemes.

 

After giving this some thought we recognized that state based version schemes are in essence a semi-intelligent numbering system. Comparisons can be drawn to intelligent part/document numbers. In our case the additional information stored in the intelligent revision number can more easily be captured in the lifecycle state.

 

For us, not having them simplifies configuration and use of Windchill quite a bit. There are less buttons to click, and a less complicated process to follow in general.

 

The only problem we have so far encountered with not having state based versions is that many people simply don’t like “the idea” of the first production revision being something other than “1” or “A”.

 

What do others think? I would be interest to hear the business drivers and perceived pro/cons?

How to format Date (string) Attribute in a customised copy of the "download delegate" ?

$
0
0

We are experimenting with a customised a copy of the OOTB sample file, DefaultModeledAttributesDelegate.java. So far, we have managed to modify this file by following some similar examples from PTC Technical Support, and by combining the information given in the WGM manuals with the steps outlined in TPI 127994 we have found out where to put it on the server, how to compile it, and how to make Windchill use the resulting class file. What we have may not be elegant or efficient, but it is a useful start as it does work !

 

In our customised file we have a line that retrieves the 'modified on' date and passes it to a string, which in turn gets used as the value of an Attribute that we have already setup as a Custom File Property in our SolidWorks template file(s). This is needed for SolidWorks (which does not get given the Attribute PTC_WM_MODIFIED_ON by the U-WGM), but it is not needed for Pro/E (as it does get given the Attribute PTC_WM_MODIFIED_ON by the ProE-WGM), as discussed in : http://communities.ptc.com/message/181114#181114

 

The line of code we have used (which works) is :

String ModifiedOn = PersistenceHelper.getModifyStamp(cadDoc).toString();

 

Unfortunately the value of the text string attribute that this code creates is not formatted by the global system settings we have set for date display formats (and I'm not very surprised by this). The resulting Attribute does get the right date and time for the file modification, but it is in the wrong date format (ie. it defaults to "yyyy-MM-dd HH:mm:ss.S"). After a bit of hunting in the JavaDoc pages I found two classes that look like they are relevant : WTStandardDateFormat, which in turn has a link to SimpleDateFormat.

 

From reading the description on those pages, as well as Internet pages like http://javatechniques.com/blog/dateformat-and-simpledateformat-examples/, or http://www.roseindia.net/java/javadate/date-format.shtml, it looks like SimpleDateFormat can do what we want.

 

Hence my question is can a Java expert tell me how to modify the line of code given above, to make use of SimpleDateFormat to re-format the result from getModifiyStamp, as either "dd-MMM-yyyy HH:mm:ss z" or "dd-MMM-yyyy HH:mm:ss" (both of which are valid formats in SimpleDateFormat), before it is put into the text string ? I am hoping this is trivial for a Java expert,...

 

 

 

 

...and it is. The answer provided by a colleague was to use the following lines of code in the .java file instead of the one shown above (they do need to be placed in the relevant sections of the java file though...). I have tested it briefly tested, and it appears to work as required :

 

import java.text.DateFormat;
import java.text.SimpleDateFormat;

 

SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MMM-yyyy HH:mm:ss");
String ModifiedOn = dateFormat.format(PersistenceHelper.getModifyStamp(cadDoc));

 

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

UPDATE (05-Apr-2017) : the above lines were replaced with the following alternative, to make it work in v10.0/10.2 and above :

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

import wt.util.WTStandardDateFormat;

 

String ModifiedOn = WTStandardDateFormat.format(PersistenceHelper.getModifyStamp(cadDoc),"dd-MMM-yyyy HH:mm:ss zzz",Locale.UK,TimeZoneHelper.getLocalTimeZone());

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

 

The next thing I need is some conditional logic to make use of the class EPMWorkspaceHelper.manager.getUpdateCounter to set the value of a Boolean called something like modifiedStatus (true or false) and then convert this into another text string Attribute, called something like SHOW_WM_MODIFIED_LOCALLY, but with the Boolean result turned into a text string taken from a pair of values of our choosing such as "+" and <blank>,or "Yes" and "No", so that this can be shown on a SolidWorks drawing just as PTC_MODIFIED can be shown a Pro/E drawing.

 

Can anyone help with this ?

 

 

Message was edited by: Nick Drought to show the answer provided by a colleague, and the next question.

Re: dual revision scheme

$
0
0

Thanks for all the info. Personally, I think not having the character change simplifies things greatly and is just another version of smart part numbering, which was good in its day, but somewhat unnecessary today. Unfortunately, with the nature of the business I am currently connected to, I don't have that option. So it would have to be state driven.

All this is ok, except for the fact that Windchill is not the friendliest piece of software out there. It takes a lot of effort and code writing many times in order to accomplish something rather simple.

My previous experience was with Solidworks PDM Pro where it was very easy to accomplish something like this. In Windchill, not so much. In many cases I know what I want to do, but getting there takes an enormous amount of hurdles.

Re: dual revision scheme

$
0
0

About "smart" or "intelligent" numbering...

Agree that this appears to be the main reason to implement - and in fact I believe it is somewhat helpful.

 

But the main reason to use it is that different states and state transitions along with different user permissions are in effect for numbered Revisions vs. Letter Revisions.  This very elegantly allows for distinct different business processes for the same data as it matures from development to production (along with as complex a one-time process for production release as desired).

 

For development (which just happens to be identified by Numbered Rev's (OTB - some switch these, esp. in Europe), set things up for minimal oversight / approvals and allow Revise freely.

 

For production (which just happens to be identified by Lettered Rev's) set things up for use of formal change management, and Revise only with an approved ECR.

Wondering if the support is extended with RHEL 6.9(64bit)?

$
0
0

According to the software matrices,FlexPLM is supported on RHEL 6(64bit).

So, wondering if the support is extended with RHEL 6.9(64bit)?

Installing WC 11 M020 - Service Pack DVD?

$
0
0

Attempting to install.  Can't figure out what software download it's looking for for Service Pack - please see attached.  I've installed Windchill many, many dozens of times - never ran into this before.


Re: Installing WC 11 M020 - Service Pack DVD?

$
0
0

So.... Install successful starting solutions installer this way.  But, had to create a database manually (Oracle) first.  Not sure why but it allowed it to get past OCU.  May be helpful to others.

Re: Installing WC 11 M020 - Service Pack DVD?

$
0
0

Did you set SQLNET.AUTHENTICATION_SERVICES to "NONE" in the sqlnet.ora file?

By default the property SQLNET.AUTHENTICATION_SERVICES is set to "NTS".

Re: Login failed for user, Failed to acquire JDBC connection

$
0
0

The moving from 10.2 to 11.0 is possible only in during the upgrade process.

Re: A query that will list all WTParts in the system along with the folder they are stored in

$
0
0

Hi Binesh, Thank you for the details explanation. This information helped me a lot.

Re: How to Customize Affected Objects View Table

Re: How to Customize Affected Objects View Table

Re: Anyone used Rehost Utility 3.0 and do you have documentation, instead of using PTC documentation? Thanks,

$
0
0

And still no documentation other than PTC's pathetic attempt at such.


Re: Installing WC 11 M020 - Service Pack DVD?

$
0
0

I had to reboot for another reason in the middle of the install and so wiped out what I had and started over, with everything removed and clean.  On second try, it all worked perfectly - starting with "setup" under the CPS01 bundle DVD, not the Solutions Installer.

Re: Login failed for user, Failed to acquire JDBC connection

$
0
0

Update and clarification:

Windchill Directory Server starts, HTTP server starts, but the Windchill server will not. See error above.

 

Question:

Using xconfmanger -s wt.pom.dbPassword......... is that my LDAP password? If so, when I use that property to change/update a password and then open the Control-Panel.bat under WindchillDS, I receive credentials invalid (only way to login is using my initial password upon installation).

How do I grant read access to just one specific folder?

$
0
0

I was asked to grant a read-only access to contents in a single folder (and its sub-folders), within a product context to which this particular user does usually have access (they're not part of any team that has access to this product context).

 

Is that feasible?  And if so, how do I go about doing this?

I tried to use the "manage security" function and have granted "Read" access to this user / group, but now I don't know how they can navigate to this folder and add objects to their workspace etc...  - in other words, the product context does not show up in their list of places to browse...

Re: Any idea on how long it takes to run Oracle to SQL server data migration ? Oracle DB is 100GB

$
0
0

I found it to be a pretty simple process following PTC's documentation - but you must run install and run the pre-migration utility on your Oracle DB server beforehand as this will identify any issues with your source DB before the migration is run.

 

A couple of things that occur to me:

 

Creo View in Chrome browser

$
0
0

I can't get Creo View to work in the Chrome browser after following PTC instruction on their support website. I'm on Windchill 10.2 m03 and CreoView 3.0, any help on work arounds.

Also does anyone know how to have shrinkwrap parts show up in Creo View.

Viewing all 8876 articles
Browse latest View live


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