Bear with me as I am not much of a Civil 3D user, I am just pulling the alignment / profiles out of Civil 3D to use in Revit through Civil Connection package so this maybe a designed in feature.
But it seem a possible bug/ oversight that the Nodes CivilDocument.Get Alignments and CivilDocument.Get AlignmentByName return empty lists / nulls if the alignment is on a site in Civil 3D.
The workaround i have found is to move the alignment site to none, but if you don’t know to do this its quite confussing as to why there are alignments in Civil but not being seen in Dynamo Civil connect nodes. From chatting to my colleague this is because the alignments are imported from ProV. Even so it would be good if the alignments would be accessable in dynamo with having to change anything in Civil 3D.
Alignment Highlighted in Yellow can be found in Dynamo
Alignment Highlighted in Blue can’t be found in Dynamo
Dynamo Code with Null for Alignment that can’t be found even though it is in the model just under a site (Blue Highlighted)