@HossZamani You can still use
from Autodesk.Revit.DB import Transaction t = Transaction(doc, 'Name') t.Start() #Do stuff t.Commit()
but look at this post: