pycatia.structure_interfaces.str_section¶
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_section.StrSection(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectStrSectionRepresents the section object.The section object is created from a part document in which a sketch has to bedefined.The sketch object may contain one or several contour but all of them have to beclosed.Predefined anchor points objects are calculated from the geometrical contour asthe top bottom point, the center gravity point, etc.User anchor points can be created in the sketch using the parametric geometryor not. However the names of these points have to prefixed by the string “Str”to be recognized as structure anchor points.Some attributes are defined on the section object but cannot bemodified.A group of attributes defines the section name, the family name, and the thename of the catalog where the section comes from.Another attribute called the profile type defines the type of the parametriccontour used to create the section. The contour can be a Tee, an angle, achannel, a square tube, and so on. These predefined contours are useful tocreate a new catalog with some standard contours.- property catalog_name: Parameter¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CatalogName() As Parameter (Read Only)Returns the parameter defining the catalog name.Example:Dim name As ParameterSet name = Section_1.CatalogName
- Return type:
- property family_name: Parameter¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FamilyName() As Parameter (Read Only)Returns the parameter defining the family name.Example:Dim name As ParameterSet name = Section_1.FamilyName
- Return type:
- get_property(i_property: int, o_value: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetProperty(CATStrSectionProperties iProperty,double oValue)Get a property value.Example:Dim type As ParameterSet type = Section_1.GetProperty(CatStrArea)
- Parameters:
i_property (int) – enum cat_str_section_properties
o_value (float) –
- Return type:
None
- property profile_type: Parameter¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ProfileType() As Parameter (Read Only)Returns the parameter defining the profile type of thesection.Example:Dim type As ParameterSet type = Section_1.ProfileType
- Return type:
- property section_name: Parameter¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SectionName() As Parameter (Read Only)Returns the parameter defining the section name.Example:Dim name As ParameterSet name = Section_1.SectionName
- Return type:
- property str_anchor_points: StrAnchorPoints¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property StrAnchorPoints() As StrAnchorPoints (Read Only)Returns the collection of anchor points.Example:Dim anchorPts As StrAnchorPointsSet anchorPts = Section_1.StrAnchorPoints
- Return type: