I understand...
in API you have to define the variables nad83 and wgs84_12N as Coordinate Systems by using:
nad83 = Metashape.CoordinateSystem("EPSG::6318")
wgs84_12N = Metashape.CoordinateSystem('EPSG::32612')
by default the nad83 CS has the 7 TOWGS84 parameters defined as [0,0,0,0,0,0,0]
so in console you set the parameters to required list by:
nad83.towgs84 = [-1.0053, 1.90921, 0.54157, 0.0267815, -0.00042078, 0.01093254, -0.00036891]
then define the coordinates of vector you want to transform and do conversion from nad83 to wgs84_12N CS:
pt = Metashape.Vector((-111.886884,41.72064256,1335.827))
nad83.transform(pt,nad83,wgs84_12N)
Out[10]: 2025-02-05 15:11:02 Vector([426228.4682755239, 4619140.799984329, 1335.139839227436])
Quick class in API... if you need more orientation, please send me a PM.