Retrieving a Representation Using GetPVZ()
You can use the GetPVZ() function to retrieve a representation that includes a fully resolved structure for a positioning or an extended positioning assembly.
Example: Retrieving a Representation Using GetPVZ()
In this example, for the representation specified in the request URI, pass the value as false for the IncludeAnnotations parameter.
Use the following GET request.
URI
GET /Windchill/servlet/odata/Visualization/Representations('OR:wt.viewmarkup.DerivedImage:786687')/PTC.Visualization.GetPVZ(IncludeAnnotations=false)
The request returns a .pvz file that includes a fully resolved structure for the specified positioning assembly. The file returned does not include annotations.
Example: Retrieving a Representation with Annotations and Fidelity Using GetPVZ()
In this example, for the representation specified in the request URI, pass the value as true for the IncludeAnnotations parameter. Pass the value as Low Fidelity for the Fidelity parameter.
Use the following GET request.
URI
GET /Windchill/servlet/odata/Visualization/Representations('OR:wt.viewmarkup.MultiFidelityDerivedImage:331208')/PTC.Visualization.GetPVZ(IncludeAnnotations=true,Fidelity='com.ptc.FidelityLOW')
The request returns a .pvz file that includes a fully resolved structure with the specified fidelity for the extended positioning assembly. The file returned also includes annotations.
これは役に立ちましたか?