Creates a new virtual sub-assembly and optionally saves it to the specified file.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertNewAssembly( _
ByVal FileName As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim FileName As System.String
Dim value As System.Integer
value = instance.InsertNewAssembly(FileName) |
C# | |
---|
System.int InsertNewAssembly(
System.string FileName
) |
C++/CLI | |
---|
System.int InsertNewAssembly(
& System.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