Dynamo ToDSType() equivalent for RiR

Is there a similar method for Rhino Inside or any other way to achieve the same result?

Do you mean a function that you can use in code, or a Grasshopper node to connect to? Please be more specific about the functionality that you like to have. Most users might not know what ToDSType() does in DynamoBIM

Apologies…
Yes I need a function that I can use in code ( c# Script component in Grasshopper) to control element binding.
To put it simply I want my output Revit elements to get updated and maintain their element ids when the input changes - and not create a new set of elements every time the component runs.

Many Thanks