pycatia.dnb_work_interfaces.wi_text¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.dnb_work_interfaces.wi_text.WIText(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectWIText- property fixed_text: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FixedText() As CATBSTRReturns or sets the value for ‘Fixed Text’Role: Returns or sets the value of ‘Fixed Text’ to the Activity
- Return type:
str
- get_attribute(i_attr_name: str) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAttribute(CATBSTR iAttrName) As CATBSTRThis gets the value of the Attribute.Parameters:iAttrNameThe Attribute Name whose value we need to getiAttrValueCATUnicodeString value of the Attribute
- Parameters:
i_attr_name (str) –
- Return type:
str
- get_geom_associated_to_annotation(i_assignment_type: int, io_point_geom: AnyObject) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetGeomAssociatedToAnnotation(ItemAssignmentTypeiAssignmentType,CATBaseDispatch ioPointGeom)Gets the underlying geometry associated to FTA Text Annotation which isadded as an item to operation of one WIText Activity or added as item to aWIText activity. This should be used in case when FTA Text Annotation isassociated to single geometric entity.Parameters:iAssignmentTypePoint geometry associated to FTA text.iAssignmentTypeType of the Assignment (Item to the Process)Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_assignment_type (int) – enum item_assignment_type
io_point_geom (AnyObject) –
- Return type:
None
- get_hyper_links() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetHyperLinks() As CATSafeArrayVariantRetrieves the List of Hyperlinks associated to thisactivityRole: Retrieves the List of Hyperlinks associated to thisactivityParameters:ioPatha CATSafeArrayVariant of CATBSTR that has the list of HyperlinksReturns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Return type:
tuple
- property resolved_text: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ResolvedText() As CATBSTRReturns or sets the value for ‘ResolvedText Text’Role: Returns or sets the value of ‘ResolvedText Text’ to the Activity
- Return type:
str
- set_attribute(i_attr_name: str, i_attr_value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAttribute(CATBSTR iAttrName,CATBSTR iAttrValue)This sets the value of the AttributeParameters:iAttrNameThe Attribute Name whose value we need to getiAttrValueCATUnicodeString value of the Attribute
- Parameters:
i_attr_name (str) –
i_attr_value (str) –
- Return type:
None
- set_hyper_links(i_hyperlinks: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetHyperLinks(CATSafeArrayVariant iHyperlinks)Sets a List of Hyperlinks to this activityRole: Sets the List of Hyperlinks to this activityParameters:iPatha CATSafeArrayVariant of CATBSTR that has the list of Hyperlinks.Returns:Legal values:S_OK : on SuccessE_FAIL: on failure
- Parameters:
i_hyperlinks (tuple) –
- Return type:
None
- property unresolved_text: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property UnresolvedText() As CATBSTRReturns or sets the value for ‘UnresolvedText Text’Role: Returns or sets the value of ‘UnresolvedText Text’ to the Activity
- Return type:
str