Creates a new virtual sub-assembly and optionally saves it to the specified file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertNewAssembly( _
ByVal FileName As String _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim FileName As String
Dim value As Integer
value = instance.InsertNewAssembly(FileName)
|
C# | |
---|
int InsertNewAssembly(
string FileName
) |
C++/CLI | |
---|
int InsertNewAssembly(
& String^ FileName
) |
Parameters
- FileName
- Full pathname of new sub-assembly document (see Remarks)
Return Value
Error code as defined by
swInsertNewAssemblyErrorCode_e
Example
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0