For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing. This indicates whether the reference object has source entity.
public bool IsReferencedSourceExisting { get; }
Public ReadOnly Property IsReferencedSourceExisting As Boolean Get
public:
property bool IsReferencedSourceExisting {
bool get ();
}1if (entity.IsReferenceObject && (!entity.IsReferenceValid || !entity.IsReferencedSourceExisting)) 2{ 3 //This reference entity is broken 4}