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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
DrawingThread

Represents 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 CatThreadLinkedTo

Specifies which kind of objects the thread is linked to.

Returns:
oLinkedType The type of thread link

Example:
The following example retrieves the CatThreadLinkedTo in MyThread This view
belongs to the drawing view collection of the drawing
sheet

ThreadLinkType = 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 CatThreadType

Returns or sets a CatThreadType (threaded or taped) on a thread. Be
careful, this method is only available on threads which are linked to 2D circle
geometry

Example:
The following example sets the type Taped in MyThread

If MyThread.IsLinkedTo()=cat2DCircle Then
MyThread.Type = catTaped
End If

Methods

o Func IsLinkedTo() As CatThreadLinkedTo

Specifies which kind of objects the thread is linked to.

Returns:
oLinkedType The type of thread link

Example:
The following example retrieves the CatThreadLinkedTo in MyThread This view
belongs to the drawing view collection of the drawing
sheet

ThreadLinkType = MyThread.IsLinkedTo
Returns:

enum cat_thread_type

Return type:

int