Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all 3592 articles
Browse latest View live

Why is the External Import Folder Preference inTranslation Support missing?

$
0
0

The Supported Vendors preference is setup and exporting zip folders from PDMLink just fine. However, there is not an External Import Folder listed in the Translation Support Preferences.  So returned zip files just sit there waiting.

 

Any idea where the External Import Folder preference is listed is or how to get it added so that PDMLink can import the returned translations?

 

Thanks.


Handling Legacy CAD Data - Suggestions?

$
0
0

Hello Everyone,

I just wanted to some people to chime in and let me know how you're handling legacy CAD that is still in use.

 

My scenario is that we have very old PDF and TIFF drawings loaded in Windchill as WTDocs, and associated to the WTParts. These are active part numbers.  And sometimes we have to run Change Notices on these items to update a dimension, change a radius, add a chamfer, etc, etc.  When this happens, in most cases we decide it is worth the time to create a Creo model and drawing when we revise the part number.

 

Thus we have the old legacy file (PDF/TIFF) as revision A in Released state.  And we have the WTPart and Creo model/drawing at revision B in the In Work, and later Released state.  Therefore a user does a global search (top right corner of Windchill) for PARTNUMBER* and it returns 4 objects - the old PDF rev A and the 3 rev B objects (WTPart/model/drawing).

 

I've heard that some people move the legacy CAD data into a separate container that nobody has access to view.  But then when you look back at revision A of the WTPart, it appears that there is no drawing associated with it.  That is because the same permissions that deny the user from seeing the old rev A PDF in the search results is also denying the user from seeing the old rev A PDF in the "Described By" table on the WTPart.

 

So how do you handle it?

When, or how often, to run WinDU?

$
0
0

How often, or when, do you run WinDU?

I'm updating from WC 10.2 M020 to M030 and ran WinDU to see what results I'd get.  There were several Failed Task Reports so I entered a ticket with tech support for one I didn't know how to solve.  The technician on the call back told me not to worry about it if I wasn't doing an upgrade, but now that I know there's something not right it doesn't feel right to just ignore it.  I'm not looking for extra work, but does that seem like a normal response?  Could I have asked him to help solve the issue rather than close it, if it is not going to affect the update success?

Thanks!

Windchill Custom Publishing Help

$
0
0

I am trying to create a custom Java filter in order to intercept and modify certain publishing events.  Per this help pagehttp://support.ptc.com/cs/help/windchill_hc/wc110_hc/index.jspx?id=WCCG_BusLogicCust_WCVisualization_CustPublish&action=show, I should be able to intercept all calls made to the publisher, and then do my own thing instead.  Here is the relevant section:

 


An Advanced Technique for General Publishing

 

Combining the concepts in Procedure – Invoking Publishing from Custom Code/Workflow with Filtering All Publishing you can open up additional flexibility for general publishing. The technique simply requires you to insert the use of the doPublish method from the Publisher class into the filterMethod shown in the previous subsection. Since the filter method must return a Boolean, simply return Boolean.FALSE and use the doPublish method to cause Publish Jobs to be queued up for execution.

 

For example you want to provide specific naming information for publishes that were not made from Windchill stored data.

public static Boolean filterMethod(Persistable p, Boolean publishFromDB) {
   if (publishFromDB) return Boolean.TRUE;
   try {
      String objRef = ObjectReference.newObjectReference(p).toString();
      Publisher pub = new Publisher();
      pub.doPublish(false, true, objRef, (ConfigSpec)null,
                    (ConfigSpec)null, true, “Not From Windchill Data”,
                    “”, Publisher.NONE, null, 0);
   } catch (WTException wte) {
      wte.printStackTrace();
   }
   return Boolean.FALSE;
}


 

