Share

DataShortcuts.RepairBrokenDRef(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.280

Syntax

C#

public static bool RepairBrokenDRef(
	ObjectId brokenDRefId,
	string targetDwgFullPath
)

VB

Public Shared Function RepairBrokenDRef ( 
	brokenDRefId As ObjectId,
	targetDwgFullPath As String
) As Boolean

C++

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

Reference

Was this information helpful?