ReadOnly property

Is there any way to set custom property is "Read only".

SolidworksApi macros