pycatia.fitting_interfaces.sampleds¶
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.fitting_interfaces.sampleds.Sampleds(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSampledsThe collection of all the Sampled objects currently contained in the currentdocument.A Sampled object is the base type for Track objects.- add() Sampled ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add() As SampledCreates a new Sampled object and adds it to the Sampledscollection.Returns:The created SampledExample:The following example creates a Sampled (called newSampled) with in theSampleds collection.Set newSampled = Sampleds.Add
- Return type:
- add_from_sel() Sampled ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddFromSel() As SampledCreates a new Sampled from the selection and adds it to the Sampledscollection.Returns:The created SampledExample:The following example creates a Sampled (called newSampled) with in theSampleds collection.Set newSampled = Sampleds.Add
- Return type:
- item(i_index: cat_variant) Sampled ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As SampledReturns a CATIASampled object using its index from the CATIASampledcollection.Parameters:iIndexThe index of the sampled to retrieve from the collection ofsampleds. Numerically, the index value corresponds to the rank of the sampledin the collection (ie. the first is 1, second is 2, …).Returns:The retrieved SampledExample:The following example retrieves the second Sampled from the Sampledscollection of the active document.Dim newSampled as SampledSet newSampled = Sampleds.Item (2)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Remove(CATVariant iIndex)Removes a CATIASampled object from the CATIASampledcollection.Parameters:iIndexThe index of the sampled to remove from the collection of sampleds.Numerically, the index value corresponds to the rank of the sampled in thecollection (ie. the first is 1, second is 2, …).Example:The following example removes the third Sampled from the Sampledscollection of the active document.Sampleds.Remove (3)
- Parameters:
i_index (cat_variant) –
- Return type:
None