Retreive Element Id as an integer

Dear all,
I wonder how can I get the Id of an element as an integer in python node. (This can be easily done with element.Id node but I am using python for a comparison of elements with an external database :slight_smile: )
Using element.Id method returns “Revit.DB” class which needs to be converted to an integer. How is it possible to do that?

Cheers!

Hi,
with IntegerValue property (ElementId class)

2 Likes