Re: qml for Drawing >> related objects, Format
Re: qml for Drawing >> related objects, Format
Re: qml for Drawing >> related objects, Format
There is an issue with this query. It is using the "asStoredChildName" from the EPMReferenceLink table. Unfortunately this is static text and is not updated when the an object is renamed. It only show the name of the reference object at the time the record was originally created. Instead it needs to link the entry back to the EPMDocumentMaster table. Something like this:
SELECT
edm.CADName AS [Name]
FROM
EPMReferenceLink AS [rl]
JOIN EPMDocumentMaster AS [edm]
ON rl.idA3B5 = edm.idA2A2
WHERE
referenceType ='DRAWING_FORMAT'
AND idA3A5 ='341603112' -- set idA3A5 == to idA2A2 of EPMDocument
[P.S. I'm still working on a query that goes the other direction - finds all CAD Docs that refer to a particular format.]
Re: qml for Drawing >> related objects, Format
Found it. Mine does the same thing (includes our local domain name.)
Re: qml for Drawing >> related objects, Format
Tom
Sorry I was confusing epm reference link with cad reference link.
Please find corrected report attached.
Re: qml for Drawing >> related objects, Format
Here the other SQL version. This will take a format and return all the latest version drawings that reference it.
SELECT edm_frm.CADName AS [Format_Name], edm.CADName AS [Drawing_Name], ed.statestate AS [State], ed.versionIdA2versionInfo AS [Rev], ed.iterationIdA2iterationInfo AS [Iter] FROM EPMReferenceLink AS [rl] JOIN EPMDocumentMaster AS [edm_frm] ON rl.idA3B5 = edm_frm.idA2A2 JOIN EPMDocument AS [ed] ON rl.idA3A5 = ed.idA2A2 JOIN EPMDocumentMaster AS [edm] ON ed.idA3masterReference = edm.idA2A2 AND ed.branchIditerationInfo = ( SELECT max(branchIditerationInfo) FROM EPMDocument WHERE idA3masterReference = edm.idA2A2 AND edm.idA2A2 = ed.idA3masterReference AND latestiterationInfo = 1 AND statecheckoutInfo = 'c/i' ) WHERE rl.referenceType = 'DRAWING_FORMAT' AND ed.latestiterationInfo = 1 AND edm_frm.CADName LIKE 'part_c_landscape.frm' -- set this equal to the format interested in. Comment out entirely to see all formats. ORDER BY edm_frm.CADName, edm.CADName
Re: If we go for a change request, will it change the phase of Life Cycle
No
Life cycle should not be changing at the Change Request submittal time. The CR has done nothing to change the documents involved, only creates an intention to change the documents. Once the CR has been approved and a change task assigned, then the person assigned the task will revise the documents required. The revise process should bump the revision and change the lifecycle from released to one that the person can work on the parts with.
Re: Is there any way to find under which organization the container(Product, Liberary,etc.) is created
Execute an Info*Engine task using JAX-WS Web Service
Hello everyone,
I've execute an Info*Engine Task using the stand alone clinet Java successfully; now I would execute same task using JAX-WS Web Service, but I receive a Forbidden Exception.
There is some example on how to pass signature to the task or in generaaly how to use a Task (Info*engine) with JAx.WS
Thank you
Giorgio Fontana
Re: qml for Drawing >> related objects, Format
Great info / exchange here - really appreciate it. Gave me the needed clues. I imported the last one supplied by Darren and then rearranged a bit to list the Format first, with the intent being to list all drawings which reference a given format. It's fixed (Constant) for the 6 new Edwards Formats just released; if others use, substitute your format CAD Doc numbers.
thanks!
Re: Representation From Windchill
Currently we don't have LiveCycle.
Re: Exporting list from Windchill into Excel including files in subfolders
Couple of options:
- advanced search, select the context only, export search results
- create a query builder report and add the context as a criteria, export report results
Re: Windchill workflow activity rename
The lifecycle does have the use latest iteration of workflow checked, throughout all states.
Re: Windchill workflow activity rename
The steps you followed should work. Did you initiate a new workflow, say create a new object or set the state of the object to a state that triggers the workflow? Changes in workflow templates are only applicable for new instances of workflow process not for the existing ones
Kristie Schwartz wrote:
I have edited the name in the General Tab, saved the workflow, checked it back in, imported it, etc.
I am not sure about the import the import process you mentioned? You don't have to import the workflow unless you have exported a latest copy from another system or from a backup
Re: providing files to outside parties / suppliers
Hi Wayne,
Can you throw some light on the PTCNavigate implementation with Windchill , we do have similar use cases where based on RFQ suppliers get access to drawings and for a certain duration.
1. Is PTCNavigate app is external or internal facing for supplier
2. Is each supplier given access to Windchill or only at PTC Navigate level. Licensing mechanism
3. Are there any supplier specific app roles defined at PTC Navigate
4. When supplier queries a drawing , is the underlying data fetched with a super user from Windchill or in supplier context
thanks in advance,
Raj
Customize collection toolbar per user??
Hello.
I was wondering if anyone had any interest in reducing the number of "collector" controls in Windchill actions? I recently had to use a tool that showed me this toolbar:
As a CAD user, I primarily need to use this set of controls:
My customization reduced the total number of icons from 32 to 8.
I realize that other users would find some of the icons that I have excluded useful (and find some that I have included not useful); but it seems unlikely that any one user needs all 32 icons.
There are no Product Idea asking for an enhancement to allow user or role based customization of the collector toolbar. Any interest? If not, how do you have other workarounds?
Thanks
Jennifer
New Representataion
Hi
Is there any way for auto creation of additional files like stp,iges,dxf etc when the document is check in, right now i have to manually create new representation for every models and drawing, is it possible that when the data is checked in it will auto generate all the additional file types
thanks in advance
Re: CAD Documents - Tips on how to only set and show File Name
Hello All.
In Windchill 11.0, there are new enhancements that allow CAD Document number==name==file name AND the "base number" is based on an auto-generated number which is also used for the Part number. For example:
Part Number is 00001234
CAD Document identifiers are all the same and based on Part number; but contains extensions and suffixes to make it unique:
- 0001234.PRT
- 00001234_FLEX001.PRT
- 00001234.DRW
- 00001234.MFG
- etc.
To use this policy to its fullest, you need to change your focus in the UIs to be on CAD Document Number, since is the only value that can be generated using OIRs. As a result, you would need to change your displays to hide name and file name.
Note: If you are not using a WINDCHILL auto-generated number, then you can continue using the techniques previously discussed in this thread that are based on File Name.
Steps to base number, name and file name on a Windchill auto-generated number:
Customize your OIRs for CAD Documents and Parts:
CAD Documents:
Generate number from the same algorithm as your Parts
- Generate name from file name (CADName)
- Remove the immutable constraint on number
- Ensure that CADName (at least) is displaying “(Generated)” not the pre-generated number.
- (see my example attached)
- Parts
Generate number from the same algorithm as your Parts
- Remove the immutable constraint on number
- (see my example attached)
- Set all relevant server-side preferences (see affects below):
Operation > Auto Associate > Find and Create Part Using Base Number=Yes
- Operation > Auto Associate > Auto Associate Truncate Number File Extension=Yes
- Operation > Auto Associate > Force Autonumbered Part Creation=No
- Operation > General > Base Number Regular Expression
- Operation > New CAD Document > Set CAD Document Number Same As Part Number=Yes
- Operation > New CAD Document > Synchronize CAD File Name with CAD Document Number=Yes
- Operations > Upload Operation > Upload > Drop File Extension from Name=No
- Operations > Upload Operation > Upload > Drop File Extension from Number=No
- Save As > Inherit FileName from Number=Yes
- Hide fields from the UI:
From the Type and Attribute Management UI, you can remove Name and File Name from the following layouts:
- Default
- Create CAD Document
- Model Structure Attributes
- Primary Attributes
- Use Table Views to hide name and file namefields from the UIs:
- Workspace
- Add to Workspace
- Check Out
- Check In
- Undo Check Out
- Update
- Remove From WS
- Etc.
- Can hide per session Name and File Name using the Customize control in the table column header:
- Save As
- Rename
- Check the effects in all create UIs:
Ensure that the file’s extension is used in the CAD Document’s name and number when using upload, New CAD Document, Save As and Rename:
Operations > Upload Operation > Upload > Drop File Extension from Name=No
- Operations > Upload Operation > Upload > Drop File Extension from Number=No
- Ensure that the system is configured to find the “Base Number” (without extension/prefixes/suffixes). The out of the box system removes any suffixes and extensions.
Operations > General > Base Number Regular Expression
- When creating both Part and CAD Document from the New Part wizard, ensure that the default is to use the Part’s number for number and file name:
Operation > New CAD Document > Set CAD Document Number Same As Part Number=Yes
- Operation > New CAD Document > Synchronize CAD File Name with CAD Document Number=Yes
- When creating a CAD Document and/or Part using the New CAD Document UI, set it up to use number as the key field. The following previous preferences will ensure that it is generated correctly:
Number:
Extension will be in number when Drop File Extension from Number=No
- Number generated will not conflict with existing Part numbers if you are using the same algorithm to generate CAD Document and Part numbers.
- If you need to add a suffix, then the number field defaults to the generated number; but is editable if you removed the immutable constraint in your OIR.
- Name will be generated on File Name based on the OIR
- File Name will be based on the generated number based on Synchronize CAD File Name with CAD Document Number=Yes.
- Part Number:
When Force Autonumbered Part Creation=No AND the Part’s number OIR is NOT immutable, then the “Create and Associate Part” checkbox will use the CAD Document’s base number.
- Base number is found using Base Number Regular Expression.
- When creating CAD Documents and/or Parts using Save As, set the default file name (and name via OIRs) to be the same as number, because you will either generate the number with an extension OR you will copy the related part’s number:
Number:
Autogenerate: Extension will be in number when you use “autogenerate” option and Drop File Extension from Number=No
- Generate document number based on related Part:
The base number will be replaced with the Part’s number.
- Base number is found using the preference, Base Number Regular Expression
- Name will be generated on File Name based on the OIR.
- File Name:
Save As > Inherit FileName from Number=Yes will set File Number to be the same a CAD Document number.
- Part Number:
This is likely to be autogenerated
- Since you are using the same algorithm for CAD and Part numbering, there should be no numbering conflicts.
- When creating from Creo:
Note: that in Creo 4, you can now use the File > New CAD Document menu to create the CAD Document and/or related Part without needing to go to the WS UI.
- Note: Name will be the Number without its extension when Drop File Extension from Number=No.
- If for some reason, you didn’t use the auto-generated number for “Name” in the Creo UI, then you can use the Rename action in WS.
Thanks
Jennifer
SolidWorks dxf scale issue on publish
Hello all,
We're running 10.2 M030 and have customization to create .pdf and .dxf as Attachments to the drawing EPMDocument on publish.
The created attachment .dxf scaling is according to the sheet sizing when it should be 1:1. On the visualization server the SW Export setting was initially wrong, but enabling Scale output 1:1 did not help, ie. we tested that if just setting this correct with the user running the worker would fix the issue. A .slddrw was opened on the server, exported as .dxf with scaling 1:1 enabled and resulting .dxf was ok when opened. Assumption was that once Enable is selected it is then the default for the user running SW.
So the question is which setting does the worker look for when creating .dxf?
Re: New Representataion
Pro/Batch maybe able to do this. Here are the details: https://www.ptcusercommunity.com/thread/39688
-Amol