pycatia.structure_interfaces.str_member¶
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.structure_interfaces.str_member.StrMember(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectProductStructureInterfaces.ProductStructureInterfaces.StrObjectStrMemberRepresents a member object.The member object aggregates a section coming from a catalog, a support and twoextremities. The member object inherits all methods from the structure objectand the product object.- property angle: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Angle() As doubleReturns or set the orientation of the section on the supportobject.Example:angle = Member_1.Angle
- Return type:
float
- property angle_parameter: Parameter¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AngleParameter() As Parameter (Read Only)Returns the parameter used to define the orientation of the section on thesupport object.Example:Dim angle As ParameterSet angle = Member_1.AngleParameter
- Return type:
- create_cutback(i_member: StrMember, i_cutback: int, i_offset: float) StrCutback ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateCutback(StrMember iMember,CatStrCutbackType iCutback,double iOffset) As StrCutbackCreates a cutback object between two member objects.Parameters:iMemberThe relimiting memberiCutbackThe type of the cutback.iOffsetThe offset used in the cutback.Example:The following example create a cutbackDim cutback As StrCutbackSet cutback = Member_1.CreateCutback(Member_2, catStrWeldedType, 0.05)
- Parameters:
i_member (StrMember) –
i_cutback (int) – enum cat_str_cutback_type
i_offset (float) –
- Return type:
- property current_anchor_point_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CurrentAnchorPointName() As CATBSTRReturns or sets the current anchor point used to locate the section on thesupport object.Example:name = Member_1.CurrentAnchorPointName
- Return type:
str
- property end_extremity: StrMemberExtremity¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property EndExtremity() As StrMemberExtremity (Read Only)Returns the member’s end extremity object.Example:Dim extremity As StrMemberExtremitySet extremity = Member_1.EndExtremity
- Return type:
- flip() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Flip()Flips the section. Useful for asymetric section as the angle section, orthe channel section.Example:Member_1.Rotate(1,25)
- Return type:
None
- property input_support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property InputSupport() As Reference (Read Only)Retrieves the input support. The input support is the given support at thecreation of the member.
- Return type:
- rotate(i_angle: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Rotate(double iAngle)Rotates the section on its support object. The given angle is applied usingthe current orientation of the section.Example:Dim extremity As StrMemberExtremitySet extremity = Member_1.StartExtremity
- Parameters:
i_angle (float) –
- Return type:
None
- property section: StrSection¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Section() As StrSection (Read Only)Returns or sets the section object.Example:Dim section As StrSectionSet section = Member_1.Section
- Return type:
- property start_extremity: StrMemberExtremity¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property StartExtremity() As StrMemberExtremity (Read Only)Returns the member’s start extremity object.Example:Dim extremity As StrMemberExtremitySet extremity = Member_1.StartExtremity
- Return type:
- property support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Support() As Reference (Read Only)Retrieves the result support object. For example, if your member object iscreated using two points, the result support object will be the line joiningthese two points.
- Return type:
- property surface_reference: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SurfaceReference() As ReferenceRetrieves or sets the surface reference object for the member. The sectionwill be oriented using this surface reference object if one is set.Nevertheless, the surface reference object can be null.Example:This example sets the reference object to null.myMember.SurfaceReference = Nothing
- Return type: