How i can configure cad-worker or cad-agent for multiple output format.
For example, convert drw to pvs and to dwg and to pdf.... and this files view in representation page.
Best regards,
Renat Shaimardanov
How i can configure cad-worker or cad-agent for multiple output format.
For example, convert drw to pvs and to dwg and to pdf.... and this files view in representation page.
Best regards,
Renat Shaimardanov
Dear all,
Pro/E & Creo user since 1997, Windchill since 2008, in various roles such as simple user, office trainer as well as configuration management for both software. Well, now I have an issue I have never seen before. One cannot know all Hoping someone can help me with this. I tried to search for a similar issue but could not find any.
The issue is the following: I cannot download MCAD data from PDM into my workspace, independently if the data or workspace is old or new.
I'm using WF5 M100 with PDM Link 10.1 M020. Let's start from scratch so you can easily understand:
- First of all, I delete my cache, removing the full content of the ROOT folder.
- Check my Windchill settings, in the Preference Manager I enabled my Workspace.
- Start Pro/E, standard set-up without any weird config.sup or *.pro settings
- Link to my Windchill server (through Pro/E embedded browser)
- I create a new workspace, no matter if linked to PRODUCT or LIBRARY
- I check my role, I'm a MEMBER so at least in my PRODUCT I have read & write access.
- I now create a new Pro/E MCAD file (called TEST0123), followed by "save & upload" it into the workspace.
- I unlink Pro/E from the server and close down the software.
- Start Pro/E again, link to the server & workspace. In my workspace I can see the previously created file.
- Open my just created MCAD file TEST0123.
- And here we go, I'm unable to open my file!!
The message bar in Pro/E tells me this:
'TEST0123' cannot be retrieved
The Pro/E embedded workspace (local workspace) tells me this!
As you can see there is a warning icon next to the MCAD number.
Anyone able to help me with this issue? Thanks in advance!
Dear All,
We are looking to automatically transfer data captured by barcode scanners into Windchill PDMLink. Some of the scanners we use are Koamtac and Cognex, and we scan UID labels (similar to RFID labels) on our parts. Just wondering if this is possible, and how to do it. Would appreciate any input you can provide on this topic.
Thanks you in advance.
-Akash
I can't seem to find anywhere a list of all the config options for WTPUB://
Is there an option for Notes?
Is there an option for Symbols?
is there and option for Tables (.tbl) ?
is there......
is the....
is th.....
is ......
Where is the list of available options?
Hello Folks!
Does anyone happen to know how to install a CPS onto an already installed Windchill 10.2 system hosted in a Linix vmware.
Steps I have done so far is to get all installation media onto my /tmp folder according to below:
[pdmadmin@wc102-m020 MED-61006-CD-102_M020_M020-CPS06-Bundle]$ ls -ltr
total 28
-rwxr-xr-x 1 pdmadmin pdmadm 43 Nov 20 12:24 setup.sh
-rwxr-xr-x 1 pdmadmin pdmadm 33 Nov 20 12:24 setup.bat
drwxr-xr-x 5 pdmadmin pdmadm 4096 Jan 29 15:50 PTC_Solution_Installer_10.2
drwxr-xr-x 3 pdmadmin pdmadm 4096 Jan 29 15:59 PTC_Windchill_10.2_Index_Search
drwxr-xr-x 4 pdmadmin pdmadm 4096 Jan 29 16:02 PTC_Windchill_10.2_Service_Pack
drwxr-xr-x 7 pdmadmin pdmadm 4096 Jan 29 16:03 PTC_Windchill_10.2_Third_Party_Software
drwxr-xr-x 8 pdmadmin pdmadm 4096 Jan 29 16:10 PTC_Windchill_10.2_Workgroup_Managers
Fist step was to chmod all files and folder recursively using chmod -R 755 *
However when running setup.sh the installer does not recognize that I have already installed Windchill.
I believe this is the key to make the installer aware of my existing solution so it can light up "Update Existing Solution".
Now I can only select "Solution" under "Install Type Options".
Anyone happens to know how to accomplish this?
I have also tried to launch "setup" under "PTC_Windchill_10.2_Service_Pack" but that script only produces:
ERROR: Cannot locate installer_jres directory in CD root: /tmp/MED-61006-CD-102_M020_M020-CPS06-Bundle/PTC_Windchill_10.2_Service_Pack
Any help is greatly appreciated!
Best regards,
Peter
hello,everyone:
Has anyone can tell me how to remove all disconnected principal . Our windchill 9.0 M050 is integrated with AD ,AD authenticate the users who log in Windchill. AD administrator deletes some users in AD,so there are some disconnected principal in Windchill.
I log in as wcadmin(site administrator) and enter into site-utility-principal administrator-maintainance page,when I check the disconneted principal and click the "delete" button ,it shows"LDAP erorr code 32 No Such Object"
Firstly,I am very sure that these users are not in our AD.
(1) I view the WTUSER table :select t.name,t.ida2a2 from wtuser t where t.repairNeeded=1 and there are disconnected user who are shown in the above web page returned,I also check the remoteobjinfo,remoteobjid table there are disconnected user who are shown in the above web page returned
(2) I check the Aphelion brower the disconnected user entries are also in there
so I cannot delete the disconneted users in the Windchill web page and I dare not delete the user entries in the WTUSER table directly. Now what can
I do to delete the disconneted users.
Thanks for your reply.
I have been working through the Change Request workflow developed when Windchill was implemented in 2008 by another admin. He had the ability to create a Change Notice turned off, even though he had a node in the Change Request workflow to require them. I got the Profile modified to allow Change Notices to be created, and the option now shows up in Actions. However, when I select Create Change Notice, the screen opens and a message pops up saying "You do not have create permissions for the object". I looked in preferences and found nothig. What setting do I need to toggle to get the required permissions?
From 10.1 version the download option for EPM has been removed by PTC. Here i'm trying to add an action which will execute the 'download action' , kindly review the java code and see if thats enough
package ext;
import java.io.*;
import java.util.*;
import java.rmi.RemoteException;
import java.net.URL;
import wt.util.*;
import wt.content.*;
import wt.epm.*;
import wt.fc.*;
import wt.query.*;
import wt.representation.*;
import wt.method.RemoteAccess;
public class dlRep
implements RemoteAccess, Serializable
{
private static String extractContent(EPMDocument EPMDoc, String dlLoc, String conType)
{
String rtnStg="NO Data Found (extractContent)";
try {
Representation defaultRep=RepresentationHelper.service.getDefaultRepresentation(EPMDoc);
if(defaultRep != null)
{
ContentHolder holder=ContentHelper.service.getContents(defaultRep);
Vector contents=ContentHelper.getContentListAll(holder);
ApplicationData data=null;
for (int i=0;i<contents.size();i++)
{
if (contents.get(i) instanceof ApplicationData)
{
data=(ApplicationData)contents.get(i);
if (data!=null && data.getFileName().endsWith(conType))
{
if (dlLoc.equals("C:\shared")) {
URL url = data.getViewContentURL(holder);
String urlStg = data.getFileName()+"|C:\shared|"+url.toString();
String mtData = ContentServerHelper.service.getMimeType(data);
System.out.println("\ndata MimeType: "+mtData+"\n");
System.out.println("\nurlStg (getViewContentURL): "+urlStg+"\n");
return urlStg;
}
else {
String path = dlLoc+"\\"+data.getFileName();
rtnStg ="Download Step Executed To: "+dlLoc;
ContentServerHelper.service.writeContentStream(data, path);
System.out.println(rtnStg+".\n");
return rtnStg;
}
}
}
else {
rtnStg = "No App Data associated to current Object.";
System.out.println("\n"+rtnStg+"\n");
return rtnStg;
}
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
}
return rtnStg;
}
public static String getEPMDoc(String dlLoc, String drwNo, String conType)
{
String rtnStg="NO Data Found (getEPMDoc)";
try
{
QuerySpec qs = new QuerySpec(EPMDocument.class);
qs.appendWhere(new SearchCondition(EPMDocument.class,EPMDocument.NUMBER,SearchCondition.LIKE, drwNo));
qs.appendAnd();
qs.appendWhere(new SearchCondition(EPMDocument.class, "iterationInfo.latest", "TRUE"));
System.out.println("Now Querying for Doc Using:\n " + qs.toString());
final QueryResult qr = PersistenceHelper.manager.find(qs);
while (qr.hasMoreElements()) {
EPMDocument epmm = (EPMDocument)qr.nextElement();
if (epmm.getNumber().endsWith(".DRW") || epmm.getNumber().endsWith(".CATpart") || epmm.getNumber().endsWith(".CATProduct") ) {
System.out.println( "\nEPMDoc - Number: " + epmm.getNumber() + " - Name: " + epmm.getName()+ " - CadName: " + epmm.getCADName() );
System.out.println( " - Version: " + epmm.getVersionIdentifier().getValue() + " - Iteration:"+epmm.getIterationIdentifier().getValue()+"\n - Life Cycle State: "+epmm.getLifeCycleState().toString());
rtnStg = extractContent(epmm, dlLoc, conType);
return rtnStg;
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
}
return rtnStg;
}
}
I am trying to create a Windchill Publish Rule that will publish a Creo drawing as a PDF file within a WTDocument. The problem is that our default viewables in windchill are HPGL, our CAD worker recipe is to to HPGL and we do not want to change this. So I am finding that even though my publisher rule states output="pdf" I am still getting a .plt file. Here is my rule:-
<?xml version="1.0" encoding="UTF-8"?>
<rules evaluate-rules-on-republish="true" xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ptc.com">
<authoring-application name="PROE">
<param-set name="Share with WTDocument">
<post-publish name="delegate">com.ptc.wvs.server.publish.DefaultPostPublishDelegate</post-publish>
<post-publish name="name">{AUTHORING_APP}-{EPM_NUMBER}</post-publish>
<post-publish name="published-content-link">create</post-publish>
<post-publish name="folder">Drawings</post-publish>
</param-set>
<publish on="checkin" output="pdf" param-set="Share with WTDocument"/>
<publish on="create-representation" output="pdf" param-set="Share with WTDocument"/>
<publish on="schedule" output="pdf" param-set="Share with WTDocument"/>
<publish on="manual-post" output="pdf" param-set="Share with WTDocument"/>
</authoring-application>
</rules>
I have been able to get a pdf file using additional-files in the rule, but in this case, my WTDocument has a zip file document containing a .plt file and a .pdf file. Again, this is not my desired result, I just want a pdf file on the WTDocument.
Thanks in advance.
Hello All,
I am trying to build a report using Query Builder to Fectch history of change Notice like, Name, Activity, Created on, Completed on, Assigned to User,if it is Reassigned, Reassigned User, Vote etc.
Presently i am able to able to fetch details like name, Activity, Created on, Completed on, Assigned to user, if it is Reassigned (Yes or No).
but i am not able to get Reassigned user name, how i will get this.
Here is format of my desired output.
Change Notice Number | Created on | Activity Name | Role | Assigned to | Reassigned | Reassigned to User | |||
---|---|---|---|---|---|---|---|---|---|
123 | 10/10/14 | xxxxxxx | Assignee | abc | yes | xyz | |||
124 | 12/10/14 | yyyyyyy | Assignee | bob | no |
Please, guide us to solve this requirement.
Thanks,
Vivek
We notice the infrastructure changes in the database schema starting Windchill 10.2 and it would be helpful if someone could suggest the new tables and joins so we get our query right.
Here is a working query from Windchill 9.1 system (PDMLink, PartsLink, SUMA and Oracle DB)
SELECT
M1.WTPARTNUMBER,
D1.VERSIONIDA2VERSIONINFO,
D1.ITERATIONIDA2ITERATIONINFO,
CN.NAME
FROM
REFERENCEDEFINITION R,
REFERENCEVALUE RV,
MANUFACTURERPARTMASTER M1,
MANUFACTURERPART D1,
CLASSIFICATIONNODE CN
WHERE
R.DISPLAYNAME = 'Part' AND
R.IDA2A2 = RV.IDA3A5 AND
RV.CLASSNAMEKEYA4 = 'com.ptc.windchill.suma.part.ManufacturerPart' AND
RV.IDA3A4 = D1.IDA2A2 AND
D1.IDA3MASTERREFERENCE = M1.IDA2A2 AND
RV.IDA3B5 = CN.IDA2A2;
Hi all,
I'm creating a 3d drawing in creo and my workspace is in windchill. I save a sketch in my workspace and when I want to used the sketch that I saved to a new 3d model, it doesn't appear in my palette.
Please see the screenshot below.
This is my workspace.
This is the sketch that i want to open in my palette
This is what appear when I used the palette in a new drawing.
Thanks,
Luar
One requirement we have is for a document that is part of a workflow to be automatically added to a preexisting Managed Collection. Is there a way to automatically do this? The managed collection would be the same name as the document...for instance:
WTDoc is named rwy-00888, it would need to be added to the Managed Collection of the same name.
Thanks in advance,
Greg Olson
Can anyone share the code to load EPMFamily table
Hi
As we are aware that the download option for EPMDocuments has been removed by PTC. I got help from the posts in the community, i tried to execute the utility given in the thread (http://communities.ptc.com/thread/53101) . But seems it not working properly as expected. In my case it's more simpler as I need to download all the EPMDocument. When I execute this utility from the shell it downloads the EPMDocument, i.e. ".asm" file into ".ol" format and ".prt" file into ".log" file to my local drive. Whereas I don't want the file format to get changed once it gets downloaded on my local drive.
I received suggestions in the thread for downloading EPMDocument from the standalone windchill.But my requirement is to download it from the server side/vaults.
Can some one please help or suggest me to download it form the Windchill server/vaults.
Thanks.
I trying to discover what ways I can dynamically build a URL path to an object in the windchill database. We have external applications that I would like to be able to display the generated thumbnail representation that is stored in Windchill.
Doing some research, it appears the table FVITEM stores
It appears the table APPLICATIONDATA stores
It appears the table EPMDOCUMENT stores
I'm not sure how to relate (join) them all together yet. It looks like the pieces to be able to find the physical file, where it is stored is available so I could build a link to allow a user to view a thumbnail of the CAD Document.
My quesitons are:
Thanks
Mike
Hi to all!
How can I set the text color inside the dataUtility?
localDispText = new TextDisplayComponent((String)localName);
((TextDisplayComponent)localDispText).setValue((String)localName);
Thanks a lot!
Hello All,
On Monolithic Windchill Server 10.1M040, All Applets are failed to load.
Its shows a message in Pop up's as below,
The following error occurred during initialization: The operation: "getGlobalDomain" failed.
Nested exception is: wt.util.WTRemoteException: Unable to invoke remote method
Nested exception is: wt.util.WTRemoteException: Unable to locate method server
Nested exception is: wt.util.WTRemoteException: Unable to locate method server
Nested exception is: wt.util.WTRemoteException: Unable to get server
Nested exception is: java.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:5002" "connect,resolve")
Please guide us to solve this.
Regards,
Vivek
Hallo!
Lately I made some configuration in order to have format of data like: dd/mm/yy. On my drawings and part it looks Ok. But WindChill count days from beginning of the year.
How can I change it?
Best regards!
Hi need to Learn Windchill from Basics......