pycatia.fitting_interfaces.sampled¶
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.sampled.Sampled(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSampledThe interface to access a CATIASampled based object.The Sampled class defines characteristics for simulatable tasks within DMUFitting. CATIASampled is the parent class for tracks. Key samples are recorded(as shots or CATIAShots) for an object and then during simulation the object isinterpolated with these shots over time.- append(i_tracks: tuple) Sampled ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Append(CATSafeArrayVariant iTracks) As SampledReturns or sets the Sampled object.
- Parameters:
i_tracks (tuple) –
- Return type:
- bind_analysis(i_object: AnyObject, i_analysis_mode: int, i_monitor_mode: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub BindAnalysis(CATBaseDispatch iObject,CatSampledAnalysisMode iAnalysisMode,boolean iMonitorMode)Add (bind) an analysis object to a Track.Parameters:iObjectThe analysis to add (bind) to the TrackiAnalysisModeIndicates the analysis status for iAnalysis CatSampledAnalysisOffCatSampledAnalysisOn, CatSampledAnalysisStop CatSampledAnalysisVerboseiMonitorModeIndicates the monitor status for iAnalysis - Off (0) or On(1)
- Parameters:
i_object (AnyObject) –
i_analysis_mode (int) – enum cat_sampled_analysis_mode
i_monitor_mode (bool) –
- Return type:
None
- break_inheritance() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub BreakInheritance()Returns or sets the Sampled object.
- Return type:
None
- get_known_interpolaters(o_interpolaters: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetKnownInterpolaters(CATSafeArrayVariantoInterpolaters)Returns or sets the Sampled object.
- Parameters:
o_interpolaters (tuple) –
- Return type:
None
- get_total_duration() float ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetTotalDuration() As doubleReturns the total duration
- Return type:
float
- property interpolater: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Interpolater() As CATBSTRRetrieves/sets the sampled’s interpolater. Role: Retrieves/sets theinterpolator used by the sampled during simulation. Note that the name of theinterpolater is used (which is a string).
- Return type:
str
- property object: AnyObject¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Object() As CATBaseDispatchReturns or sets the Sampled object. Role:/b> Retrieves/stores the objectthat will be used in the sampled based simulation. Please note that the objectwill move to the shots defined in the sampled.
- Return type:
- remove_analyses() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAnalyses()Returns or sets the Sampled object.
- Return type:
None
- reverse_time() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ReverseTime()Returns or sets the Sampled object.
- Return type:
None
- property scaling: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Scaling() As doubleReturns or sets the Sampled object.
- Return type:
float
- set_object_keeping_position(i_object: AnyObject) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetObjectKeepingPosition(CATBaseDispatch iObject)Sets the object in the sampled. Role: Stores the object that will be usedin the sampled based simulation. The object will not move and the sample’sshots will be repositioned relative to the object position.
- Parameters:
i_object (AnyObject) –
- Return type:
None
- property shots: Shots¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Shots() As Shots (Read Only)Returns or sets the Sampled object.
- Return type:
- split(i_type: int, i_indice: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Split(CatSampledSplitType iType,short iIndice)Returns or sets the Sampled object.
- Parameters:
i_type (int) – enum cat_sampled_split_type
i_indice (int) –
- Return type:
None
- property time: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Time() As doubleRetrieves/sets the sampled’s time. Role: Retrieves/sets the internal timeassociated to the current sampled object. Note that the time is handled as adouble.
- Return type:
float