pycatia.drafting_interfaces.drawing_dim_line¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.drafting_interfaces.drawing_dim_line.DrawingDimLine(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDrawingDimLineManages dimension line of a dimension in drawing view.This interface is obtained from DrawingDimension.GetDimLinemethod.- property color: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Color() As longReturns or sets color of dimension line.Example:This example retrieves color of dimension line MyDimLine drawingdimension.oColorDimLine = MyDimLine.Color
- Return type:
int
- property dim_line_graph_rep: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DimLineGraphRep() As CatDimLineGraphRepReturns or graphic representation of dimension line.Example:This example retrieves graphic representation of dimension lineMyDimLine drawing dimension.odimLineGraphRep = MyDimLine.DimLineGraphRep
- Returns:
enum cat_dim_line_graph_rep
- Return type:
int
- property dim_line_orientation: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DimLineOrientation() As CatDimOrientationReturns or orientation of dimension line.Example:This example retrieves orientation of dimension line MyDimLine drawingdimension.odimLineOrient = MyDimLine.DimLineOrientation
- Returns:
enum cat_dim_orientation
- Return type:
int
- property dim_line_reference¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DimLineReference() As CatDimReferenceReturns or reference of dimension line.Example:This example retrieves reference of dimension line MyDimLine drawingdimension.odimLineRef = MyDimLine.DimLineReference
- Returns:
enum cat_dim_reference
- Return type:
int
- property dim_line_rep: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DimLineRep() As CatDimLineRep (Read Only)Returns or representation of dimension line.Example:This example retrieves representation of dimension line MyDimLinedrawing dimension.odimLineRep = MyDimLine.DimLineRep
- Returns:
enum cat_dim_line_rep
- Return type:
int
- property dim_line_type: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property DimLineType() As long (Read Only)Returns type of dimension line.Example:This example retrieves type of dimension line MyDimLine drawingdimension.odimLineType = MyDimLine.DimLineType
- Return type:
int
- get_dim_line_dir(o_dir_x: float, o_dir_y: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetDimLineDir(double oDirX,double oDirY)Returns direction of a dimension line in case of a catDimUserDefinedrepresentation mode. To retrieve the representation mode:DrawingDimLine.get_DimLineRep.Parameters:oDirX,oDirYThe components of the direction vectorExample:This example retrieves the direction vector of a dimension lineMyDimLine drawing dimension.MyDimLine.GetDimLineDir oDirX, oDirY
- Parameters:
o_dir_x (float) –
o_dir_y (float) –
- Return type:
None
- get_geom_info(o_geom_infos: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetGeomInfo(CATSafeArrayVariant oGeomInfos)Get geometrical information of dimension line.Parameters:oGeomInfosgeometrical information.Example:This example gets geometrical information of MyDimLinepath.MyDimLine.GetGeomInfo(oGeomInfos)
- Parameters:
o_geom_infos (tuple) –
- Return type:
None
- get_symb_color(index: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetSymbColor(long Index) As longGet symbol color of dimension line.Parameters:Index1:first symbol 2:second symbol 3:leader symboloColorSymbsymbol color.Example:This example gets symbol color of MyDimLine path.ColorSymb = MyDimLine.GetSymbColor(Index)
- Parameters:
index (int) –
- Return type:
int
- get_symb_thickness(index: int) float ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetSymbThickness(long Index) As doubleGet symbol thickness of dimension line.Parameters:Index1:first symbol 2:second symbol 3:leader symboloThickSymbsymbol thickness.Example:This example gets symbol thickness of MyDimLinepath.ThickSymb = MyDimLine.GetSymbThickness(Index)
- Parameters:
index (int) –
- Return type:
float
- get_symb_type(index: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetSymbType(long Index) As CatDimSymbolsGet symbol type of dimension line.Parameters:Index1:first symbol 2:second symbol 3:leader symboloTypeSymbsymbol type.Example:This example gets symbol type of MyDimLine path.typeSymb = MyDimLine.GetSymbType(Index)
- Parameters:
index (int) –
- Returns:
enum cat_dim_symbols
- Return type:
int
- set_symb_color(index: int, i_color_symb: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetSymbColor(long Index,long iColorSymb)Set symbol color of dimension line.Parameters:Index1:first symbol 2:second symbol 3:leader symboloColorSymbsymbol color.Example:This example sets symbol color of MyDimLine path.MyDimLine.SetSymbColor(Index, iColorSymb)
- Parameters:
index (int) –
i_color_symb (int) –
- Return type:
None
- set_symb_thickness(index: int, i_thick_symb: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetSymbThickness(long Index,double iThickSymb)Set symbol thickness of dimension line.Parameters:Index1:first symbol 2:second symbol 3:leader symboloThickSymbsymbol thickness.Example:This example sets symbol thickness of MyDimLinepath.MyDimLine.GetSymbThickness(Index, iThickSymb)
- Parameters:
index (int) –
i_thick_symb (float) –
- Return type:
None
- set_symb_type(index: int, i_symb_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetSymbType(long Index,CatDimSymbols iSymbType)Set symbol type of dimension line.Parameters:Index1:first symbol 2:second symbol 3:leader symboliSymbTypesymbol type.Example:This example sets symbol type of MyDimLine path.MyDimLine.SetSymbType(Index, iSymbType)
- Parameters:
index (int) –
i_symb_type (int) – enum cat_dim_symbols
- Return type:
None
- property thickness: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Thickness() As doubleReturns or sets thickness of dimension line.Example:This example retrieves thickness of dimension line MyDimLine drawingdimension.oThickDimLine = MyDimLine.Thickness
- Return type:
float