Methods
- Sub AddAffectedComponent( iComponent)
-
Adds a component to the affected component list.
An update of the aggregating Product is necessary
to apply the Assembly Feature to this component.
- Parameters:
-
- iComponent
- The component to affect
- Example:
- The following example adds the component ProdToAffect to
the affected component list of the AssemblyFeature assemblyFeat.
assemblyFeat.AddAffectedComponent( ProdToAffect )
- Example:
- The following example retrieves the affected component list count of
the AssemblyFeature assemblyFeat in affectedListSize.
affectedListSize = assemblyFeat.AffectedComponentsCount
- Parameters:
-
- oListOfComponents
- The retrieved list.
The array must be previously initialized using the method.
- Example:
- The following example retrieves the affected component list of
the AssemblyFeature assemblyFeat in affectedList.
affectedListSize = assemblyFeat.AffectedComponentsCount Dim affectedList(affectedListSize-1) assemblyFeat.ListAffectedComponents(affectedList)
dd>
- Parameters:
-
- iComponent
- The affected component to remove
- Example:
- The following example removes the component ProdToRemove from
the affected component list of the AssemblyFeature assemblyFeat.
assemblyFeat.RemoveAffectedComponent( ProdToRemove )