Quantcast
Viewing all 6049 articles
Browse latest View live

Unable to register Creo and Auto CAD with PDM Essentials 10.2 M030

Hi all,

 

I'm trying to integrate Creo 3.0 M080 and Auto CAD 2016 with Windchill PDM Essentials 10.2 M030 (CPS13) but getting error " Invalid server location".

We've Windchill url like abc.xyz.com:81/Windchill. We're using port 81 for web server.

We're able to access windchill through browser with out any problem but  unable to do CAD integration.

I'd like to mention that we're not using VPN to access Windchill server and default browser for Creo is IE.

Kindly help me out.

 

Regards,

Krishna Chaithanya.


Windchill All-IN-ONE Startup & Windchill All-IN-ONE Shutdown - Batch Script

1. Windchill All-IN-ONE Startup

 

rem Start Windchill Directory Server

D:

call D:\ptc\Windchill_10.2\WindchillDS\server\bat\start-ds.bat

 

rem Start Apache HTTP Server

cd D:\ptc\Windchill_10.2\HTTPServer\bin

start httpd.exe

 

rem Start Windchill

cd D:\ptc\Windchill_10.2\Windchill\bin

windchill.exe -w "D:\ptc\Windchill_10.2\Windchill" --java ="D:\ptc\Windchill_10.2\Java\jre\bin\java.exe" start

 

rem Exit

 

2. Windchill All-IN-ONE Shutdown

 

rem Stop Windchill

D:

cd D:\ptc\Windchill_10.2\Windchill\bin

windchill.exe -w "D:\ptc\Windchill_10.2\Windchill" --java ="D:\ptc\Windchill_10.2\Java\jre\bin\java.exe" stop

 

rem Stop Windchill Directory Server

call D:\ptc\Windchill_10.2\WindchillDS\server\bat\stop-ds.bat

 

rem Stop Apache HTTP Server

taskkill /F /IM httpd.exe

 

rem exit

Coloring of restricted substances over threshold in excel material content report

Many of our customers want to know why a component is failing for a particular regulation and demand to indicate the failed substance in the material content report. At present it is required to search the MPN individually and click on the fail(X) symbol and the system shows the result.

 

Since this validation functionality and information exists in the system database somewhere it might by an easy development task to include this feature in report.

Windchill Superuser Needed!

Large DoD seeking to hire a Windchill Superuser to support all departmental users at all levels. This person will facilitate everything from basic login assistance to supporting Product Engineers using Windchill 10.2.

Image may be NSFW.
Clik here to view.

PTC Pro/INTRALINK 10.2 Oracle 12.1.0.2 M030; where to find it?

Simple question:

 

Where do I find this download?

The PSI installer says I need in my staging area.

I've looked through all the downloads for PDMLink 10.2, PRO/Intralink, PRO/Intralink Access and PRO/Intralink Single Site sections of the down load page.
All I can find it the Oracle Software Assistant.

Image may be NSFW.
Clik here to view.
pro-intralink-oracle.JPG

 

Thank you.

 

Regards,

 

ML Starkey

java.lang.Exception: deploy failed for (ie) with return code = 1

Hello,

I get this error java.lang.Exception: deploy failed for (ie) with return code = 1 >

 

 

when trying to install Windchill PDMLink 11.0. on to a Windows Server 2012 Std R2 64Bt OS. Can some one help.

 

Thanks,

Ming

 

PTCSOLNINSTALLER_PtcInstall

LOG:

 

INFO   2016-05-09 16:27:30 - 

INFO   2016-05-09 16:27:30 - Total time: 30 seconds

INFO   2016-05-09 16:27:30 - Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

DEBUG  2016-05-09 16:27:31 - Installation is Aborting.  The installation cannot continue.

DEBUG  2016-05-09 16:27:31 - 正在中止安裝。 無法再繼續安裝。

 

FATAL  2016-05-09 16:30:32 - Aborting installation.

FATAL  2016-05-09 16:30:32 - 正在中止安裝。 無法再繼續安裝。

 

FATAL  2016-05-09 16:30:32 - java.lang.Exception: deploy failed for (ie) with return code = 1

FATAL  2016-05-09 16:30:32 - aborting: original exit_code = 2

