Gets the open document with the specified name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IGetOpenDocumentByName2( _
ByVal DocumentName As System.String _
) As ModelDoc2 |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim DocumentName As System.String
Dim value As ModelDoc2
value = instance.IGetOpenDocumentByName2(DocumentName) |
C# | |
---|
ModelDoc2 IGetOpenDocumentByName2(
System.string DocumentName
) |
C++/CLI | |
---|
ModelDoc2^ IGetOpenDocumentByName2(
& System.String^ DocumentName
) |
Parameters
- DocumentName
Fully qualified name of the open document (path, filename, and file extension)
Return Value
Open
model document or NULL if the operation fails
Remarks
See Also
Availability
SOLIDWORKS 2000 FCS, Revision Number 8.0