Help Converting C# code to Python

hashset is working . what about serviceID. how can we retreive it?

Hey,

People tend to appreciate it if you say thanks and like their solution :slight_smile:

You havenā€™t shown me any of your code or your graph, so I donā€™t know how best to help.

In future I would recommend creating a new post and linking to this topic, rather than reviving one that is a couple of years old.

You could then show us your workings and upload files, which allow us to test a solution before we give it to you.

That saidā€¦

If you click through, it tells you that ServiceId is a property of the FabricationServiceā€¦

image

So hopefully you already have the Fabrication Service and can either feed it in with GetParameterValueBy Name node, or python something like this?

serviceId = FabricationService.ServiceId

As I said above, I canā€™t test this code as I donā€™t have any test files to work with.

Hope that helps,

Mark

5 Likes