CATGSMUseItf Interface CATIGSMUseMultiSelAccess
Usage: you can freely reimplement this interface.
interface CATIGSMUseMultiSelAccess
Interface to access object reference in feature multisel.
Role: Allow to modify multisel parameters on the object
Note: this interface is implemented on every feature supporting multisel
- See also:
- ,
Method Index
- o
CheckCoherency(CATIMmiMechanicalFeature_var&,CATBoolean&)
- Checks consistancy.
- o
GetCommonElems(CATLISTV(CATIMmiMechanicalFeature_var)&)
- Gets list of common elements (features used as input common for all instances)
- o
GetElem(CATIMmiMechanicalFeature_var&,int)
- Gets input of corresponding fetures
- o
SetElem(CATIMmiMechanicalFeature_var&,int)
- Sets multiel input for the instance multisel feature.
- o
UpdateMultiSel(CATIMmiMechanicalFeature_var&,CATLISTV(CATIMmiMechanicalFeature_var)&,CATLISTV(CATIMmiMechanicalFeature_var)&)
- Updates data related multisel features.
Methods
o CheckCoherency
public virtual CheckCoherency( | | iSpecMultiSel, |
| | oCoherent) |
-
Checks consistancy.
This tool is used to verify consistancy with the aggregated feature regarding common reference elements
All occurences of multisel feature should share the same common feature if aggregated ( ex:contextual feature)
- Parameters:
-
- iSpecMultisel
- Multtisel object (Not used)
- oCoherent
- = TRUE OK
= FALSE KO , some "normmally" commnon aggregated feature are detected diffetrents
o GetCommonElems
public virtual GetCommonElems( | | oListOfCommonFeats) |
-
Gets list of common elements (features used as input common for all instances)
- Parameters:
-
- oListOfCommonFeats
- List of features (used if common feature input exist)
o GetElem
public virtual GetElem( | | oSpec, |
| | nB | = 1) |
-
Gets input of corresponding fetures
- Parameters:
-
- oSpec
- input for element multisel
- inB
- index of multsel input
o SetElem
public virtual SetElem( | | iSpec, |
| | nB | = 1) |
-
Sets multiel input for the instance multisel feature.
Init the input of the instanciated feature, this method is used for example in the replace transaction
- Parameters:
-
- iSpec
- input for element multisel
- inB
- index of multsel input
o UpdateMultiSel
public virtual UpdateMultiSel( | | iSpecMultisel, |
| | oList1, |
| | oList2) |
-
Updates data related multisel features.
Notes :
1/ Lists are Input/ Output parameters
The Lists are filled with the content of the multisel inputs of the current instance of the feature
2/ iSpecMultiSel is a reference on the MultiSel feature - not used internally up to now
- Parameters:
-
- iSpecMultisel
- Multtisel object (Not used)
- oList1
- list of multisel input (number 1)
- oList2
- list of multisel input (number 2)
This object is included in the file: CATIGSMUseMultiSelAccess.h
If needed, your Imakefile.mk should include the module: CATGSMUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.