Set ProfileView Band profile 1 or profile 2 to new profile

Hello,

can I use Python to set profile 1 or profile 2 in ProfileView Band to new value using Python?

I tried this:

myProfViewBands = profView.Bands
myProfViewBandsBottomItems = myProfViewBands.GetBottomBandItems()[0]
myProfViewBandsBottomItemsTest1 = myProfViewBands.GetBottomBandItems()[0].Profile1Id = newProfileid

I changed id in Dynamo
image
but not in Civil 3D in profile view properties
image