Home Search

DriveWorks Pro 22
Drive Sketch Text Properties

Send Feedback

Drive Sketch Text Properties

The Drive Sketch Text Properties Generation Task allows you to drive sketched text and its parameters such as the font and style.

Properties

Property NameDescription
(Name)The unique name for this Task.
Sketch NameThe name of the sketch whose text is to be driven.
BoldTRUE to embolden text. Default is FALSE.
Font HeightSets height of the font property
Font Height UnitsSets 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 NameThe name of the font typeset to use.
ItalicTRUE to make the text property italic. The default is FALSE.
StrikeoutTRUE to strikeout text property. The default is FALSE.
UnderlineTRUE to underline text property. The default is FALSE.
Width FactorSets 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%

Example

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 NameExample RuleExample ResultMeaning
Sketch NameSketch5Sketch5The name of the sketch containing the text that you want to drive.
BoldTRUETRUEThis will embolden the text. FALSE (the default setting) will not embolden the text.
Font Height3636Sets the font height for the text in the either model units or points depending on what is selected for Font Height Units.
Font Height UnitsPointPointSets the font weight in either units or points. The default is points.
Font NameArialArialThe Name of the font typeset to use
ItalicsTRUETRUEThis will italicize the text when set to TRUE. FALSE (the default setting) will not italicize the text.
StrikeoutTRUETRUEThis will strikeout the text when set to TRUE. FALSE (the default setting) will not strikeout the text.
UnderlineTRUETRUEThis will underline the text when set to TRUE. FALSE (the default setting) will not underline the text.
Width Factor22This will scale the text width to 200%.
Due to a known SOLIDWORKS bug (SPR 362551) the Strikeout and Underline properties currently do not function. When this bug is fixed these properties will be available to use.

Generation Sequence

This Task can be added to the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)