The Drive Sketch Text Properties Generation Task allows you to drive sketched text and its parameters such as the font and style.
Property Name | Description |
---|---|
(Name) | The unique name for this Task. |
Sketch Name | The name of the sketch whose text is to be driven. |
Bold | TRUE to embolden text. Default is FALSE. |
Font Height | Sets height of the font property |
Font Height Units | Sets font weight using either units or points. The default is points. (If using Units for 'Font Height Units' make sure the Font Height value is expressed in metres.) |
Font Name | The name of the font typeset to use. |
Italic | TRUE to make the text property italic. The default is FALSE. |
Strikeout | TRUE to strikeout text property. The default is FALSE. |
Underline | TRUE to underline text property. The default is FALSE. |
Width Factor | Sets the width factor of the text. |
Width Factor for this property needs to be set as a scale factor and not as a straight value.
For example a width factor of 1.5 will scale the width to 150%
Putting a value of 150 would result in SOLIDWORKS trying to use a Width Factor of 15000%
When this task is added the properties are static by default. See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Sketch Name | Sketch5 | Sketch5 | The name of the sketch containing the text that you want to drive. |
Bold | TRUE | TRUE | This will embolden the text. FALSE (the default setting) will not embolden the text. |
Font Height | 36 | 36 | Sets the font height for the text in the either model units or points depending on what is selected for Font Height Units. |
Font Height Units | Point | Point | Sets the font weight in either units or points. The default is points. |
Font Name | Arial | Arial | The Name of the font typeset to use |
Italics | TRUE | TRUE | This will italicize the text when set to TRUE. FALSE (the default setting) will not italicize the text. |
Strikeout | TRUE | TRUE | This will strikeout the text when set to TRUE. FALSE (the default setting) will not strikeout the text. |
Underline | TRUE | TRUE | This will underline the text when set to TRUE. FALSE (the default setting) will not underline the text. |
Width Factor | 2 | 2 | This will scale the text width to 200%. |
This Task can be added to the following Generation Sequence(s):