Cannot assign value to mark parameter of beam

i am not able to understand why warning is generated here.

Simple error, your Object.Identity is calling the family type whilst the Mark parameter is instance based. You need to get the family instance instead of the family type.