Generating analytical model element from created physical geometry later defined as column

Simple geometry for column was defined as structural column by category using DirectShape.ByGeometry block as in mentioned image. It shows error “value may not be zero” in blocks such AnalyticalMember.ByElement and Curve.IsValidForAnalyticalMember for generating analytical elements and for checking that it is valid or not. Any Lead would be very helpful. Thank you in advance.