FATAL  2016-05-09 16:30:32 - aborting: normalized exit_code = 2

DEBUG  2016-05-09 16:30:32 - SHUTDOWN REQUESTED

DEBUG  2016-05-09 16:30:32 - (X) commiting registry

DEBUG  2016-05-09 16:30:33 - (X) shutting down service manager

DEBUG  2016-05-09 16:30:34 - (X) cleaning up temporary directories

DEBUG  2016-05-09 16:30:34 - Exiting with exit code: 2

DEBUG  2016-05-09 16:30:34 - java.lang.NullPointerException

DEBUG  2016-05-09 16:30:35 - cleanUp()

DEBUG  2016-05-09 16:30:35 - calling cleanUpWin32()

How do I get the PTC Windchill printer to work?

How do I get the PTC Windchill printer to work?  I try to print to a file, but I get an error message that says "Printer not activated, error code -30"

“Update Worker" for data managed in Windchill (e.g. Solidworks 2014 -> 2015)?

As Solidworks needs to convert files to the new file format after a major version upgrade to ensure performance and stability we thought about the need to have an “Update Worker” to convert at least the catalog parts to a new Solidworks version.

 

We thought about a queued processing with multiple workers just bringing up the files in Solidworks, save to UWGM Workspace and check-in with admin permissions including a comment that there should be no change to the geometry.

Has anybody done something similar already?

How to ensure to touch a file only once if it is used in multiple assemblies and added to the queue as a standalone part as well?

 

Any help would be appreciated,

Stephan


info*engine implementation how to do , i am newbe in plm as well as windchill

info*engine  implementation how to  do , i am newbe in plm as well as windchill

Publish Rules

 

Hi all,

 

I was reading the documentation on Publish Rules in the Visualization services guide.

 

I have few questions.,

 

1. Looks like the publish rules are only for EPMDocuments, is this true?

 

Regarding the trigger for publishing. the documentation says.,

 

 

There are five values that will trigger Publish Rules processing:

• <publish on=”checkin”/> — the trigger for Publish Rules evaluation is a

publish job for an EPMDocument resulting from a check-in.

• <publish on=”create-representation”/> — the trigger for Publish Rules

evaluation is a publish job for a Create Representation action (via the New

Representation wizard) executed from an EPMDocument (or its ownerassociated

WTPart) from the Representations/Annotations table.

• <publish on=”schedule”/> — the trigger for Publish Rules evaluation is a

publish job for an EPMDocument resulting from a job submitted using the

WVS Job Scheduler.

• <publish on=”unknown-source”/> — the trigger for Publish Rules

evaluation is a publish job resulting from any other event, such as from a

manual republish, republish on change, workflow initiated (doPublish),

etc.

• <publish on=”manual-post”/> — specifies that a matching EPMDocument

can have manual post-publishing

 

Is there any trigger for Publish on "PDM Checkout"? Because OOTB ,when the carry forward is turned off, it also disables publishing when "PDMCheckout".

 

I have a related post here...

 

publish.copyrepresentationsforward

 

Any suggestions on how to handle this requirement? (Customization is the last option for me).

 

Thanks

Hari

Search from excel to PDMlink

Can we connect a link between excel and pdmlink.  .. ? I am working on a specific project, where i want to search  available items in PDMlink from excel which is stored locally .. ?

Change process and Workflows

Hi All,

 

Being a beginner in windchill, I would like to know about Workflows and Change Process in detail.

 

Thanks,

Riyaz.

How to get list of Released objects(documents) in mail notification in promotion approval request?

Hi Gurus,

 

I have one customer requirement that, After approving the list of promotion objects, those object names, numbers and version should be included in a mail notification.

Kindly suggest if there is any work arounnd/customization code available for the same.

 

 

 

Regards,

Mahesh Kumar G

Image may be NSFW.
Clik here to view.

What type of association has to be used for 2D drawing?

While association drawing with WT Part we are having 2 options..

 

1. Content

2. Contributing Content.

 

In these two which one we have to use. What is the difference between these two association tyes?

Windchill Server Domain name change.

We have changed our Windchill Server domain name from df-wc-test.hs.local to df-wc-test.dfinc.hs.com.  Updating the Repository entries, Web Server host name entries, Windchill entries and Directory host name server entries will work? Please let me know if there are any additional steps to be performed.


