Creates a new drawing sheet within an Inventor drawing document. The parent of IvDrawingSheet must be a design of type IvDrawingDocument.
BasePart
Name | Type | Description |
---|---|---|
document | part | Design of type IvDrawingDocument, the drawing sheet belongs to. Usually, this is left as the default, Parent. |
sheetName | string | Name to be assigned to the drawing sheet. Defaults to the display text used for the part representing the sheet. |
size | string | Sheet size. Valid values are: "A", "B", "C", "D", "E", "F", "A0", "A1", "A2", "A3", "A4", "s9x12in", "s12x18in", "s18x24in", "s24x36in", "s30x42in", "s36x48in", "Default" and "Custom". If "Custom" is used (to indicate a custom sheet size), the 'customHeight' and 'customWidth' parameters must be provided. |
customHeight | number | Height of the sheet, if size: is set to "Custom". |
customWidth | number | Width of the sheet, if size: is set to "Custom". |
orientation | name | Orientation of the sheet. Must be either :Landscape or :Portrait. Default is :Landscape. |
titleBlockDefinition | string | Name of title block to be used. This title block must be contained in the drawing template, in Drawing Resources -> Title Blocks. Defaults to "" (no title block). |
titleBlockStrings | list | Nested list with values for the title block prompted entry fields. The list is structured as a list of lists with name/value pairs, as follows: { {"","Value_1"}, {"","Value_2"}, ? }. |
border | string | Name of the border to be used. This border must be contained in the drawing template, in Drawing Resources -> Borders. Defaults to "Default", indicating that the default border should be used. |
borderStrings | list | Nested list with values for the border prompted entry fields. The list is structured as a list of lists with name/value pairs, as follows: { {"","Value_1"}, {"","Value_2"}, ? }. |
sheetsToDelete | list | List of existing drawing sheets that should be deleted when this sheet is created. Typically used to cause the removal of the initial sheet, named "Sheet:1". |
Name | Type | Description |
---|---|---|
height | number | Can be used to determine the height of the sheet. The value is returned in project units. |
width | number | Can be used to determine the width of the sheet. The value is returned in project units. |