Associate a data shortcut project to the input drawing file. Input drawing file will be saved after associating. The caller will set working folder to parent directory of the project path corresponding to the project id. The caller will set input project to active project.

Namespace: Autodesk.Civil.DataShortcuts
Assembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.4.2516.0

Syntax

C#
public static void AssociateDSProject(
	string projectId,
	string dwgFilePath
)
Visual Basic
Public Shared Sub AssociateDSProject ( _
	projectId As String, _
	dwgFilePath As String _
)
Visual C++
public:
static void AssociateDSProject(
	String^ projectId, 
	String^ dwgFilePath
)

Parameters

projectId
Type: System..::..String
Project id.
dwgFilePath
Type: System..::..String
Full database path to be associated.

See Also