FoundPath Example

Using Programming Languages other than VBA

Sub Example_FoundPath()
	'This example reads information from a File Dependency List
	
	ThisDrawing.Application.Documents.Open ("c:\program files\autocad\sample\city map.dwg")
	ThisDrawing.Application.ZoomAll

	Dim objFDLCol As AutoCAD.AcadFileDependencies
	Dim objFDL As AutoCAD.AcadFileDependency

	Set objFDLCol = ThisDrawing.FileDependencies
	MsgBox ("The number of entries in the File Dependency List is " & objFDLCol.Count & ".")
	
	Dim strTemp As String
	For Each objFDL In objFDLCol
		strTemp = "Affects graphics?: " & vbTab & objFDL.AffectsGraphics
		strTemp = strTemp & vbCrLf & "Feature: " & vbTab & objFDL.Feature
		strTemp = strTemp & vbCrLf & "FileName: " & vbTab & objFDL.FileName
		strTemp = strTemp & vbCrLf & "FileSize: " & vbTab & objFDL.FileSize
		strTemp = strTemp & vbCrLf & "Fingerprint GUID: " & vbTab & objFDL.FingerprintGuid
		strTemp = strTemp & vbCrLf & "FoundPath: " & vbTab & objFDL.FoundPath
		strTemp = strTemp & vbCrLf & "FullFileName: " & vbTab & objFDL.FullFileName
		strTemp = strTemp & vbCrLf & "Index: " & vbTab & objFDL.Index
		strTemp = strTemp & vbCrLf & "Modified?: " & vbTab & objFDL.IsModified
		strTemp = strTemp & vbCrLf & "ReferenceCount: " & vbTab & objFDL.ReferenceCount
		strTemp = strTemp & vbCrLf & "Timestamp: " & vbTab & objFDL.TimeStamp
		strTemp = strTemp & vbCrLf & "Version GUID: " & vbTab & objFDL.VersionGuid
		MsgBox strTemp
	Next
End Sub

 

   Comments? 
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.