Automate data bands value

why i cannot select the alignment. Selection.AlignmentByName is showing null.

Hi @pics.munmun ,

From this screenshot it looks like you have an Enter in your string input, is this intentional?
image

It is possible that the name of the alignment was not written correctly Take the name from the properties