is there a way to get the data type (i.e. integer, float, string/text, etc) of a given parameter either of system or component family?
I’m trying to export data to sqlite and i need to prepare the string data to add single quotes.
I managed to do so in python with the repr() function but I need to tell manually which parameters are to be converted in strings.
I wonder if there is a way to get the data types expected in revit for each parameter to use it as a comparison list to get indices.
If that’s not possible then I thought to loop through the parameter values of my list and check in python with various built in functions (i.e. isinstance(x, str) etc).
Thanks in advance for your help.