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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
InfInterfaces.Workbench
SPAWorkbench

The object to manage all Space Analysis objects.

This version allows you to manage inertia data, clashes, distances and
sections.
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 is
recommended to use the method GetTechnologicalObject(“Clashes”) on the root
product, to retrieve the Clashes collection.

Example:

This example retrieves the Clashes collection of the active
document.

Dim TheSPAWorkbench As Workbench
Set TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )
Dim TheClashesList As Clashes
Set TheClashesList = TheSPAWorkbench.Clashes
Return type:

Clashes

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 is
recommended to use the method GetTechnologicalObject(“Distances”) on the root
product, to retrieve the Distances collection.

Example:

This example retrieves the Distances collection of the active
document.

Dim TheSPAWorkbench As Workbench
Set TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )
Dim TheDistancesList As Distances
Set TheDistancesList = TheSPAWorkbench.Distances
Return type:

Distances

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 Measurable

Returns the Measurable object.

Example:

This example get the Measurable from the
SPAWorkBench.

Dim referenceObject As referenceObject
Set referenceObject = “GetReference”
Dim TheSPAWorkbench As Workbench
Set TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )
Dim TheMeasurable As Measurable
Set TheMeasurable = TheSPAWorkbench.GetMeasurable(referenceObject)
Parameters:

i_measured_item (Reference) –

Return type:

Measurable

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 is
recommended to use the method GetTechnologicalObject(“Inertia”) on the product
to analyze, to retrieve an Inertia object.

Example:

This example retrieves the Inertias collection of the active
document.

Dim TheSPAWorkbench As Workbench
Set TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )
Dim TheInertiasList As Inertias
Set TheInertiasList = TheSPAWorkbench.Inertias
Return type:

Inertias

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 is
recommended to use the method GetTechnologicalObject(“Sections”) on the root
product, to retrieve the Sections collection.

Example:

This example retrieves the Sections collection of the active
document.

Dim TheSPAWorkbench As Workbench
Set TheSPAWorkbench = CATIA.ActiveDocument.GetWorkbench ( “SPAWorkbench” )
Dim TheSectionsList As Sections
Set TheSectionsList = TheSPAWorkbench.Sections
Return type:

Sections