Get Drawing
Use the Get Drawing action to fetch representation contents of a Part or a CADDocument from the Windchill server.
This action fails with a Windchill 2-way SSL connection if you try to fetch the content in the File or Stream format. This is a Windchill issue, and it will be fixed in an upcoming Windchill release.
Complete the following steps to use the Get Drawing action in your workflow:
1. Drag the Get Drawing action under Windchill to the canvas, place the pointer on the action, and then click or double-click the action. The Get Drawing window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add a Windchill connector type, refer to Supported Windchill Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Windchill connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Entity Type list, select a Windchill entity type:
If the selected representation file type is not available in the representation for the specified Part entity, the Get Drawing action searches for that file type in the representation of the CADDocument associated with that particular part.
7. In the List of Identifiers field, provide a a comma-separated list of entity identifiers in the Windchill OID format, OR:Type:ID, where Type is the internal name of the Windchill entity type. An example of a part identifier is OR:wt.part.WTPart:646192.
8. In the Content Filter Type list, select the file format by which you want to filter the results:
Any—All files from the representation. This is the default value.
2D Thumbnail—2D Thumbnail file from the representation.
3D Thumbnail—3D Thumbnail file from the representation.
CGM.cgm (Computer Graphics Metafile) file. Commonly used in CAD and presentation graphics.
DXF.dxf (Drawing exchange Format) file. Graphic image format used in AutoCAD.
IGES.igs (Initial Graphics Exchange Specification) file. A neutral file format for transferring 2D and 3D drawing data between dissimilar CAD systems.
JT.jt (Jupiter Tesselation) file. JT 3D data format for exchanging and visualizing data.
PDF.pdf file. Standard format for saving documents.
PLT.plt file. A vector-based plotter file containing plotting details from a CAD application.
PVZ.pvz file. File for the representation in Creo View.
STEP.stp file. A file for storing 3D image data in an ASCII format.
STL.stl (stereolithography) file. A file format for 3D printing.
VRML.wrl file. A graphics file format used by Virtual Reality Modeling Language (VRML). VRML files are used for 3D information, primarily in web pages.
9. In the Content Format list, select one of the following options:
URLs Only—Retrieve the output in URL format. The action output contains URLs for the content fetched for the document.
Content Stream—Retrieve the output as a data stream in a binary format. This content can be mapped to another action.
File—Retrieve the output in the file format. For detailed structure of the zip file, refer to Downloaded Content File Format.
10. Click Show Additional Fields to see additional fields.
In Get OData Annotations, select true to include OData Annotations in the output. The default value is false.
11. Click Done.
Output schema
The Get Drawing action provides a dynamic output schema on the basis of the selected Entity Type.
For Entity Type set to Part:
For Entity Type set to CADDocument:
Was this helpful?