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

Copying family tables along with drawing and assembly. "Save a copy"

$
0
0

While using "Save a copy" for my assembly, I managed to capture/rename and save the drawing and all the lower assemblies and parts with the new part number, but the system delete my family tables.  In other words, it saves the instances as standalone parts.  Is there anything in config that I need to address to capture the family tables as well?

All suggestions are welcomed.

Thanks,

Diane

Config option that have helped, (thinking there is someting I am missing in this process.)

rename_drawings_with_objects


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.

Search 3D morphological

$
0
0

Windchill have a Search 3D morphological ????

In a step of the Workflow i need to change the role(PRIMARY AND SECONDARY) of my files.

$
0
0

Hi guys,

In a step of the Workflow i need to change the role(PRIMARY AND SECONDARY) of my files.

I have a pdf file as primary and one as secondary dwg.

What better way to make my .PDF Being secondary and my primary file  .DWG? via API.

I'm trying to do this with the code below, but am not having success.

 

document = (wt.doc.WTDocument) ref.getObject();                ContentHolder holder = ContentHelper.service.getContents(document);               Vector<?> contents =  ContentHelper.getContentList(holder);               System.out.println("Content: "+contents);               int files = contents.size();               if(files > 0){                    for(int i =0; i < files; i++){                         ContentItem contentItem = (ContentItem) contents.elementAt(i);                         System.out.println("ContentItem: "+contentItem.getRole());                         wt.content.ApplicationData data = ApplicationData.newApplicationData(document);                         System.out.println("FormatName: "+data.getFileName());                         data.setRole(ContentRoleType.toContentRoleType("PRIMARY"));               //          ContentServerHelper.service.updateHolderFormat(document);                         document = (WTDocument) PersistenceHelper.manager.refresh((Persistable)document,true,true);                     } 

Export and Import Of ACL's

$
0
0

Hello Guys   

 

Does anybody know any tools or method to make Export of ACL??

 

I very boring have to do it manually, every time...

 

Thanks in advance...

Capture the latest workflow loop in order to report on only approval signatures

$
0
0

Reposting this from the PTC Exploder on behalf of a team member   http://portal.ptcuser.org/p/fo/st/thread=55894&post=128671&posted=1#p128671

 

=============================================================================

 

I am currently trying to figure out a method to capture only the latest approval signatures in workflow that allows for rework loops.  Below is some background on the requirements and current set up.

Approvals are captured for documents (main objects for the signatures) and other objects through Change Notices using approval tasks in the associated Change Activity.

The user's full name at the point in time of the signature has to be captured and applied in the future for any republishing.  This would capture the name even if the user's name changed for any various reason.  To do this, a customization was placed on the SignatureLink object to record the name in the Comments section using a listener and delimiter for any realy comments.

The previous set up for just documents where the workflow was applied against the object used a Report with a InfoEngine task to capture the necessary information.  In this scenario, the workflow was applied directly to the document and users were required to iterate the document on any rework loops so the latest revision-iteration would only have the latest signatures (Approvals) from the SignatureLinks created after the iteration.

I have been able to create a Report query to link the following: document -> change activity -> signature link -> user.  Included in the query, I have mapped: change activity -> workflow process -> wfvotingeventaudit (signed, required, and sorted by the trip count).  This currently creates a cartesian result.  I am looking for additional links or information to make sure I get a 1 to 1 all the way through so I could simply use only the latest trip count information.  I have been able to use the createstamp between the signaturelink to the wfvotingevenaudit objets, but I feel this does leave a possiblity for issues (race condition as an example).

Please let me know if you have faced anything similar or have some ideas to link the final stages of my query.

Thanks in advance.

Terry M.

=================================================================

 

We've considered turning on REVISE for the Change Notice but this is not desireable since it has alot of other implications in the workflows....

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

Relationship Explorer

$
0
0

I am trying to use the relationship explorer so that I can encourage others to use it and have noticed a few points that could be fixed to help eliminate confusion.

 

The first point that was brought up is the requirement in internet explorer to open a seperate tab.  The exclaimation point symbol that appears next to it usually causes less computer literate people to not want to click anything, even though the description is written perfectly fine.  If this were removed I would think people would read it.  Even better, if this step wasn't required at all it would help. (I know this is not an issue in chrome or firefox)

 

The second issue I have is with the Change Task relationships.  In the change task, there is Affected Objects and Resulting Objects.  In the relationship explorer, these two are called Assigned To and Affected Objects respectively.  Having Affected Objects mean two different things adds a level of confusion which makes the explorer difficult to use.

 

Is there a way to alter what these objects say?


Add Attribute to CAD Documents

$
0
0

Is there a way I can add the attribute into our start model without having to do it in Workspace?

 

I.e., We have to assign a CAD TYPE attribute to our CAD Documents. 

 

The CAD type attribute is currently done in the WORKSPACE.  Once the attribute is added I can see that it created a parameter INST_CAD_TYPE in my model.   I tried to add the same parameter in my CAD model and even designated.  But it won't show up in my WORKSPACE.

 

Is this a Windchill task only?

Workflow Admin: Share Your Customizations & Mods (and Screenshots)

$
0
0

Group,

I am looking for a collaborative discussion & maybe "best practice sharing".

 

I have been constantly working on Change Management workflow devleopment in my company for 2.5 years.  I thought I made these workflow instructions look pretty slick with variables showing up here and there...HTML formatting...etc, etc.  Finally a few months ago...I think I went overboard.  I reached the 1333-character limit in the workflow Instructions, as outlined by CS61259.  My rendered workflow assignment is shown in the screenshot below.  Perhaps too much detail in the instructions that should be offloaded to separate training document?

 

What I'm looking for in this discussion are use cases of workflow assignment modifications & customizations.  What are they?  What have you done to render good-quality instructions for the users read & understand, and how?

 

Just looking to share experiences for some users to pick up on that other users haven't thought of before.  And along the way, maybe some of you have thoughts about how I can clean up my own instructions so users don't have a book to read when they click into one of my workflow assignments. 

 

Note:  Pictures are worth 1000 words.  Posting pictures of the renedered task like I did below is great, if you can.


task.png

Update IBA without Checking-Out the Object

$
0
0

Dear All,

 

I am looking for the Code/API which update the IBA values of Object (in my case Softtype of WTDocument), without iterating the Document.

 

Any help on this regard is greatly appreciated.

 

Thanks in advane. Happy Diwali.

 

Mahesh KL

Windchill Information Modeler

$
0
0

Is the info modeler free from PTC or is there inital cost and yearly maintenance?

"ORACLE for Intralink" Licensing

$
0
0

For anyone out there that is running Intralink 8, 9, 9.1, etc

 

I have a question about Oracle licenses with Intralink.  Do you have a line item “Oracle for Intralink” in your license pack?  I don’t have that in mine but tech support is telling me that I should.  Apparently I need to have that in order to have access to the Oracle software updates on the PTC Software Download page.  Since Intralink comes bundled with Oracle it would seem that every Intralink customer should automatically have the “Oracle for Intralink” line item so they can access software updates.

 

Thanks!

Siteminder for Authentication to Windchill

$
0
0

I am trying to get siteminder to provide authentication to windchill since we require CAC authentication. I have installed siteminder and configured it, but I am unsure of what changes to make so that windchill gets the information and compares those users to the users in WindchillDS. So far the only information I have is to change the following files:

 

in the webAgent.conf file: EnableWenAgent="YES"

in the app-windchill.conf:  #Include conf/extra/app-windchill-Auth.conf

 

I believe there is more changes to make since I am getting an authorization error when I enable the siteminder web agent. Does anyone know what other changes need to be made to enable windchill to use sitemnder?

 

Thanks!

client authentication and password-less SOAP requests

$
0
0

Hi everyone,

I have a Windchill 10.0 installation and an external application both connected to the same ldap system. This application uses SOAP to execute tasks in windchill and retrieve data from it.

Until now I've only been able to execute those SOAP requests by passing username and password. E.g:

        IeConnectionSpec cxSpec = new IeConnectionSpec();

        cxSpec.setUserName("user1");

        cxSpec.setPassword("password");

        Connection cx = cxf.getConnection(cxSpec);

         Interaction ix = cx.createInteraction();

        ......

 

What i want to do is to execute those SOAP request without having to specify the user password (since the user has already specified the password to login into my application).

Reading the IE Users Guide i found that the IeConnectionSpec has a property called authUser that can be used in Single Sign On (SSO) scenarios.

It also says that "The authUser property is only accepted by Info*Engine if the connector is configured to digitally sign outgoing requests or if the client resides on a host that is trusted."

 

Is that the right way to do it? I haven't found any example that shows how to set this property and how to make an host trusted. Does anyone has an example of how to do it?


Using presence of comments to determine workflow execution.

$
0
0

Hello,

 

I'm currently working on an upgrade from Windchill 8.0 to 9.1.  Part of this task requires that I go in and update all of the existing workflows for our business to the new system.  The issue I'm having is in regards to the new comments field in Windchill workflow tasks.

 

Specifically I am having trouble trying to adapt one of our end-user's requirements to the new system.  There is a case where, on a workflow task with three routing options (in this case approve, reject, and place on hold) they want to make it so the workflow will not advance if the comments field is left blank when the user selects either of two of the three options and leave comments optional on the third.  (As you may guess the requirement is to have the comments required on a rejection or place on hold and to let approvals sail on through without them.)

 

In version 8.0 I'd do this by taking the comments variable and in the appropriate transition of the workflow task add a conditional to check if the variable was either null or empty and if so to throw an error message using the WTException class to prevent the task from completing.  However when I use this method in 9.1 I don't get reliable behavior.  In some cases the task will not advance at all even if comments are input, in others the error message will behave properly the first time you click the "Task Complete" button but the second time you click the task will advance without any comments despite the fact that one of the paths where comments are required are selected.

 

Has anyone had any experience doing this in version 9.1 of windchill?  I've tried several different combinations of code to grab the comments from the new field, copy them into a variable, and perform the appropriate checks but nothing seems to reliably achieve what the end user desires in terms of behavior.  Any assistance would be most appreciated!

 

--Richard

Mass Change State for previous Versions/Iteration?

$
0
0

Hi Everyone,

Wondering if anyone has dealt with this already.

We have thousands of CAD objects that have previous versions and iterations at a state that should be changed. We don’t want to change the highest version/iteration at that same state.

     For example:

                    D.1 “In Work”

                                      C.3 “Released”

                                      C.2 “Released”

                                      C.1 “In Work”

                                                            B.3 “Pre Released”

                                                            B.2 “Pre Released”

                                                            B.1 “Draft”

 

We would want to set C.2, B.3, B.2 to Superseded.

Relationship Explorer

$
0
0

I am trying to use the relationship explorer so that I can encourage others to use it and have noticed a few points that could be fixed to help eliminate confusion.

 

The first point that was brought up is the requirement in internet explorer to open a seperate tab.  The exclaimation point symbol that appears next to it usually causes less computer literate people to not want to click anything, even though the description is written perfectly fine.  If this were removed I would think people would read it.  Even better, if this step wasn't required at all it would help. (I know this is not an issue in chrome or firefox)

 

The second issue I have is with the Change Task relationships.  In the change task, there is Affected Objects and Resulting Objects.  In the relationship explorer, these two are called Assigned To and Affected Objects respectively.  Having Affected Objects mean two different things adds a level of confusion which makes the explorer difficult to use.

 

Is there a way to alter what these objects say?

Any way to keep a template/start part library synced to client workspace automatically?

$
0
0

We have a library to store all cad standard parts like formats, templates, symbols, etc. We have some users who work offline while traveling. I discovered that if they create a workspace, add all the files from that library to it, and go offline, they still get the right start parts from the options template_solidpart, template_designasm, template_drawing, etc (even though those options are defined as commonspace library files - it must know they are in a local workspace somehow).

 

BUT, they don't still see the files if options like pro_symbol_dir, pro_format_dir, etc. are pointing to commonspace libraries. They would still see what they would see online if those options were pointing to their local workspace (they would all point to the same workspace if you synced all the templates, formats, symbols, etc to that one workspace).

 

So I have two questions:

 

1) Is there a way, to make the offline users' life easier, to make Creo know the formats and symbols and such are available in a local workspace, even though the template_* options are defined to point to commonspace libraries?

 

2) Is there a way to automatically keep the workspace in sync with the commonspace library without them having to manually perform an update? Especially if a NEW file is added to the commonspace library and they aren't aware of it. They would have to manually go add any new files to their workspace. I would love it if you could set it up so ALL files, including new ones the user is not aware of, are auto-synced to a local workspace so they are available offline.

 

Thanks!
Yale Evans

MPMLink; who is using it and how

$
0
0

We are in the process of evaluating and planning a MPMLink implementation on Windchill 10.2.  We are an in-house engineering and manufacturing company with about 150 production employees.  We plan on implementing on two different assembly lines; one is higher volume with lots of different assemblies with little variation.  The other is low to medium volume with a few highly configurable assemblies.

     My questions are:

  • How you using MPMLink at your facilities?
  • How do you present the information the shop floor? Local workstation, portable devices, paper?
  • What challenges do you face with MPMLink?

 

Even more basic than how, I would like to know if anyone out there is using MPMLink with success or failure. 

Viewing all 6049 articles
Browse latest View live


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