cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

PVZ for positioning assembly

GianVal
15-Moonstone

PVZ for positioning assembly

Hello,
we are experimenting with the retrieval of pvz resources from windchill for AR purposes using thingworx Flow. In particular, the "get viewable" routine is capable of getting pvz files except for positioning assemblies. In this case, the pvz file has a 0 KB size. How to build a proper pvz also for this type of structure?

3 REPLIES 3
yhan
17-Peridot
(To:GianVal)

Which Rest API was used to get the PVZ file from Windchill to Thingworx?

Take a practical example, we can use ptc-windchill-OData-connector to connect thingworx and windchill. Then we can see below usable APIs which allows to get representations from Windchill to thingworx.

  • PTC.Visualization.GetDynamicStructureRepresentation()
  • PTC.Visualization.GetPVZ(IncludeAnnotations={IncludeAnnotations})
  • getRepresentationInRepresentationsByID
  • getRepresentations

To my understanding "PTC.Visualization.GetDynamicStructureRepresentation()" is used to retrieve positioning assembly representation.

GianVal
15-Moonstone
(To:yhan)

Thank you for your answer. Anyway, I tried to use the "PTC.Visualization.GetDynamicStructureRepresentation()" into the Execute function of thingworx flow, but it returns this error

Failed to execute service 400 "{\"error\":{\"code\":null,\"message\":\"Found unsupported object for entity type.\"}}"

yhan
17-Peridot
(To:GianVal)
Announcements


Top Tags