Saves the selected weldment member, surface body, or solid body to another part document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SaveToFile3( _
ByVal Name As System.String, _
ByVal Options As System.Integer, _
ByVal CutListProps As System.Integer, _
ByVal OverrideTemplate As System.Boolean, _
ByVal TemplatePath As System.String, _
ByRef Errors As System.Integer, _
ByRef Warnings As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPartDoc
Dim Name As System.String
Dim Options As System.Integer
Dim CutListProps As System.Integer
Dim OverrideTemplate As System.Boolean
Dim TemplatePath As System.String
Dim Errors As System.Integer
Dim Warnings As System.Integer
Dim value As System.Boolean
value = instance.SaveToFile3(Name, Options, CutListProps, OverrideTemplate, TemplatePath, Errors, Warnings) |
Parameters
- Name
- Path and name of the part document to which to save the selected weldment member, solid body, or surface body
- Options
- How to save the document as defined in swSaveAsOptions_e
- CutListProps
- Option for transferring the cut list of the selected weldment member, solid body, or surface body to the new part as defined in swCutListTransferOptions_e
- OverrideTemplate
- True to override the part template with the template specified by TemplatePath, false to not
- TemplatePath
- Path to part template; valid only if OverrideTemplate is true
- Errors
- Save errors as defined in swFileSaveError_e
- Warnings
- Warnings or extra information generated during the save operation as defined in swFileSaveWarning_e
Return Value
True if the save is successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2014 FCS, Revision Number 22.0