Share

ModelHoleThreadNoteDefinition Object


Description

The ModelHoleThreadNoteDefinition provides access to all of the information that defines a hole or thread note.

Methods

Name Description
Copy Method that creates a copy of this ModelHoleThreadNoteDefinition object. The new ModelHoleThreadNoteDefinition object is independent of any note. It can be edited and used as input to edit an existing note or to create a new note.
GetHolePropertyTolerance Method that gets the tolerance for the specified hole property.
GetHolePropertyTolerancePrecision Method that gets the tolerance precision for the specified hole property.
GetHolePropertyToleranceStatus Method that returns whether the tolerance for the specified hole property is enabled or not. This returns True if the hole property tolerance is enabled.
IsValidAnnotationPlane Method that returns the wheather a planer object is valid to be used as an annotation plane for this hole or thread note.
SetHolePropertyTolerancePrecision Method that sets the tolerance precision for the specified hole property.
SetHolePropertyToleranceStatus Method that enables/disables the tolerance for the specified hole property.

Properties

Name Description
AnnotationPlane Read-write property that gets and sets the annotation plane for the hole or thread note. Will return nothing in case where the ModelHoleThreadNodeDefinition object is transient and not associated with a hole or thread note.
AnnotationPlaneDefinition Read-write property that gets and sets the annotation plane definition for the hole or thread note.
Application Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server.
ArrowheadType Read-write property that gets and sets the type of the arrowhead. This is a style override.
FormattedHoleThreadNote Read-write property that gets and sets the fully formatted string that defines the contents of the hole or thread text. The formatting is specified using XML tags within the string. By default, all text in the string will be displayed using the defaults specified in the dimension style. You can use the XML tags to override the default style and apply style overrides for all or portions of the text. The formatting overrides are defined using tags. There is an opening tag and closing tag for each formatting override you define. The text between the opening and closing tags is affected by the override.
Intent Read-write property that gets and sets the geometry associated with the hole or thread note.
IsHoleNote Read-write property that indicates if this note is for a hole or thread feature. Returns True if it is for a hole note. This is true even in the case where the hole is tapped and has threads. Returns False in the case where the note is for a thread feature. Th.
IsTapDrill Read-write property that gets and sets whether to set the hole note as tap drill type. This property only applies to tapped hole features. In other cases the value of this property should be ignored and setting it will fail.
LandingPosition Read-write property that gets and sets the landing position of the dimension. The point is projected onto the orientation plane.
Parent Read-only property that returns the parent model annotation that the definition is associated with. This property will return Nothing in the case where the definition is not associated with any annotation. This is the case when it’s been created using one of the create definition methods and when it’s been copied from another definition object.
RightHandedThread Gets and sets whether to show RH for right handed thread.
Text Read-only property that gets the text of the dimension. Properties on the returned ModelAnnotationText object can be edited to change the displayed text.
TextPosition Read-write property that controls the position of the hole or thread note text. When being set, the input point will be projected onto the orientation plane.
Type Returns an ObjectTypeEnum indicating this object's type.
UseCustomThreadDesignation Gets and sets whether to use the custom thread designation, as defined in the Thread.xls spreadsheet for thread notes.
UseDefaultFormat Gets and sets whether to use the default format for hole notes.
UseModelUnits Read-write property that gets and sets whether to use the model measurement units for hole note. This is only valid for notes to hole features and not notes to thread features. This can easily be determined by checking the value of IsHoleNote property. In other cases the value of this property should be ignored and setting it will fail.
UseParameterTolerance Read-write property that gets and sets whether to use the format and tolerance information from parameters for hole note. This is only valid for notes to hole features and not notes to thread features. This can easily be determined by checking the value of IsHoleNote property. In other cases the value of this property should be ignored and setting it will fail.

Accessed From

ModelHoleThreadNote.Definition, ModelHoleThreadNoteDefinition.Copy, ModelHoleThreadNoteProxy.Definition, ModelHoleThreadNotes.CreateDefinition

Version

Introduced in version 2018

Was this information helpful?