By Adam Nagy
If you want to make your property read-only (greyed out), then you just have to return eNotApplicable from your property's subSetValue() function:
Acad::ErrorStatus MyDoubleProperty::subSetValue(
AcRxObject* pO, const AcRxValue& value) const
{
return Acad::eNotApplicable;
}