
import clr
import sys
import os

def inspect_params():
    dll_dir = os.path.join(os.getcwd(), "libs")
    sys.path.append(dll_dir)
    clr.AddReference("rapiplus")
    import com.omnesys.rapi as rapi
    
    print("--- REngineParams Properties ---")
    p = rapi.REngineParams()
    for prop in p.GetType().GetProperties():
        val = prop.GetValue(p, None)
        print(f"{prop.Name} ({prop.PropertyType.Name}) = {val}")

if __name__ == "__main__":
    inspect_params()
