DataShortcutsRepairBrokenDRef(ObjectId, String) Method

A reference entity was broken means its referenced drawing or entity was not found. Update the broken reference entity's referenced drawing path with the target drawing path to fix the broken issue in host drawing.

Namespace: Autodesk.Civil.DataShortcuts
Assembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.8.0.292
Syntax
public static bool RepairBrokenDRef(
	ObjectId brokenDRefId,
	string targetDwgFullPath
)

Parameters

brokenDRefId  ObjectId
Object id of the broken Data Shortcut reference entity.
targetDwgFullPath  String
Full path of the specified drawing as the new referenced drawing.

Return Value

Boolean
Returns the repairing result.
See Also