Share

Entity.IsReferencedSourceExisting Property

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.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public bool IsReferencedSourceExisting { get; }

VB

Public ReadOnly Property IsReferencedSourceExisting As Boolean
	Get

C++

public:
property bool IsReferencedSourceExisting {
	bool get ();
}

Property Value

Boolean

Example

API user can get this property to check status of the DRef.

1if (entity.IsReferenceObject && (!entity.IsReferenceValid || !entity.IsReferencedSourceExisting))
2{
3    //This reference entity is broken
4}

See Also

Reference

Was this information helpful?