CATPLMFmaModelerInterfaces Interface CATIFmaReferenceReplaceServices
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIFmaReferenceReplaceServices
Interface to give the capability to test if existing fastener reference can be replaced by new one.
Method Index
- o
IsFastenerReferenceReplacable(CATBaseUnknown*,CATBaseUnknown*)
- Tests if fastener can be replaced by new fastener.
Methods
o IsFastenerReferenceReplacable
public virtual IsFastenerReferenceReplacable( | const | ipFstRefToReplace, |
| const | ipFstRefReplacing) |
-
Tests if fastener can be replaced by new fastener.
This service analyzes:
The two input fastener refereneces i.e. 'reference to replace' and 'replacing reference' and inform the user that
if it is possible to replace one by another.
Reference replace is possible in the following cases
1. If both fastener references are not primary secondary fasteners
2. If both are primary secondary fasteners, then repalce is possible only if the following conditions are satisfied:
a. 'Replacing reference' is evolution of 'reference to replace' i.e. both have same logical IDs
b. Both references have same number of Seconday Fasteners
c. The Secondary Fastener connections on replacing reference must have same logical IDs as those of the reference to replace.
- Parameters:
-
- ipFstRefToReplace
- the Fastener reference which is to be replaced
- ipFstRefReplacing
- the Fastener reference which will replace the existing reference
- Returns:
-
- S_OK
- if input Fastener references are valid and the replace is possible
- S_FALSE
- if input Fastener references are valid but the replace is NOT possible
- E_INVALIDARG
- if input is NULL
- E_FAIL
- otherwise.
This object is included in the file: CATIFmaReferenceReplaceServices.h
If needed, your Imakefile.mk should include the module: CATPLMFmaModelerInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.