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.DataShortcutsAssembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static bool RepairBrokenDRef(
ObjectId brokenDRefId,
string targetDwgFullPath
) |
Visual Basic |
---|
Public Shared Function RepairBrokenDRef ( _
brokenDRefId As ObjectId, _
targetDwgFullPath As String _
) As Boolean |
Visual C++ |
---|
public:
static bool RepairBrokenDRef(
ObjectId brokenDRefId,
String^ targetDwgFullPath
) |
Parameters
- brokenDRefId
- Type: ObjectId
Object id of the broken Data Shortcut reference entity.
- targetDwgFullPath
- Type: System..::..String
Full path of the specified drawing as the new referenced drawing.
Return Value
Returns the repairing result.
See Also