Method that closes the currently active sketch (see below for limitations) and depending on the input parameters, replaces the sketch of the title block definition with the edited sketch.
Name | Type | Description |
SaveChanges | Boolean | Input Boolean that specifies whether to save the changes or not. True indicates to save the changes. Setting this property to False will cause the sketch to close and lose all edits. This is an optional argument whose default value is True. |
SaveAsName | Variant | Input String that specifies the name of the new title block definition to create. This argument is used in the case where the SaveChanges argument is True. If not specified, or an empty string is supplied, the edited sketch replaces the sketch associated with the title block definition being edited. If a string is supplied, a new title block definition is created and the edited sketch is used for it. The supplied name must be unique with respect to all other TitleBlockDefinition objects in the document. This is an optional argument whose default value is null. |
Name | Description |
Title Block Definition Create and Insert | This sample illustrates creating a new title block definition object and inserting it into the active sheet. This sample consists of two subs. The first demonstrates the creation of a title block definition and the second inserts it into the active sheet. |