pycatia.drafting_interfaces.drawing_thread¶
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_thread.DrawingThread(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDrawingThreadRepresents a drawing thread in a drawing view.- is_linked_to() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func IsLinkedTo() As CatThreadLinkedToSpecifies which kind of objects the thread is linked to.Returns:oLinkedType The type of thread linkExample:The following example retrieves the CatThreadLinkedTo in MyThread This viewbelongs to the drawing view collection of the drawingsheetThreadLinkType = MyThread.IsLinkedTo
- Returns:
enum cat_thread_linked_to
- Return type:
int
- property type: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Type() As CatThreadTypeReturns or sets a CatThreadType (threaded or taped) on a thread. Becareful, this method is only available on threads which are linked to 2D circlegeometryExample:The following example sets the type Taped in MyThreadIf MyThread.IsLinkedTo()=cat2DCircle ThenMyThread.Type = catTapedEnd IfMethodso Func IsLinkedTo() As CatThreadLinkedToSpecifies which kind of objects the thread is linked to.Returns:oLinkedType The type of thread linkExample:The following example retrieves the CatThreadLinkedTo in MyThread This viewbelongs to the drawing view collection of the drawingsheetThreadLinkType = MyThread.IsLinkedTo
- Returns:
enum cat_thread_type
- Return type:
int