How often are you applying Windchill 10.2 CPS (Critical Patch Sets) and how long is it taking?

We have multiple 10.2 Windchill environments (development, testing, staging) which are also clustered, some with multiple nodes. 

We will compare the files being updated to make sure that we are good on our existing customizations and configurations.

We will also do some level of testing before executing the PSI on production.

 

1. Back up codebases on all 4 prod nodes

2. Run CPS PSI on cache master node

3. Fix permission on IE tasks (we have non default settings on some which get wiped out when running the PSI)

4. Back up modified cach master codebase

5. Move\rename pre-CPS codebases on MS nodes

6. Restore cache master codebase from step 4 on MS nodes

7. Update new MS node codebases with site.xconf from pre-CPS codebase and propagate properties

8. Fix Creo publishing configuratin on each MS node

9. Fix middleware credentials on each MS node

10. Restart and a quick technical checkout

 

Just focusing on these 10 steps for production it takes a good 4-5 hours.

 

Our management is interested in what others are doing in the area of Critical Patch Sets; how often (monthly, quarterly, etc.) and how long (in hours per environment).

Can you guys share how often and how long (please specify monolithic or clustered)?

Notification Robot does not add String variable in Recipients - Variable section.

Dear All

 

My requirement is to send an mail to external suppliers along with the Primary content and metadata of the object but unfortunately Notification Robot does not have an option to add custom variable of type String in the Recipient - Variable Section.

Due to this missing feature, I would have to write a custom code to handle this situation. Would have been so easy and all OOTB if we have an option to just add the String variable to to Recipient which would send an mail along with attachments and metadata information.

Let me know your thoughts on this and if we all agree I can go ahead and submit the Product Idea.

 

Regards

Mahesh Gupta

Windchill Customization@

Workflow: Remove Role from Activity Participants if Role is empty

Hi everyone, I have a “Setup CRB” activity. This activity edit has the ability to see the 10 different roles (purchasing, QA, Engineering Lead etc) that are the participants in the FOLLOWING activity which of course is the “CRB Review”. So during the “Setup CRB” activity, the assignee gets the tasks and looks at the participant members list. He/She will see all of the roles filled out (they are populated context roles) and then remove the various personnel not required for this CRB review. Now this works well enough BUT if a role is empty it then fails over and sends that task to the responsible role. This creates an issue. So here is the solution I’m thinking of using:


 


I am trying to build a snippet of code that I can place in the start transition of the “CRB Review” activity that will grab all of the participant roles, cycle through them and if they are empty, they will be simply be removed from the required participant list.


 


If this is too big of a code issue there is a plan B that would allow the CRB Review activity to be broken out into 10 different tasks with a code check that looks to see if a desired role is populated or not and if not, then simply route around the activity and skip it. I have the code to handle that.


 


Any thoughts? Thanks in advance!


 


Regards,


Getting the most from the WVS Job Scheduler

In this article, I’ll provide some tips and tricks that will hopefully enable you to really start leveraging the potential of the WVS Job Scheduler.  I’m sure many of you are aware of this tool and using it already, at least in a basic form but for those that are new to it, here’s a quick intro.

 

The WVS Job Scheduler allows you to schedule the creation and execution publish, print, thumbnail, interference detection and clean-up jobs, in a specific context, at a specific day / time and optionally repeats the job execution on a timed schedule.  Depending on their type, these scheduler jobs will result in Publish, Clash or Print Jobs being added to the WVS Publisher Queue or the execution of clean-up or thumbnail generation for the objects returned by a predefined Windchill query.

 

Important Note: The out-of-the-box methods, although useful, are intended as samples only and are not optimized for large numbers of objects. To avoid impacting your server's stability, do not execute these methods in the Site or Organization context of a production server unless you are confident your server can cope with the queries and Publish Jobs that might result.

 

Before we get started. some useful tips that might avoid embarrassing Scheduler faux pas:

  • Always test scheduler jobs using the Only create log file option
  • Limit publish jobs by launching the WVS Job Scheduler Administration utility in Product or Project contexts
  • Increase the wt.pom.querylimit for particularly large contexts (CS124149)
  • Always delete all WVS Scheduler Jobs prior to migration to avoid issues relating to changes in the database model (CS64089)

 

