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

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
Returns

Clashes

Return type

Clashes

property 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
Returns

Distances

Return type

Distances

get_measurable(i_measured_item: pycatia.in_interfaces.reference.Reference)pycatia.space_analyses_interfaces.measurable.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) –

Returns

Measurable

Return type

Measurable

property 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
Returns

Inertias

Return type

Inertias

property 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
Returns

Sections

Return type

Sections