ManufacturingMachinableArea (Object)

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:
,

Properties


Property Freezed() As
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
 
Property VisibleInMfgView() As
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
 

Methods


Sub AddMachinableGeometry( 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 )
 
Sub ListMachinableGeometry( oListOfMachinableGeometry)
Retrieves the machinable geometry list.
Parameters:
oListOfMachinableGeometry
The retrieved list.
The array must be previously initialized using the 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
 
Sub ListManufacturingActivityConnected( oListOfManufacturingActivityConnected)
Retrieves the manufacturing activity connected list.
Parameters:
oListOfManufacturingActivityConnected
The retrieved list.
The array must be previously initialized using the 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
 
Func MachinableGeometryCount() As
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
 
Func ManufacturingActivityConnectedCount() As
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
 
Sub RemoveMachinableGeometry( 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 )