Customized Scheduler Methods

Out-of-the-box scheduler methods are defined in com.ptc.wvs.server.schedule.ScheduledJobQueries.class and PTC ships the Java source under the prog_examples in your Windchill home.  The ScheduleJobs.class since Windchill 10.0 only provides supported utility methods.

 

The basic approach for creating a custom Scheduler Method is documented in the Custom Publishing Help Center topic (PDF).  You’ll need basic understanding of Java programming and Windchill customization. The intent is that you use the sample methods in ScheduledJobQueries.java to create your own customized methods.  The only limit is your imagination!

 

In the References below, I include links to a few articles that provide real world examples of custom scheduler methods.  Feel free to download, reuse or customize these to your own requirements.

 

The perennial challenge for PTC has been providing Scheduler methods that will satisfy all customers’ needs.  One approach, that allows you to be in complete control over what is and is not published, is to create a custom method that simply processes a list of OID's from a text file you created.  With basic Windchill customization skills, this should not be difficult to implement as followings:

  1. Create the text file containing the EPMDoc OID's of the objects that need to be processed; this can be achieved using SQL, Windchill Query Builder or even Creo View Search tools, for example.
  2. Create a WTDoc and upload this file as the primary content (could make this a WTDoc sub-type, context specific and be access controlled as required)
  3. Write the custom Scheduler method (using a relevant out-of-the-box method as a basis) that:
    1. Locates the WTDoc
    2. Downloads the primary content file for the latest iteration
    3. Reads the OID's from it in to an array
    4. Cycles through the EPMDoc OID’s and returns a WTList of EPMDocs to publish and/or Representations to republish

 

Note: Article CS211115 now also provides sample code for the scheduler and command-line scenarios to do exactly this!

 

Why not dive in and try it?  Or maybe one of you has already achieved this and is willing to share the code here?

 

As always, I welcome your comments, questions and will answer them if I can.

 

References:

Basic WVS Scheduler info:

WVS Scheduler articles providing some real world examples of what can be achieved:

  • Article CS211115 provides a method that enables the republishing (or publishing) of default EPMDoc representations based on criteria defined in a separate properties file, e.g. CAD content type (file extension) and life-cycle state.
  • Article CS187307 provides an alternative to the out-of-the-box methods for use with large query results by batch chunking rather than using a paging query spec

getUsedByWTParts return latest iteration of all revision. How do I get only latest iteration of the latest revision

Hello.

 

I am trying to get the parent parts of a WTPart, using the WTPartHelper.service.getUsedByWTParts.

Here is what I have used:

 

 

package ext;

 

import wt.fc.ObjectIdentifier;

import wt.fc.PersistenceHelper;

import wt.fc.QueryResult;

import wt.part.WTPart;

import wt.part.WTPartHelper;

import wt.part.WTPartMaster;

import wt.util.WTException;

 

publicclass UsedBy {

 

publicstaticvoid main(String[] args) throws WTException {

 

// TODO Auto-generated method stub

 

ObjectIdentifier oid = ObjectIdentifier.newObjectIdentifier("wt.part.WTPart:780838610");

WTPart part = (WTPart)PersistenceHelper.manager.refresh(oid);

WTPartMaster prtMaster = (WTPartMaster) part.getMaster();

System.out.println("Parent Part Number: " + prtMaster.getNumber());

QueryResult qr = WTPartHelper.service.getUsedByWTParts(prtMaster);

System.out.println("qr size is: " + qr.size());

if (qr.size() == 0) {

System.out.println("QueryResult is null");

else {

for ( inti=0; i<qr.size(); i++) {

WTPart usedPart = (WTPart) qr.nextElement();

System.out.println("Part Parent is: " + usedPart.getIdentity());

 

 

Here is what I get:

 

 

Image may be NSFW.
Clik here to view.

 

Here is in Windchill what I have:

 

 

Image may be NSFW.
Clik here to view.


How do I get the latest part version?

 

Thanks for your help.

 

Antonio

 

 

 

 

 

Viewing all 6049 articles
Browse latest View live


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