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.DataShortcutsAssembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.8.0.292
Syntaxpublic static bool RepairBrokenDRef(
ObjectId brokenDRefId,
string targetDwgFullPath
)
Public Shared Function RepairBrokenDRef (
brokenDRefId As ObjectId,
targetDwgFullPath As String
) As Boolean
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
BooleanReturns the repairing result.
See Also