Loads a non-native SOLIDWORKS file (for example,
*.igs, *.dxf, and so on) into a new model document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function LoadFile4( _
ByVal FileName As System.String, _
ByVal ArgString As System.String, _
ByVal ImportData As System.Object, _
ByRef Errors As System.Integer _
) As ModelDoc2 |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim FileName As System.String
Dim ArgString As System.String
Dim ImportData As System.Object
Dim Errors As System.Integer
Dim value As ModelDoc2
value = instance.LoadFile4(FileName, ArgString, ImportData, Errors) |
Parameters
- FileName
- Full path and file name of the non-native SOLIDWORKS file to import
- ArgString
- Space-separated string that allows optional arguments to be specified when opening a foreign file (see Remarks)
- ImportData
- IImportIgesData, IImportDxfDwgData, or IImportStepData object (see Remarks)
- Errors
Errors as defined in swFileLoadError_e
Return Value
Model document
Example
Remarks
See Also
Availability
SOLIDWORKS 2006 SP1, Revision Number 14.1