Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

Re: client authentication and password-less SOAP requests

$
0
0

Hi,

I'm sorry but i haven't found a solution jet. To be honest, i haven't tried too much though. My goal was to start investigating the connection possibilities (both SOAP and connection libs) and getting to the point of retrieving data specifying the password was enough.

About this problem: I don't know your case, but i was mainly interested in the "trusted host" possibility, since i don't have a logged-in user when the external application is running, and for that i haven't found much documentation.

If you do have a logged user and the machine is registered inside the ldap domain, getting his/her java.security.Principal and passing it to the IeConnectionSpec.setAuthUser method might work (I haven't tried so i might be wrong).

 

sorry that i'm not of much help. If you make any breakthrough let me know.

 

good luck, Marco.


Re: Using presence of comments to determine workflow execution.

$
0
0

Hi Anuradha,

There was an issue with the link you had posted (could have been on my end), but it was going to another discussion within PTC Community.  I have updated the link.

Best,

Toby

Re: Update IBA without Checking-Out the Object

$
0
0

Mahesh,

As per CS24562, it is against the Windchill business rules to update an IBA of a WTDocument (or any Workable object) without creating a new iteration of it. We cannot guarantee the integrity of the data if you do not check it out first.

Re: Export and Import Of ACL's

$
0
0

It's kind of a clunky workaround since we don't have any loaders to export ACLs at present, but if you export the context (product) as a template you can select to export Access Control Rules. You can then use that template to create other contexts with those rules.

Re: Add Attribute to CAD Documents

$
0
0

Are you sure that you have attribute mapping set up correctly? As long as the mapping is set up and the parameter exists in the Creo start part, it should populate the Windchill IBA upon upload of the CAD Document in the workspace.

 

Please refer to the the "About Attribute Mapping" Windchill Help Center topic for more information:

http://support.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=TypeMgrAttributeMapAbout&action=show

 

Or the "Mapping Creo Parametric Parameters to Windchill Attributes" section in the Using Creo Parametric with Windchill Guide

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

$
0
0

Diane, are you able to successfully use the Workspace Save As functionality instead?

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.

Re: Relationship Explorer

$
0
0

HI Ryan, I am checking with Product Management regarding your questions. I will let you know what I find out.

 

Thanks, Lori


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. 

Re: Windchill Report - tables cannot be merged.

$
0
0

I'm assuming that he is working with Query Builder reports (Site, Util, Repor Mgr UI).

I don't (yes) know anything at all about Windchill Quality Solutions but the concepts should carry over from other areas of Windchil.

 

These reports are incredibly important and useful, but take a lot of time /effort to develop and the documentation is minimal.

 

Please put him in touch w/me if you like - I can walk him thru a lot general concepts and how-to for these reports.

Re: How do I get Setup Participants in PDMLink 10 to act like it did in 9.

$
0
0

The article in your response has nothing to do with my question.

Re: "CAD part is not unique"

$
0
0

How did you moved your data? By import manager?

Re: "CAD part is not unique"

$
0
0

From creo parametric , launch Internet explorer and select tools(workspace) - import to workspace - select all the model-ok.

Remote method server exception

$
0
0

Hi!

 

I want to set state for the WTDocument by java code through rms like this:

RemoteMethodServer rms = RemoteMethodServer.getDefault();

                    rms.setUserName("***");

                    rms.setPassword("***");

                    WTChangeOrder2 cho = (WTChangeOrder2)( new ReferenceFactory()).getReference("VR:wt.change2.WTChangeOrder2:16423065").getObject();

                    wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeablesBefore(cho);

                    wt.doc.WTDocument wtd = null;

                    wt.fc.QueryResult qr2 = new wt.fc.QueryResult();

                    while (qr.hasMoreElements())

                    {

                              wtd = (wt.doc.WTDocument)qr.nextElement();

               Class argTypes[] = {wt.lifecycle.LifeCycleManaged.class, wt.lifecycle.State.class};

               Object argValues[] = {(wt.lifecycle.LifeCycleManaged)wtd, wt.lifecycle.State.toState("CANCELLED")};

               rms.invoke("setState", wt.lifecycle.LifeCycleServerHelper.service.getClass().getName(), null, argTypes, argValues);

                    }

 

But I have an exception like this:

WARNING: The ManagerService is not initialized!  This can be caused by:

1) Attempting to invoke a server only method from a remote client

2) Attempting to invoke a method on a service from the constructor or static initializer of another service

 

What is wrong?


Re: "CAD part is not unique"

$
0
0

Try this:

1. Clear your workspace

2. Open your model from local drive

3. Press "Save and upnload" (in Creo). It will upload your model to the workspace.

4. Press "Check in" (in Creo).

Re: Remote method server exception

$
0
0

You need to do this way.

 

RemoteMethodServer rms = RemoteMethodServer.getDefault();

                    rms.setUserName("***");

                    rms.setPassword("***");

rms.invoke("yourMethodName", Yourclass.class.getName,null,argTypes,argValues);

 

// Put your logic inside your method

 

public yourMethodName() {

WTChangeOrder2 cho = (WTChangeOrder2)( new ReferenceFactory()).getReference("VR:wt.change2.WTChangeOrder2:16423065").getObject();

                    wt.fc.QueryResult qr = wt.change2.ChangeHelper2.service.getChangeablesBefore(cho);

                    wt.doc.WTDocument wtd = null;

                    wt.fc.QueryResult qr2 = new wt.fc.QueryResult();

                    while (qr.hasMoreElements())

                    {

                              wtd = (wt.doc.WTDocument)qr.nextElement();

                       State st=State.toState(String state);

                                                  LifeCycleHelper.service.setLifeCycleState(wtd,st);

               }

 

}

 

Let me know if you need further detail

Re: Remote method server exception

$
0
0

The class you call with rms.invoke() needs to extend StandardManager and implement RemoteAccess, Serializable. I guess LifeCycleServerHelper does not satisfy that criteria and cannot be called like that. As Vino said, write your own class containing yourMethodName() inside a class that extends StandardManager and implements RemoteAccess, Serializable.

Re: "CAD part is not unique"

$
0
0

That option tried already , not solved.

Re: Remote method server exception

$
0
0

Vino, I have changed the method to the LifeCycleHelper.service.setLifeCycleState(wtd,st) and now it's working fine. Please correct me. If I want to use your sample, so I should have my custom class with the method on the server side?

Viewing all 8876 articles
Browse latest View live


Latest Images

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