pycatia.space_analyses_interfaces.spa_workbench¶
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.spa_workbench.SPAWorkbench(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.WorkbenchSPAWorkbenchThe object to manage all Space Analysis objects.This version allows you to manage inertia data, clashes, distances andsections.- property clashes: Clashes¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Clashes() As Clashes (Read Only)Returns the Clashes collection.WARNING: this method will be DEPRECATED in the next release. It isrecommended to use the method GetTechnologicalObject(“Clashes”) on the rootproduct, to retrieve the Clashes collection.Example:This example retrieves the Clashes collection of the activedocument.Dim TheSPAWorkbench As WorkbenchSet TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )Dim TheClashesList As ClashesSet TheClashesList = TheSPAWorkbench.Clashes
- Return type:
- property distances: Distances¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Distances() As Distances (Read Only)Returns the Distances collection.WARNING: this method will be DEPRECATED in the next release. It isrecommended to use the method GetTechnologicalObject(“Distances”) on the rootproduct, to retrieve the Distances collection.Example:This example retrieves the Distances collection of the activedocument.Dim TheSPAWorkbench As WorkbenchSet TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )Dim TheDistancesList As DistancesSet TheDistancesList = TheSPAWorkbench.Distances
- Return type:
- get_measurable(i_measured_item: Reference) Measurable ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetMeasurable(Reference iMeasuredItem) As MeasurableReturns the Measurable object.Example:This example get the Measurable from theSPAWorkBench.Dim referenceObject As referenceObjectSet referenceObject = “GetReference”Dim TheSPAWorkbench As WorkbenchSet TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )Dim TheMeasurable As MeasurableSet TheMeasurable = TheSPAWorkbench.GetMeasurable(referenceObject)
- Parameters:
i_measured_item (Reference) –
- Return type:
- property inertias: Inertias¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Inertias() As Inertias (Read Only)Returns the Inertias collection.WARNING: this method will be DEPRECATED in the next release. It isrecommended to use the method GetTechnologicalObject(“Inertia”) on the productto analyze, to retrieve an Inertia object.Example:This example retrieves the Inertias collection of the activedocument.Dim TheSPAWorkbench As WorkbenchSet TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )Dim TheInertiasList As InertiasSet TheInertiasList = TheSPAWorkbench.Inertias
- Return type:
- property sections: Sections¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Sections() As Sections (Read Only)Returns the Sections collection.WARNING: this method will be DEPRECATED in the next release. It isrecommended to use the method GetTechnologicalObject(“Sections”) on the rootproduct, to retrieve the Sections collection.Example:This example retrieves the Sections collection of the activedocument.Dim TheSPAWorkbench As WorkbenchSet TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )Dim TheSectionsList As SectionsSet TheSectionsList = TheSPAWorkbench.Sections
- Return type: