Table.SetBlockAttributeValue(int, int, ObjectId, string) Method (First Python Script)

I am writing my first python code. My current python code sets the auto scale of the blocks inside the table cells to false. It then scales the blocks inside the table cells.

What I need help with is the last step. I need to edit a table block attribute value. I believe I can use Table.SetBlockAttributeValue but I am having a hard time getting the objectid. Any ideas on how I can get an objectid by the name of the attribute?

Here is the dynamo and code for reference. My Python script is at the end.

SUE Pothole Table_V7.dyn (160.9 KB)

# Load the Python Standard and DesignScript Libraries
import sys
import clr

# Add Assemblies for AutoCAD and Civil3D
clr.AddReference('AcMgd')
clr.AddReference('AcCoreMgd')
clr.AddReference('AcDbMgd')
clr.AddReference('AecBaseMgd')
clr.AddReference('AecPropDataMgd')
clr.AddReference('AeccDbMgd')

# Import references from AutoCAD
from Autodesk.AutoCAD.Runtime import *
from Autodesk.AutoCAD.ApplicationServices import *
from Autodesk.AutoCAD.EditorInput import *
from Autodesk.AutoCAD.DatabaseServices import *
from Autodesk.AutoCAD.Geometry import *

# Import references from Civil3D
from Autodesk.Civil.ApplicationServices import *
from Autodesk.Civil.DatabaseServices import *

# The inputs to this node will be stored as a list in the IN variables.
RowIndex = IN[0]
ColmIndex = IN[1]
table = IN[2]
isFalse = IN[3] 

adoc = Application.DocumentManager.MdiActiveDocument
editor = adoc.Editor

with adoc.LockDocument():
    with adoc.Database as db:

        with db.TransactionManager.StartTransaction() as t:
            for i in range(2, RowIndex + 1):
                acTable = table.InternalDBObject
           
            
                acTable.UpgradeOpen()
                acTable.SetAutoScale(i, ColmIndex, isFalse)
                acTable.DowngradeOpen()
            
                acTable.UpgradeOpen()
                acTable.SetBlockScale(i, ColmIndex, 0.06)
                acTable.DowngradeOpen()
                
                acTable.UpgradeOpen()
                acTable.SetBlockAttributeValue(i, ColmIndex, DIAID, "value")
                acTable.DowngradeOpen()
                
              
                # Commit before end transaction
            t.Commit()
            

# Assign your output to the OUT variable.
OUT = table