Element tracking and error with python/C# component

Hi! I am curious if element tracking and error mode - that are available on all creation components - are available for C# / Python components in some library? I would like to investigate the creation of 1D Analytical Members (new in Revit 2023) using GH, but before diving too deep, I wanted to know this.

What I got so far in Python, but this overwrite every new member when changing an input:

"""Provides a scripting component.
    Inputs:
        x: The x script variable
        y: The y script variable
    Output:
        a: The a output variable"""

import clr
clr.AddReference('System.Core')
clr.AddReference('RhinoInside.Revit')
clr.AddReference('RevitAPI') 
clr.AddReference('RevitAPIUI')

import System
import Rhino
import rhinoscriptsyntax as rs
from Grasshopper.Kernel import GH_RuntimeMessageLevel as RML

# bring in the node-in-code handle
from Rhino.NodeInCode import Components

# Revit API
from Autodesk.Revit import DB

from RhinoInside.Revit import Revit, Convert
doc = Revit.ActiveDBDocument

def show_warning(msg):
    ghenv.Component.AddRuntimeMessage(RML.Warning, msg)

def show_error(msg):
    ghenv.Component.AddRuntimeMessage(RML.Error, msg)

def show_remark(msg):
    ghenv.Component.AddRuntimeMessage(RML.Remark, msg)

revit_curve = Convert.Geometry.GeometryEncoder.ToCurve(curve)
t = DB.Transaction(doc, "Create Analytical Members")
t.Start()
analytical_member_before_commit = DB.Structure.AnalyticalMember.Create(doc, revit_curve)
t.Commit()
analytical_member = analytical_member_before_commit

Hi Guus,

There will be a replace element tracking added soon but the Element Tracking available on UI components won’t be till RiR 2.0 when there will be a sdk break. This will most likely happen towards next April when Revit switches to .Net6 in Revit 2025.