pycatia.manufacturing_interfaces.manufacturing_machinable_area

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.manufacturing_interfaces.manufacturing_machinable_area.ManufacturingMachinableArea(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
ManufacturingInterfaces.ManufacturingFeature
ManufacturingInterfaces.ManufacturingMachinableFeature
ManufacturingMachinableArea

Machinable Area in Manufacturing.
It is a manufacturing feature pointing design features through one or several
machinable geometry. This manufacturing feature could be a target for a
manufacturing activity.

See also:
ManufacturingMachinableGeometry, ManufacturingActivity
add_machinable_geometry(i_machinable_geometry: ManufacturingMachinableFeature) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AddMachinableGeometry(ManufacturingMachinableFeature
iMachinableGeometry)

Adds a machinable geometry to the list.

Parameters:

iMachinableGeometry
The machinable geometry to affect

Example:
The following example adds the machinable geometry MachGeomToAdd to the
manufacturing machinable area firstMachArea.

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim MachGeomToAdd As ManufacturingMachinableGeometry
Set MachGeomToAdd = …
Call firstMachArea.AddMachinableGeometry( MachGeomToAdd
)
Parameters:

i_machinable_geometry (ManufacturingMachinableFeature) –

Return type:

None

property frozen: bool

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Freezed() As boolean

Returns the manufacturing machinable area freezed state.

Returns:
oFreezed The manufacturing machinable area freezed state

Example:
The following example returns in bFreezed the freezed state of
manufacturing machinable area firstMachArea:

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim bFreezed As boolean
Set bFreezed = firstMachArea.Freezed
Return type:

bool

list_machinable_geometry(o_list_of_machinable_geometry: tuple) cat_variant

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub ListMachinableGeometry(CATSafeArrayVariant
oListOfMachinableGeometry)

Retrieves the machinable geometry list.

Parameters:

oListOfMachinableGeometry
The retrieved list.
The array must be previously initialized using the


MachinableGeometryCount method.

Example:
The following example retrieves the machinable geometry list of the
manufacturing machinable area firstMachArea in
MachinableGeometryList.

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim MachinableGeometryListSize As Long
Set MachinableGeometryListSize = firstMachArea.MachinableGeometryCount
If MachinableGeometryListSize > 0 Then
Dim MachinableGeometryList() As Variant
Redim
MachinableGeometryList(MachinableGeometryListSize-1)
Call firstMachArea.ListMachinableGeometry(MachinableGeometryList)
End If
Parameters:

o_list_of_machinable_geometry (tuple) –

Return type:

cat_variant

list_manufacturing_activity_connected(o_list_of_manufacturing_activity_connected: tuple) cat_variant

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub ListManufacturingActivityConnected(CATSafeArrayVariant
oListOfManufacturingActivityConnected)

Retrieves the manufacturing activity connected list.

Parameters:

oListOfManufacturingActivityConnected
The retrieved list.
The array must be previously initialized using the


ManufacturingActivityConnectedCount method.

Example:
The following example retrieves the manufacturing activity connected list
of the manufacturing machinable area firstMachArea in
ManufacturingActivityConnectedList.

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim ManufacturingActivityConnectedListSize As Long
Set ManufacturingActivityConnectedListSize = firstMachArea.ManufacturingActivityConnectedCount
If ManufacturingActivityConnectedListSize > 0 Then
Dim ManufacturingActivityConnectedList() As Variant
Redim ManufacturingActivityConnectedList(ManufacturingActivityConnectedListSize-1)
Call firstMachArea.ListManufacturingActivityConnected(ManufacturingActivityConnectedList)
End If
Parameters:

o_list_of_manufacturing_activity_connected (tuple) –

Return type:

cat_variant

machinable_geometry_count() int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func MachinableGeometryCount() As long

Returns the machinable geometry list count.

Parameters:

oMachinableGeometryCount
The number of machinable geometry connected to this feature

Example:
The following example retrieves the machinable geometry list count of
the manufacturing machinable area firstMachArea in
MachinableGeometryListSize.

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim MachinableGeometryListSize As Long
Set MachinableGeometryListSize = firstMachArea.MachinableGeometryCount
Return type:

int

manufacturing_activity_connected_count() int

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func ManufacturingActivityConnectedCount() As long

Returns the manufacturing activity connected list count.

Parameters:

oManufacturingActivityConnectedCount
The number of manufacturing activity pointing this feature

Example:
The following example retrieves the manufacturing activity connected
list count of the manufacturing machinable area firstMachArea in
ManufacturingActivityConnectedListSize.

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim ManufacturingActivityConnectedListSize As Long
Set ManufacturingActivityConnectedListSize = firstMachArea.ManufacturingActivityConnectedCount
Return type:

int

remove_machinable_geometry(i_machinable_geometry: ManufacturingMachinableFeature) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub RemoveMachinableGeometry(ManufacturingMachinableFeature
iMachinableGeometry)

Removes a machinable geometry from the list.

Parameters:

iMachinableGeometry
The machinable geometry to remove

Example:
The following example removes the machinable geometry MachGeomToRemove
to the manufacturing machinable area firstMachArea.

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim MachGeomToRemove As
ManufacturingMachinableGeometry
Set MachGeomToRemove = …
Call firstMachArea.RemoveMachinableGeometry( MachGeomToRemove
)
Parameters:

i_machinable_geometry (ManufacturingMachinableFeature) –

Return type:

None

property visible_in_mfg_view: bool

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property VisibleInMfgView() As boolean

Returns the manufacturing machinable area visibility
state.

Returns:
oVisibleInMfgView The manufacturing machinable area visibility state

Example:
The following example returns in bVisibleInMfgView the visible state in
the Manufacturing View of manufacturing machinable area
firstMachArea:

Dim firstMachArea As ManufacturingMachinableArea
Set firstMachArea = …
Dim bVisibleInMfgView As boolean
Set bVisibleInMfgView = firstMachArea.VisibleInMfgView
Return type:

bool