Get Section view group

Hi All,
I want to find a Node or Python that can call section view group in alignments.
Thanks!!!
image

You can try the following source code, but I haven’t tested it in Dynamo.
For reference only.

def get_sec_groups():

	adoc = acapp.DocumentManager.MdiActiveDocument
	with adoc.LockDocument():
		with adoc.Database as db:
			with db.TransactionManager.StartTransaction() as t:
				civdoc = CivilApplication.ActiveDocument

				for alignmentId in civdoc.GetAlignmentIds():
					a = t.GetObject(alignmentId, OpenMode.ForRead)
					if a.Name == 'CL':
						alignment = a
						break

				sampleLineGroup = t.GetObject(alignment.GetSampleLineGroupIds()[0], OpenMode.ForRead)

				cnt = len(list(sampleLineGroup.SectionViewGroups))
				t.Commit()

	return cnt