All Frameworks  Object Hierarchy  This Framework  Indexes   

DrawingWelding (Object)

Represents a drawing welding in a drawing view.

Property Index

Angle
Returns or sets the angle of the drawing text.
IdentificationLineSide
Returns or sets the welding identification line Side of the drawing welding symbol.
Leaders
Returns the drawing leader collection of the drawing welding.
TextProperties
Returns the text properties of the drawing welding.
WeldingSide
Returns or sets the welding side of the drawing welding symbol.
WeldingTail
Returns or sets the welding tail of the drawing welding symbol.
x
Returns or sets the x coordinate of the drawing welding.
y
Returns or sets the y coordinate of the drawing welding.

Method Index

GetAdditionalSymbol
Returns the additional symbol of the drawing welding.
GetFinishSymbol
Returns the finish symbol of the drawing welding.
GetSymbol
Returns the symbol of the drawing welding.
GetTextRange
Returns the field of the drawing welding in a drawing text range.
SetAdditionalSymbol
Sets the additional symbol of the drawing welding.
SetFinishSymbol
Sets the finish symbol of the drawing welding.
SetSymbol
Sets the symbol of the drawing welding.

Properties


o 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
 
o 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
 
o 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
 
o 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
 
o 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
 
o 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
 
o 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
 
o 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


o 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
 
o 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) 
 
o Func GetSymbol( iWeld) As
Returns the symbol of the drawing welding.
Parameters:
iWeld
The field on which the symbol is applied
oSymbol
The welding symbol
Example:
This example gets the symbol on the first field of the MyWelding drawing welding
 MyWelding.GetSymbol(catWeldingFieldOne,oSymbol) 
 
o Func GetTextRange( iField) As
Returns the field of the drawing welding in a drawing text range.
Parameters:
iField
The drawing welding field
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)
 
o Sub SetAdditionalSymbol( iSymbol,
iweld)
Sets the additional symbol of the drawing welding.
Parameters:
iSymbol
The welding additional symbol
iWeld
The xxx
Example:
This example sets an concave additinal symbol on the MyWelding drawing welding
 MyWelding.Symbol = DftConcaveSymbol
 
o Sub SetFinishSymbol( iFinishSymbol,
iWeld)
Sets the finish symbol of the drawing welding.
Parameters:
iFinishSymbol
The finish welding symbol
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) 
 
o Sub SetSymbol( iSymbol,
iweld)
Sets the symbol of the drawing welding.
Parameters:
iSymbol
The welding symbol
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) 
 

Copyright © 2003, Dassault Systèmes. All rights reserved.