Open SimiPro opened 4 years ago
When in the python api one tries to make an api call that uses part_id for example as the following:
meta_data = client.metadata_api.get_wmvep_metadata(self.docId, 'm', self.mversion, self.eleId, self.partId, _preload_content=False, configuration=self.configuration_string)
this works as long as the self.partId does not have a + in it. So in my case the partId is: "J+D" which results in an url of: 'https://cad.onshape.com/api/metadata/d/9d2fc0446a58886a95a1c94d/m/d95ab1f3bb752522c9159dde/e/fc4e9644495e71e2ce43824f/p/J%2BD'
self.partId
which fails to retrieve the correct part.
When in the python api one tries to make an api call that uses part_id for example as the following:
meta_data = client.metadata_api.get_wmvep_metadata(self.docId, 'm', self.mversion, self.eleId, self.partId, _preload_content=False, configuration=self.configuration_string)
this works as long as the
self.partId
does not have a + in it. So in my case the partId is: "J+D" which results in an url of: 'https://cad.onshape.com/api/metadata/d/9d2fc0446a58886a95a1c94d/m/d95ab1f3bb752522c9159dde/e/fc4e9644495e71e2ce43824f/p/J%2BD'which fails to retrieve the correct part.