Complete the code to create a new sheet set in AutoCAD.
sheetSet = acadApp.SheetSets.Add([1])You need to provide the file name as a string when adding a new sheet set.
Complete the code to add a new sheet to an existing sheet set.
newSheet = sheetSet.Sheets.Add([1], "TitleBlock")
The Add method requires the sheet name as a string, so it must be in quotes.
Fix the error in the code to open an existing sheet set file.
sheetSet = acadApp.SheetSets.Open([1])The Open method requires the file name as a string with quotes.
Fill both blanks to list all sheet names in a sheet set.
sheetNames = [sheet.[1] for sheet in sheetSet.[2]]
Each sheet has a Name property, and all sheets are in the Sheets collection.
Fill all three blanks to filter sheets with names starting with 'A'.
filteredSheets = [sheet for sheet in sheetSet.[1] if sheet.[2].startswith([3])]
Use the Sheets collection, check the Name property, and filter by string starting with "A".
