pycatia.space_analyses_interfaces.sections¶
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.space_analyses_interfaces.sections.Sections(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSectionsA collection of all Section objects currently managed by theapplication.The method GetTechnologicalObject(“Sections”) on the root product, allows youto retrieve this collection.- add() Section ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Add() As SectionCreates a Section object which takes all products of the documents intoaccount and adds it to the Sections collection.Returns:The created SectionExample:This example creates a new Section in the TheSectionscollection.Dim NewSection As SectionSet NewSection = TheSections.Add
- Return type:
- add_from_sel() Section ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddFromSel() As SectionCreates a Section object which takes all products in the selection intoaccount and adds it to the Sections collection.Returns:The created SectionExample:This example creates a new Section in the TheSectionscollection.Dim NewSection As SectionSet NewSection = TheSections.AddFromSel
- Return type:
- item(i_index: cat_variant) Section ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As SectionReturns a Section object using its index or its name from the Sectionscollection.Parameters:iIndexThe index or the name of the Section to retrieve from thecollection of Sections. As a numerics, this index is the rank of the Section inthe collection. The index of the first Section in the collection is 1, and theindex of the last Section is Count. As a string, it is the name you assigned tothe Section.Example:This example retrieves in ThisSection the ninthSection,and in ThatSection the Section namedSection Of MyProduct from the TheSections collection.Dim ThisSection As SectionSet ThisSection = TheSections.Item(9)Dim ThatSection As SectionSet ThatSection = TheSections.Item(“Section Of MyProduct”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub Remove(CATVariant iIndex)Removes a Section object from the Sections collection.Parameters:iIndexThe index or the name of the Section to remove from the collectionof Sections. As a numerics, this index is the rank of the Section in thecollection. The index of the first Section in the collection is 1, and theindex of the last Section is Count. As a string, it is the name you assigned tothe Section.Example:The following example removes the tenth Section and the SectionnamedSection Of MyProduct from the TheSectionscollection.TheSections.Remove(10)TheSections.Remove(“Section Of MyProduct”)
- Parameters:
i_index (cat_variant) –
- Return type:
None