The problem I having is I'm unable to determine the parameters that were fed to the job to begin with.  A typical doPublish method call will include the following parameters:

 

 

 

 

  • viewableLink - If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLink
  • forceRepublish - Overwrites an existing representation should one already exist
  • objectReference - Reference of the Representable to be published
  • configSpec - The EPM Config Spec to be used during the product structure tree walk, if null, as-stored or latest is used.
  • partConfigSpec - The Part Config Spec to be used during the product structure tree walk, if null, latest is used.
  • defaultRep - Should the created representation be the default or not. The first representation in always default.
  • repName - Name of The representation to be created, if null default name will be used
  • repDescription - Description of the representation to be created , if null no description will be used
  • structureType - The type of structure walk to be performed, NONE, EPM, PART, EPM_PLUS_PARTS
  • actionString - Option String, see PublisherAction class, if no options can be null
  • jobSource - Source that submitted the job, 0=unknown, 1=manual, 2=checkin, 3=schedule

 

In order to make an informed decision on how to process the publishing request, I need to know these things.  For example, submitting a manual publish request will definitely pre-set some of these values:

 

 

How do I capture these values?  PTC tech support is telling me the filterMethod is a lightweight class that doesn't have access to the publishing event request parameters.  Does anyone here in the community have a workaround?  Some other way that I can capture these values prior to the doPublish event actually being called?

 

Thanks!

 

 

 

How to create ArrayList type of Varible in Workflow to receive ArrayList object in expression robot

$
0
0

Hi All,

 

in one of my requirement, i am passing a change object to a custom class, and then want to receive a ArrayList object in workflow expression robot.

how i can create Variable of ArrayList type.

 

i tried to create it, but while doing check syntax in workflow, it gives me below error.

 

"wt.util.WTException: ATTENTION: Only Evolvable or Persistable classes can be set as workflow variables.

Nested exception is: wt.util.WTException: ATTENTION: Only Evolvable or Persistable classes can be set as workflow variables."

 

Please let me know how i can tackle this.

 

Regards,

Vivek

Negative Issue Parts in BOM (Windchill 10.2)?

$
0
0

I have a module that contains a control panel, so an assembly inside another assembly.

 

  • Module
    • Control Panel
      • (with part I want to negative issue)

 

Is there a way to 'take away' a part in a BOM?

 

  • Module
    • Existing Part I want to negative issue
    • Control Panel
      • Original Part

 

The control panel is purchased with the part I want to remove, so I don't want to create two different control panels for a small part that we will take care of ourselves. I tried tying in a (-1) for the quantity, but Windchill doesn't allow negative numbers. Does anyone know of a way I can handle this?

 

I'm using Windchill 10.2 and Creo 2.0

Design/Manufacturing view entry in WC/Tibco

$
0
0

Any inputs on where to locate entry/entries either in WC/Tibco which says the type of view to be sent for publishing to Oracle ERP from Windchill. The test case which I am trying to execute is creating mBOM (using MPMLink) from an eBOM and pushing the mBOM to ERP (through a CN process). I am not sure if the system is intelligent enough to differentiate between design view & manufacturing view.

Problem in monitoring Windchill with PSM

$
0
0

Hi all,

I've installed PSM 4.0 for Windchill 10.2 M030. Both server and collector installed on Windows server and agent has been installed on Windchill 10.2  M030 server. But getting below error while starting PSM client.

19.jpg

 

 

20.jpg

 

 

 

I've started PSM services but unable to find the reasons for these errors.  Need help to overcome this.

 

Regards,

Krishna Chaithanya


Custom method to get PBOs in mail notification other than Number and Name

$
0
0

Hi all,

 

I've used below code to get WTDocument number and name in mail notification.

 

java.lang.String pbo_name = ((wt.doc.WTDocument) primaryBusinessObject).getName();

wt.workflow.work.WfAssignedActivity wfa=(wt.workflow.work.WfAssignedActivity)self.getObject();

wfa.setName(pbo_name);

wfa=(wt.workflow.work.WfAssignedActivity)wt.fc.PersistenceHelper.manager.save(wfa);


Same way, I need to get other PBO like Product Group and Customer name in mail notifications. I've gone through API for 10.2 M030 and found that there were two methods namely getName()/getNumber() and setName()/setNumber()which were inherited from_WTDocumentMaster.

 

Is there any way to create getter methods for Customer Name and ProductGroup as mentioned above with new class ?

Please suggest me the procedure including which class to inherit to do so as I'm new to this API customization.

 

Regards,

Krishna Chaithanya


Find tab not coming in part info after inserting new classification attribute

$
0
0

how to add find tab in classification tabclassification.PNG

Here in classification tab find option ins not found

Practical method or best practice for working with Intelligent Fastener components in Windchill?

$
0
0

Has anyone come up with a practical method or best practice for working with Intelligent Fastener components in Windchill? IFX Lite is available in the Schools Edition of Creo Parametric and many of the FIRST teams designing their robot in Creo Parametric are using it. The main issue is dealing with all the instances created for the primary fasteners. Would it be better to bulk load all the fasteners first or just let them get added as they are used?

 

Typically the kids don't need to worry about the Update Download/Reuse options since they are not using many common components, but IFX definitely brings this issue front and center. Curious if anyone has a best practice for using common components when they are not fetched from Windchill?

 

Is there a config.pro setting to tell Creo Parametric where the fasteners are located? Would be great if we could point it to Windchill instead of the install folder.

Relationship Report in Intralink 11.0

$
0
0

All,

 

In Intralink 9.1 from an object's Information page there was the function: General > Relationship Report. The report could have the dependency configured and also Latest/As Stored configuration set. After unsuccessfully poking around I'm wondering if and how this report can be obtained in Intralink 11?

 

Thanks,

 

Mike

Database Tables for CAD Document Structure

$
0
0

Hey guys,

which database table holds the information about the cad document structure?

 

Im searching for the "BOM" of the CAD Document.

Web URL search query by 'NUMBER'

$
0
0

Hi,

 

My company use Windchill 10.0, i'm looking for a method to perform a URL based request that searches for a document by its 'number'.

 

It can either bring up the search results as it does when you use 'advanced search' or provide the direct link to the document (ie. ...infoPage?oid=VR%3Awt.doc.WTDocument%3A7513658&u8=1)


I've tried this URL request, but I get an error;

https://(server)/Windchill/app/#ptc1/tcomp/infoPage?oid=OR%3Awt.doc.WTDocument?number="CR107*"


Error:

Status Code: 501

Message: Object "{0}" is not persistent.


Thanks

Exporting PDF's

$
0
0

I know many on these boards use Fishbowl's LinkAccess Trigger.

 

Does anybody know if PTC has any plans to  come out with something similar in the near future or if it's even a consideration?  Can anyone from PTC comment about any plans in this area?


Windchill and SiteMinder

$
0
0

We are experimenting with Windchill PDMLink 10.2 M030 and Siteminder and were wondering if anyone in PTC land uses this and how one gets around executing windchill commands( like WinDU and BulkIndexTool). We have found we have to stop all servers and revert back to the original Apache to execute these commands. Not usually a problem, but with several recent PTC calls, we had to wait until the evening to bring down the production server to use those commands. Curious if anyone using SiteMider has developed a workaround. Thanks in advance and Happy Mardi Gras to all!

Is there an available list of all publishing events in Windchill?

$
0
0

The question pertains to determining what constitutes an event in Windchill PDMLink. We want to determine the value of having all server-side event-initiated publishing set to publish at high priority.

Where I can find relations in Windchill which reads parameters/Attributes from Cad models?

$
0
0

Where I can find relations in Windchill which reads parameters/Attributes from Cad models?

I am facing following error while login in IBM Cognos.

$
0
0

Hi

I am facing Administrativeldap  error while login in IBM Cognos find snap

cognos error.PNG

 

& while doing IBM Configuration testing showing following error .

cognosconfiguration.PNG

While testing AdministrativeLdap one popup is coming in that i am entering userid wcadmin

how to give relation between domension in sketch mode?

$
0
0

Guys..

Please tell me how to give relation between dimensions in sketcher mode..

Viewing all 3592 articles
Browse latest View live


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