All Frameworks Class Hierarchy This Framework Previous Next Indexes
MecModInterfaces Interface CATIMechanicalCCP
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIMechanicalCCP
Usage: you can freely reimplement this interface.
interface CATIMechanicalCCP
Interface for copy, paste, delete, drag and drop operations.
Role: This interface allows users to know if a feature:
- can be copied,
- can be pasted,
- can be deleted.
Method Index
- o
CanBeCopied()
- Returns if a feature can be copied in "As specified in Part document" format.
- o
CanBeDeleted(CATLISTV(CATISpecObject_var))
- Returns if a feature can be deleted.
- o
GetAnchorPoint()
- Returns the anchor point.
- o
GetReferenceNormal()
- Returns the reference normal.
- o
GiveMeYourFavoriteSpecifications()
- Returns the main specifications.
- o
IsElementValidForPaste(CATPathElement*)
- Returns if an element is valid for a paste operation on a selected element.
Methods
o CanBeCopied
public virtual int CanBeCopied( | )const = 0 |
-
Returns if a feature can be copied in "As specified in Part document" format.
- Returns:
- An integer value.
Legal values:
- 1 the current feature can be copied.
- 0 the current feature can not be copied.
o CanBeDeleted
-
Returns if a feature can be deleted.
- Parameters:
-
- iList
- The features that define the deletion context.
- Returns:
- An integer value.
Legal values:
- 1 the current feature can be deleted.
- 0 the current feature can not be deleted.
o GetAnchorPoint
-
Returns the anchor point.
- See also:
- CATICharacteristicGeomElem
o GetReferenceNormal
-
Returns the reference normal.
- See also:
- CATICharacteristicGeomElem
o GiveMeYourFavoriteSpecifications
-
Returns the main specifications.
o IsElementValidForPaste
-
Returns if an element is valid for a paste operation on a selected element.
Role: This method is integrated to the Drag and Drop engine but not to the Copy Paste engine.
- Parameters:
-
- iPath
- Path of the selected element.
- Returns:
- An integer value.
Legal values:
- 1 the current feature is valid for a paste operation on the selected element.
- 0 the current feature is not valid for a paste operation on the selected element.
This object is included in the file: CATIMechanicalCCP.h
If needed, your Imakefile.mk should include the module: CATMecModInterfaces