Opens the specified eDrawings file.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IEModelViewControl
Dim FileName As String
Dim IsTemp As Boolean
Dim PromptToSave As Boolean
Dim ReadOnly As Boolean
Dim CommandString As String
instance.OpenDoc(FileName, IsTemp, PromptToSave, ReadOnly, CommandString)
|
Parameters
- FileName
- Fully qualified path and filename (see Remarks)
- IsTemp
- True to delete the local copy of a remote non-eDrawings file when that file is closed, false to keep the local copy
- PromptToSave
- True to show a dialog if the user exits without saving the file, false to not show a dialog
- ReadOnly
- True if the file is read-only, false if not
- CommandString
- Specify an empty string (""); do not specify Nothing, Empty, or vbNullString
Example
Remarks
See Also
Availability
SolidWorks eDrawings API 2005 SP0