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
How to load users into Windchill
Step 1
Make users list and save as .csv file under the directory of %WT_HOME%/src/loadFiles/
File name: users.cvs
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#User,user,newUser,webServerID,fullName,LastName,Locale,Email,Description,Title,Organization,Street1,Street2,City,State,Country,ZipCode,ignore,password
User,, james , james ,James,, EN, james@apple.com ,,,Apple,,,,,,,x,p@ssw0rd
User,, trump , trump ,Trump,, EN, trump@apple.com ,,,Apple,,,,,,,x,donald2016
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Step 2
Change csv to xml. Execute the following command on Windchill Shell:
windchill wt.load.util.CSV2XML -input users.csv
Step 3
Load xml to Windchill. Execute the following command on Windchill Shell:
Windchill wt.load.LoadFromFile -d <Directory Location> -CONT_PATH /wt.inf.container.OrgContainer=<Organization Name> -u <User Name> -p <Password>
Windchill wt.load.LoadFromFile -d %WT_HOME%/src/loadFiles/create_users_sample1.xml -CONT_PATH /wt.inf.container.OrgContainer=INVENIA -u orgadmin -p orgadmin
Please feel free to contact me if you have any questions or comments.
Anyone using the ESI-TIBCO Integration to transfer Effectivity controlled BoMs to SAP ?
We currently use the ESI-TIBCO integration to send WTParts and eBoMs to SAP (latest Released).
We are investigating effectivity in Windchill and would like to know if ESI-TIBCO could be configured to send an Effectivity controlled BoM to SAP.
Can anyone help please ?
Ian
publish.copyrepresentationsforward
Hi all,
As per the documentation, it states that..
We have turned this OFF, (Set as False) for some reason.
This functionality controls the copying forward of Representations to new
iterations of Representables (for example, Windchill Parts, Documents, Dynamic
Documents, and Windchill Document objects). The fundamental principle is that
Copy Forward applies only to out-of-the-box, non-derived Representations.
However, in the case of a Copy or Revise of a Representable, all Representations
(derived and non-derived) will be copied forward out-of-the-box. This behavior
also applies to Representables being checked out to a new context.
Our Requirement:
The representations should be carried forward when performing PDM Checkout to Project and Send to PDM from the Project.
The representations should not get carried forward when performing a Revise in PDM contexts.
Since we have turned the carry forward OFF, we could not achieve our need, because it appears that for Revise , the Carry forward is HARD SET. Hence we switched off the carry forward, but we lost this functionality for PDM check out / Send to PDM.
It does not make any sense to carry forward the Rep on a Revise...because obviously, the content (and hence the representation) will be modified on a Revise (Popular scenario).
I don't understand why PTC has made this behavior..
Any thoughts on how to address our requirement (without any customization).
Best Regards
Hari
How to get a text list of folder names in Product Container
Step One
Copy the codes below:
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
package ext;
import java.util.Vector; import wt.folder.SubFolder; import wt.inf.container.WTContainerHelper; import wt.inf.container.WTContainerRef;
publicclass MyWindchillUtility {
//Get a text list of folder names in a product container publicstatic WTContainerRef getContainerRef(String orgName, String productName) { WTContainerRef containerRef =null; try { if (productName !=null&& !"".equals(productName)) containerRef = WTContainerHelper.service.getByPath("/wt.inf.container.OrgContainer="+ orgName +"/wt.pdmlink.PDMLinkProduct="+ productName); else containerRef = WTContainerHelper.service.getByPath("/wt.inf.container.OrgContainer="+ orgName); } catch (Exception e) { e.printStackTrace(); } return containerRef; }
publicstaticvoid folderDriver() {
WTContainerRef wtcontainerref = DGUtil.getContainerRef("LIGADP", "Test1"); //<Organization Container Name>, <Product Container Name> String oid = DGUtil.getStringOid(wtcontainerref.getContainer()); Vector v = (Vector)DGUtil.getSubFolderWithContainer(oid); for(int i=0;i<v.size();i++){ SubFolder sf = (SubFolder)v.get(i); System.out.println(sf.getFolderPath()); } }
publicstaticvoid main(String[] args) { MyWindchillUtility.folderDriver(); } }
| cs |
Step Two
Execute MyWindchillUtility on Windchill Shell: windchill ext.MyWindchillUtility
How to load folders into Product Containter
Step 1
Make a folder list and save as .csv file under the directory of %WT_HOME%/src/loadFiles/
File name: folder1.csv
-----------------------------------------------------------------------------------------------------------------
SubFolder,,/Default/Design
SubFolder,,/Default/Design/Camry104 : B6 5.5G ICP Dry Ahser CONTROL PROGRAM,
SubFolder,,/Default/Design/Camry101,
SubFolder,,/Default/Design/Camry101/BASELINE,
SubFolder,,/Default/Design/Camry107 : SFA TRULY 4.5G PT CONTROL PROGRAM,
SubFolder,,/Default/Design/Camry105 : G5 Model Navigation CONTROL PROGRAM,
SubFolder,,/Default/Design/Camry103 : B4 Model Navigation CONTROL PROGRAM,
SubFolder,,/Default/Design/Camry100,
-----------------------------------------------------------------------------------------------------------------
Step 2
Change csv to xml. Execute the following command on Windchill Shell:
windchill wt.load.util.CSV2XML -input folder1.csv
Step 3
Load a folder list to a product container. Execute the following command on Windchill Shell:
Windchill wt.load.LoadFromFile -d <Directory Location> -CONT_PATH /wt.inf.container.OrgContainer=<Organization Name>/wt.pdmlink.PDMLinkProduct=<Product Name>/ -u <User Name> -p <Password>
Exmaple:
Windchill wt.load.LoadFromFile -d %WT_HOME%/src/loadFiles/folder1.xml -CONT_PATH /wt.inf.container.OrgContainer=Toyota/wt.pdmlink.PDMLinkProduct=Camry2016/ -u orgadmin -p orgadmin
SQL Server 2012 can be shared between Windchill 10.2 and Integrity 10.9
I am planning to install Windchill 10.2 with SQL Server 2012 as backend database. I have SQL server 2012 which already installed for Integrity 10.9 with ‘Latin1_General_CI_AI’ collation. So I created new named instance ‘WINDCHILL’ with collation ‘Latin1_General_100_CS_AS_SC’. During Windchill 10.2 installation, SQL server configuration does not accepts instance name ‘WINDCHILL’ it says following error
“Failed to validate SQL Server master database collation as 'SQL_Latin1_General_CP1_CS_AS' for SQL Server 2008 R2 or 'Latin1_General_100_CS_AS_SC' for SQL Server 2012 and SQL Server 2014. Windchill requires SQL Server SQL Collation 'Directory order, case-sensitive, for use with 1252 Character Set'. Re-configure the SQL Server Instance with Collation 'SQL_Latin1_General_CP1_CS_AS' for SQL Server 2008 R2 or 'Latin1_General_100_CS_AS_SC' for SQL Server 2012 and SQL Server 2014.
*SQL Server DNS Registered Host Name:
Installed SQL Server Instance Name (Named Instance only): ”
So I gave <server name>\WINDCHILL for which I got below error.
Invalid SQL Server database Instance Name specified. Installed SQL Server Instance Name (Named Instance only):
Following questions raised
- Does WINDCHILL 10.2 always requires fresh SQL server 2012?
- Does WINDCHILL 10.2 uses any specific name format for named instance?
- Both Integrity and WINDCHILL 10.2 can share the same SQL server 2012 without extra SQL licenses?
Bulk creation of WTPart from existing CAD Documents
I already have a bunch of around 1500 CAD docs, and now I want to create
WTParts out of them.
Is there a way to automate them? If, yes, then how do I do it?
Thanks in advance....
Rgds,
Ravin Kayasth
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Windchill Relationtionship Report SQL SELECT
I would like to produce a Windchill relationship text-file report for all Pro/E CAD Documents (epmdocument), using an SQL SELECT statement (Oracle).
The output would include the following info:
DOCTYPE, NUMBER, Version, relationship-type, Related-DOCTYPE, Related-NUMBER, Related Version
Example output would be something like this:
ProE Versioned Part,12345.PRT,A.1,Associated Drawing,ProE Versioned Drawing,12345.DRW,B.5
I am slightly familiar with the tables epmdocumentmaster and epmdocument.
But I don't know which table (and fields) contains the relationship (where-used) data.
Any suggestions?
Windchill 9.1
Gerry Champoux
Williams International
Walled Lake, MI
How to deploy the test.war file in Windchill?
Hello Everyone,
I have test.war file, wanted to be deploy in windchill. how i can achieve this ??
I puted my test.war file in tomcat\webapps folder and restart the windchill but not working.
Part and Cad Document are out of date
Problem when trying to disable "remove" button
Hi everyone,
I have to make a custom filter to deactivate some buttons when the root part (here the green/yellow cog) was on a specific state.
And when I select the other sub part (pink cog) the button will be disabled because of the root part.
As you can see on the picture, I successfully disable "Insert existing", "Insert new" (and the drop down actions), but I'm still stuck to disable "Remove" action.
What I know :
Create a new custom class filter : (It works !)
public class FilterEditStandartPart extends DefaultSimpleValidationFilter {
...
if (root_part.getLifeCycleState().equals(States.RELEASED)) { // I do my test with this state, not the final state I need to use
status = UIValidationStatus.DISABLED;
}
...
}
Create a service on my "properties.xconf" file and propagate it : (service working)
<Service context="default" name="com.ptc.core.ui.validation.SimpleValidationFilter">
<Option requestor="null" serviceClass="ext.sogerma.pbs.filters.FilterEditStandartPart" selector="filterEditStandartPart"/>
</Service>
Sample of my "custom-actions.xml" file :
<objecttype name="psb" resourceBundle="com.ptc.windchill.enterprise.part.psb.psbActionsRB">
<!-- This one works perfectly -->
<action name="insertExistingPartStructureGWT">
<command class="com.ptc.cat.gxt.client.action.AdvancedAddAction"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.OneSelectionFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotUnspecifiedIterationFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.OriginalCopyFilter"/>
<includeFilter name="disableForAdminLocked"/>
<includeFilter name="disableForPartToCadBuildAdminLocked"/>
<includeFilter name="disableForNewObjectInWorkspace"/>
<includeFilter name="insertExistingPartImplementationChooser"/>
<includeFilter name="filterEditStandartPart"></includeFilter>
<supportedTypes>
<type value="wt.part.WTPart"/>
<type value="wt.part.WTPartUsageLink"/>
<type value="wt.part.PartUsesOccurrence"/>
<type value="wt.part.RTPartPathOccurrence"/>
</supportedTypes>
</action>
<!-- This is my problem, it seem not working or maybe it's override by something else -->
<action name="removeGWT">
<command class="com.ptc.windchill.enterprise.part.psb.client.action.PSBRemoveAction"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.OneOrMoreSelectionFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotRootStructureModelFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotSummaryRowFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.ParentOriginalCopyFilter"/>
<includeFilter name="com.ptc.windchill.enterprise.part.psb.client.action.ReplacementPartTypeFilter"/>
<includeFilter name="disableForNewObjectInWorkspace"/>
<includeFilter name="disableForParentInTreeAdminLocked"/>
<includeFilter name="disableForPartToCadBuildParentInTreeAdminLocked"/>
<includeFilter name="disableForNewParentObjectInWorkspace"/>
<includeFilter name="filterEditStandartPart"></includeFilter>
<supportedTypes>
<type value="wt.part.WTPart"/>
<type value="wt.part.WTPartMaster"/>
<type value="wt.part.WTPartUsageLink"/>
<type value="wt.part.PartUsesOccurrence"/>
<type value="wt.doc.WTDocument"/>
<type value="wt.doc.WTDocumentMaster"/>
<type value="wt.part.WTPartDescribeLink"/>
<type value="wt.part.WTPartReferenceLink"/>
<type value="wt.part.RTPartPathOccurrence"/>
</supportedTypes>
</action>
<!-- This one works great to disable "Remove" button on the "Uses" tab -->
<action name="removeChildPartGWT">
<command class="com.ptc.windchill.enterprise.part.psb.client.action.PSBRemoveAction"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.OneOrMoreSelectionFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotRootStructureModelFilter"/>
<includeFilter name="com.ptc.cat.ui.client.internal.action.ParentOriginalCopyFilter"/>
<includeFilter name="disableForNewObjectInWorkspace"/>
<includeFilter name="disableForTableContextAdminLocked"/>
<includeFilter name="disableForPartToCadBuildParentInTreeAdminLocked"/>
<includeFilter name="disableForNewParentObjectInWorkspace"/>
<includeFilter name="filterEditStandartPart"></includeFilter>
<supportedTypes>
<type value="wt.part.WTPart"/>
<type value="wt.part.WTPartMaster"/>
<type value="wt.part.WTPartUsageLink"/>
<type value="wt.part.PartUsesOccurrence"/>
<type value="wt.doc.WTDocument"/>
<type value="wt.doc.WTDocumentMaster"/>
<type value="wt.part.WTPartDescribeLink"/>
<type value="wt.part.WTPartReferenceLink"/>
<type value="wt.part.RTPartPathOccurrence"/>
</supportedTypes>
</action>
</objecttype>
I try to debug the method used on "DefaultSimpleValidationFilter" : public UIValidationStatus preValidateAction(UIValidationKey aValKey, UIValidationCriteria aValCrit) {...}
When I refresh the page or clic on another part, I don't see the "removeGWT" in "aValKey" param.
I see some other I configure and I see the "removeChildPartGWT" when I click on a "Uses" part.
I really need to deactivate this button when the root part was on a specific state, my customer need it to prevent removing part ! (and I can't say him to no click on it )
Do you have an idea of why this not work with "removeGWT" and/or a solution to disable it ?
Thank you.
mass edit attributes for WTDocument no convinient in 10.2
In Windchill 10.2, Edit multiple objects can mass edit an attribute, but however, for WTdocument, you have to click the radio box "do not upload file" for each item you select. This is unacceptable when editing 1000+ documents. Any ideas?
(I'm clear that it is easy to write customized code to mass edit an attribute, but I'm finding a way every user could easily access.)
Thanks!
Windchill 10.2 M030 PSI aborts during Creating Oracle Configuration with Oracle 12c
Hi,
I'm trying to install Windchill 10.2 M030 using the PSI, configured to created the Database schema in an existing Oracle 12c R2 SE2 database software only installation instance.
I had keyed in correct values of the Oracle 12c Home user password as well during the configuration steps in PSI for installation. But the PSI aborts the Installation pre maturedly during the step of Creating Oracle configurations and the installation fails. The OCU logs that the installation failure message prompting to isn't clear to trouble shoot.
Had some one faced any similar issue? Below is the snapshot of the error screen when the PSI aborts. Attaching the logs pointed in the error screen as well.
Appreciate any help that would assist me overcoming this issue. Thanks in advance!
proe2pv Error:56127 Failure to retrieve model (err = - 4)
I have more jobs failed for small prt and drawing with error log:
proe2pv Error:56127 Failure to retrieve xxx.prt (err = - 4)
or proe2pv Error:56127 Failure to retrieve xxx.drw (err = - 1)
Can we add an Attribute of a Sub type of WTDocument which is an optional and single valued string attribute which can have only one amongst the suggested values and no other values should be permissible.
Hi All,
Can we add an Attribute of a Sub type of WTDocument which is an optional and single valued string attribute which can have only one amongst the suggested values and no other values should be permissible.
Like the suggested values are like say
ABC
DEF
So If yes kindly tell me how we can add it ?
Thanks and Regards,
Aditya Achanta
How to validate Create Page Attributes
Hi,
I am working on one UIValidation where I need to validate the two attributes (customer part number, new customer part number ) of New Document wizard page,
currently I am trying this is on acion=createDocumentSetTypeAndAttributesWizStep but not working can any one please tell me how should I use this
Part Association Image No Visual
One assembly is an Image association to the other. From what I understand no attributes are passed from image item to wtpart, but in a product structure the Visual, or image, should remain. What I see is that in the product structure, after the build, the owner wtpart appears twice, so far so good, but the visual in the Structure > Visualization tab is the owner wtpart and not the image part.
As PTC and other resources have stated the purpose of Image is to show a cable in many configurations, but have one item master. Is there something i'm doing wrong? Can you describe the method you go about doing this. Maybe it's my process. Created Image Association > Build Structure.
Thanks in advance
Windchill upgrade log files?
I finally have a commitment from management and our IT-Group to move forward with our Windchill/IntraLink 10.2 and Creo 3.0 upgrade from Intralink 3.4 as soon a June.
I have already done a few test passes up a full migration using a cloned install of our 3.4 Dataserver and as far as I can tell everything migrated 100%. I want to get quotes from a few PTC re-sellers to perform that actually upgrade and migration of the production server. (perhaps during my testing there were a few T’s I forgot to cross and some I’s that should have been dotted?)
So to cut to the chase are there any log files from my testing that I could provide a potential re-seller for them to accurately provide a quote? I don't want $30K quotes based off of more complex upgrades. Our install is not complex, basically OOTB with simple workflows and release process.
Thanks in advance,
Robert
Windchill Migration services?
I’m sure with my last post and this one my phone will soon be ringing off the hook?
I have been tasked again to explore and select a re-seller to perform our migration. (I did this last August but was asked to do it again by management)
I could ask the re-seller to provide references but who is going to provide less than a glowing reference?
Are you able to provide me with recommendations of what re-seller you recommend to perform Intralink 3.4 to Windchill/Intralink migration services?
The companies that I have gotten quotes from in the past are:
Sconce
ProductSpace Solutions
Tristar
Barry-Wehmiller
If you would prefer to respond directly instead of the forum? I can be contacted at Robert.Altman at Arthrex.com
Thanks in advance,
Robert