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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingInterfaces.ManufacturingFeatureManufacturingInterfaces.ManufacturingMachinableFeatureManufacturingMachinableAreaMachinable Area in Manufacturing.It is a manufacturing feature pointing design features through one or severalmachinable geometry. This manufacturing feature could be a target for amanufacturing 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(ManufacturingMachinableFeatureiMachinableGeometry)Adds a machinable geometry to the list.Parameters:iMachinableGeometryThe machinable geometry to affectExample:The following example adds the machinable geometry MachGeomToAdd to themanufacturing machinable area firstMachArea.Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim MachGeomToAdd As ManufacturingMachinableGeometrySet 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 booleanReturns the manufacturing machinable area freezed state.Returns:oFreezed The manufacturing machinable area freezed stateExample:The following example returns in bFreezed the freezed state ofmanufacturing machinable area firstMachArea:Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim bFreezed As booleanSet 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(CATSafeArrayVariantoListOfMachinableGeometry)Retrieves the machinable geometry list.Parameters:oListOfMachinableGeometryThe retrieved list.The array must be previously initialized using theMachinableGeometryCount method.Example:The following example retrieves the machinable geometry list of themanufacturing machinable area firstMachArea inMachinableGeometryList.Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim MachinableGeometryListSize As LongSet MachinableGeometryListSize = firstMachArea.MachinableGeometryCountIf MachinableGeometryListSize > 0 ThenDim MachinableGeometryList() As VariantRedimMachinableGeometryList(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(CATSafeArrayVariantoListOfManufacturingActivityConnected)Retrieves the manufacturing activity connected list.Parameters:oListOfManufacturingActivityConnectedThe retrieved list.The array must be previously initialized using theManufacturingActivityConnectedCount method.Example:The following example retrieves the manufacturing activity connected listof the manufacturing machinable area firstMachArea inManufacturingActivityConnectedList.Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim ManufacturingActivityConnectedListSize As LongSet ManufacturingActivityConnectedListSize = firstMachArea.ManufacturingActivityConnectedCountIf ManufacturingActivityConnectedListSize > 0 ThenDim ManufacturingActivityConnectedList() As VariantRedim 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 longReturns the machinable geometry list count.Parameters:oMachinableGeometryCountThe number of machinable geometry connected to this featureExample:The following example retrieves the machinable geometry list count ofthe manufacturing machinable area firstMachArea inMachinableGeometryListSize.Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim MachinableGeometryListSize As LongSet 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 longReturns the manufacturing activity connected list count.Parameters:oManufacturingActivityConnectedCountThe number of manufacturing activity pointing this featureExample:The following example retrieves the manufacturing activity connectedlist count of the manufacturing machinable area firstMachArea inManufacturingActivityConnectedListSize.Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim ManufacturingActivityConnectedListSize As LongSet 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(ManufacturingMachinableFeatureiMachinableGeometry)Removes a machinable geometry from the list.Parameters:iMachinableGeometryThe machinable geometry to removeExample:The following example removes the machinable geometry MachGeomToRemoveto the manufacturing machinable area firstMachArea.Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim MachGeomToRemove AsManufacturingMachinableGeometrySet 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 booleanReturns the manufacturing machinable area visibilitystate.Returns:oVisibleInMfgView The manufacturing machinable area visibility stateExample:The following example returns in bVisibleInMfgView the visible state inthe Manufacturing View of manufacturing machinable areafirstMachArea:Dim firstMachArea As ManufacturingMachinableAreaSet firstMachArea = …Dim bVisibleInMfgView As booleanSet bVisibleInMfgView = firstMachArea.VisibleInMfgView
- Return type:
bool