Properties
- Property Angle() As
-
Returns or sets the angle of the drawing text.
The angle is measured between the axis system of the drawing view and the
local axis system of the drawing text.
The angle is measured in radians and is counted counterclockwise.
- Example:
-
This example sets the angle of the MyText drawing Text to 90
degrees clockwise.
You first need to compute the angle in degrees and set the
minus sign to indicate the rotation is clockwise.
Angle90Clockwise = -90 MyText.Angle = Angle90Clockwise
- Property IdentificationLineSide() As
-
Returns or sets the welding identification line Side of the drawing welding symbol.
Precondition: This property is only available for ISO standard.- Example:
-
This example sets welding identification line Side to Up .
MyWeld.IdentificationLineSide = catWeldingUp
- Property Leaders() As (Read Only)
-
Returns the drawing leader collection of the drawing welding.
- Example:
-
This example retrieves in LeaderCollection the collection of
leaders of the MyWelding drawing welding.
Dim LeaderCollection As DrawingLeaders Set LeaderCollection = MyWelding.Leaders
- Property TextProperties() As (Read Only)
-
Returns the text properties of the drawing welding.
- Example:
-
This example retrieves in TextProperties the text properties of
the MyWelding drawing welding..
Dim TextProperties As DrawingTextProperties Set TextProperties = MyWelding.TextProperties
- Property WeldingSide() As
-
Returns or sets the welding side of the drawing welding symbol.
- Example:
-
This example sets welding side to Up .
MyWeld.WeldingSide = catWeldingUp
- Property WeldingTail() As
-
Returns or sets the welding tail of the drawing welding symbol.
- Example:
-
This example displays the welding symbol tail.
MyWeld.WeldingTail = catDftWeldingTailYES
- Property x() As
-
Returns or sets the x coordinate of the drawing welding.
It is expressed with respect to the current view coordinate system.
This coordinate, like any length, is measured in millimeters.
- Example:
-
This example retrieves in X the x coordinate of the
MyWelding drawing welding.
X = MyWelding.x
- Property y() As
-
Returns or sets the y coordinate of the drawing welding.
It is expressed with respect to the current view coordinate system.
This coordinate, like any length, is measured in millimeters.
- Example:
-
This example sets the y coordinate of the
MyWelding drawing welding to 5 inches.
You need first to convert the 5 inches into millmeters.
NewYCoordinate = 5*25.4/1000 MyWelding.y = NewYCoordinate
Methods
- Func GetAdditionalSymbol( iWeld) As
-
Returns the additional symbol of the drawing welding.
- Parameters:
-
- iWeld
- The xxx
- Example:
-
This example sets an concave additinal symbol on the MyWelding drawing welding
MyWelding.Symbol = DftConcaveSymbol
- Func GetFinishSymbol( iWeld) As
-
Returns the finish symbol of the drawing welding.
- Parameters:
-
- iWeld
- The field on which finish symbol is applied.
- Example:
-
This example returns the finish symbol on the first symbol of the MyWelding drawing welding
MyWelding.GetFinishSymbol(catWeldingFieldOne,oFinishSymbol)
- Func GetSymbol( iWeld) As
-
Returns the symbol of the drawing welding.
- Parameters:
-
- iWeld
- The field on which the symbol is applied dd>
- oSymbol
- The welding symbol
- Example:
-
This example gets the symbol on the first field of the MyWelding drawing welding
MyWelding.GetSymbol(catWeldingFieldOne,oSymbol)
- Func GetTextRange( iField) As
-
Returns the field of the drawing welding in a drawing text range.
- Parameters:
-
- iField
- The drawing welding field dd>
- Returns:
- The drawing text range that corresponds to the drawing welding field
- Example:
-
This example retrieves the xxx.
Dim textRange As DrawingTextRange Set textRange = MyWelding.GetTextRange (catWeldingUp)
- Parameters:
-
- iSymbol
- The welding additional symbol dd>
- iWeld
- The xxx
- Example:
-
This example sets an concave additinal symbol on the MyWelding drawing welding
MyWelding.Symbol = DftConcaveSymbol
- Parameters:
-
- iFinishSymbol
- The finish welding symbol dd>
- iWeld
- The field on which finish symbol will be applied.
- Example:
-
This example sets the finish symbol on the first symbol of the MyWelding drawing welding
MyWelding.GetFinishSymbol(catWeldingFieldOne,catDftLetterCWelding)
- Parameters:
-
- iSymbol
- The welding symbol dd>
- iWeld
- The field on which the symbol is applied
- Example:
-
This example sets a symbol on the first field of the MyWelding drawing welding
MyWelding.SetSymbol(catSquareWelding,catWeldingFieldOne)