08-31-2022
05:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-31-2022
05:16 PM
For 2. all that is required is to loop through the sheetformats collection in the drawing document, get the sheetformat object and use the copy method.
See Links to the API help embeded
Syntax
DrawingDocument.SheetFormats() As SheetFormats
Syntax
SheetFormat.CopyTo( TargetDocument As DrawingDocument ) As SheetFormat
For 1. Loop through each object from the drawing document and try and delete. Use try catch statement. It will not delete anything that is currently in use in the sheet.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan