Copies and pastes a drawing sheet to the specified location of the drawing document, optionally renaming whenever duplicate names occur.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function PasteSheet( _
ByVal InsertOption As System.Integer, _
ByVal RenameOption As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim InsertOption As System.Integer
Dim RenameOption As System.Integer
Dim value As System.Boolean
value = instance.PasteSheet(InsertOption, RenameOption) |
Parameters
- InsertOption
- Option as defined in swInsertOptions_e
- RenameOption
- Option as defined in swRenameOptions_e; 1 to rename duplicate section, detail or auxiliary view names; 2 to not rename
Return Value
True if successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2011 FCS, Revision Number 19.0