angle |
**RETIRED** Gets and sets the angle of the text relative to the x-axis of the x-y plane of the sketch. |
definition |
Returns the SketchTextDefinition object associated with this input. When the SketchTextInput is first created this property will return null. Once one of the "set" methods have been called, this will return the SketchTextDefinition of the appropriate type and can be used to make any additional changes to the text. |
fontName |
Gets and sets the name of the font to use. |
height |
Gets and sets the height of the text in centimeters. |
isHorizontalFlip |
Gets and sets if the text is flipped horizontally. |
isValid |
Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
isVerticalFlip |
Gets and sets if the text is flipped vertically. |
objectType |
This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.
It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
position |
**RETIRED** Gets and sets the position of the text on the x-y plane of the sketch. The text must lie on the x-y plane so the Z component of the point is ignored and always treated as zero. |
text |
Gets and sets the text. |
textStyle |
Gets and sets the text style to apply to the entire text. This is a bitwise enum so styles can be combined to apply multiple styles. For example you can apply bold and italic. |