ModifyContextWithProximityVolume
Defines a proximity filter volume inside the context for all the EBOM objects given in input by applying an offset defined in millimeters to these objects. This proximity filter can only be understood by the index-based I3DexpandEBOM expansion primitive.
Important:
To use this primitive, add
com.dassault_systemes.pprcompletion.primitives.DELPPRFilterPrimitive in
the Header Section of your procedure. |
Recommendation:
Because of the complexity of the algorithm, the size of the
product navigation set should not exceed 100. If this size is exceeded, proximity volume
computation may fail because of the lack of memory.
Input
ioCompCtx
: A Completion Context to modify according to the volume proximityiNavSetPrd
: A Navigation Set that contains the EBOM occurrencesiOffsetInMM
: The offset in millimetersiVolumeMode
: eReplace is the only available value for this parameter and it replaces the context volume by the proximity volume.
Output
There is no output parameter.
Example
/** * Modify the volume context with proximity search (only replace) * @param ioCompCtx: completion context to modify with the volume proximity * @param iNavSetPrd: navigation set containing the product occurrences * @param iOffsetInMM: offset in millimeter * @param iVolumeMode: only eReplace for now (replace the context volume by the proximity volume) * @throws Exception */ public static void ModifyContextWithProximityVolume(CompletionContext ioCompCtx, final NavigationSet iNavSetPrd, final double iOffsetInMM, final VolumeMode iVolumeMode) throws Exception