Retrieving a Dynamic Structure Representation from CAD Documents
Example: Retrieving a Dynamic Structure Representation from a CAD Document
This example shows you how to retrieve the dynamic structure representation from a specific CAD Document. Use the following GET URI.
URI
GET /Windchill/servlet/odata/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:236245')/PTC.CADDocumentMgmt.GetDynamicStructureRepresentation()
The request returns the URL for the dynamic structure representation. Use this URL to open the representation in the Creo View client or Creo View WebGL Viewer.
Example: Retrieving a Dynamic Structure Representation from a CAD Document for a Specific Navigation Criteria
This example shows you how to retrieve the dynamic structure representation from a specific CAD Document for a specific Navigation Criteria. Use the following GET URI.
URI
GET /Windchill/servlet/odata/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:236245')/PTC.CADDocumentMgmt.GetDynamicStructureRepresentation(NavigationCriteriaId='OR:wt.filter.NavigationCriteria:249166')
The request returns the URL for the dynamic structure representation with the applied filter. Use this URL to open the representation in the Creo View client or Creo View WebGL Viewer.
Example: Retrieving a Dynamic Structure Representation PVZ from a CAD Document
This example shows you how to retrieve the dynamic structure representation zipped PVZ with annotations from a specific CAD Document. Use the following GET URI.
URI
GET /Windchill/servlet/odata/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:236245')/PTC.CADDocumentMgmt.GetDynamicStructureRepresentationPVZ(IncludeAnnotations=true)
The request returns a binary stream in the response. To download the dynamic structure representation zipped PVZ, you can request the URI from the browser.
Example: Retrieving a Dynamic Structure Representation PVZ from a CAD Document for a Specific Navigation Criteria
This example shows you how to retrieve the dynamic structure representation zipped PVZ with annotations from a specific CAD Document for a specific Navigation Criteria. Use the following GET URI.
URI
GET /Windchill/servlet/odata/CADDocumentMgmt/CADDocuments('OR:wt.epm.EPMDocument:236245')/PTC.CADDocumentMgmt.GetDynamicStructureRepresentationPVZ(NavigationCriteriaId='OR:wt.filter.NavigationCriteria:249166',IncludeAnnotations=true)
The request returns a binary stream in the response. To download the dynamic structure representation zipped PVZ with annotations and applied filter, you can request the URI from the browser.