All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

Trim (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---Shape
            |
            +---BooleanShape
              |
              +---Trim
 


Represents the Trim, or union trim boolean operation.
It is performed between a body and the current shape.

Method Index

AddFaceToKeep
Adds a new face to be kept (if face is not divided by operation).
AddFaceToKeep2
Adds a new face to be kept (if face is divided by operation).
AddFaceToRemove
Adds a new face to be Removed (if face not divided by operation).
AddFaceToRemove2
Adds a new face to be Removed (if face is divided by operation).
WithdrawFaceToKeep
Withdraws an existing Kept face (if face is not divided by operation) .
WithdrawFaceToKeep2
Withdraws an existing Kept face (if face is divided by operation).
WithdrawFaceToRemove
Withdraws an existing Removed face (if face not divided by operation).
WithdrawFaceToRemove2
Withdraws an existing Removed face (if face is divided by operation).

Methods


o Sub AddFaceToKeep(CATIAReference iFaceToKeep)
Adds a new face to be kept (if face is not divided by operation).
Parameters:
iFaceToKeep
The new face to process
The following
Boundary object is supported: Face.
Example:
The following example adds the new face face to Keep for the Trim firstTrim:
 call firstTrim.AddFaceToKeep(face)
 
o Sub AddFaceToKeep2(CATIAReference iFaceToKeep,
CATIAReference iFaceAdjacentForKeep)
Adds a new face to be kept (if face is divided by operation).
Parameters:
iFaceToKeep
The new face to process
The following
Boundary object is supported: Face.
iFaceAdjacentForKeep
An adjacent face of iFaceToKeep belonging to the other operand
The following
Boundary object is supported: Face.
Example:
The following example adds the new face face to Keep for the Trim firstTrim:
 call firstTrim.AddFaceToKeep(face)
 
o Sub AddFaceToRemove(CATIAReference iFaceToRemove)
Adds a new face to be Removed (if face not divided by operation).
Parameters:
iFaceToRemove
The new face to process
The following
Boundary object is supported: Face.
Example:
The following example adds the new face face to Remove for the Trim firstTrim:
 call firstTrim.AddFaceToRemove(face)
 
o Sub AddFaceToRemove2(CATIAReference iFaceToRemove,
CATIAReference iFaceAdjacentForRemove)
Adds a new face to be Removed (if face is divided by operation).
Parameters:
iFaceToRemove
The new face to process
The following
Boundary object is supported: Face.
iFaceAdjacentForRemove
An adjacent face of iFaceToRemove belonging to the other operand
The following
Boundary object is supported: Face.
Example:
The following example adds the new face face to Remove for the Trim firstTrim:
 call firstTrim.AddFaceToRemove(face)
 
o Sub WithdrawFaceToKeep(CATIAReference iFaceToWithdraw)
Withdraws an existing Kept face (if face is not divided by operation) .
Parameters:
iFaceToWithdraw
The face to withdraw
The following
Boundary object is supported: Face.
Example:
The following example withdraws the existing face Kept face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToKeep(face)
 
o Sub WithdrawFaceToKeep2(CATIAReference iFaceToWithdraw,
CATIAReference iFaceAdjacentForKeep)
Withdraws an existing Kept face (if face is divided by operation).
Parameters:
iFaceToWithdraw
The face to withdraw
The following
Boundary object is supported: Face.
iFaceAdjacentForKeep
An adjacent face of iFaceToKeep belonging to the other operand
The following
Boundary object is supported: Face.
Example:
The following example withdraws the existing face Kept face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToKeep(face)
 
o Sub WithdrawFaceToRemove(CATIAReference iFaceToWithdraw)
Withdraws an existing Removed face (if face not divided by operation).
Parameters:
iFaceToWithdraw
The face to withdraw
The following
Boundary object is supported: Face.
Example:
The following example withdraws the existing face Removed face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToRemove(face)
 
o Sub WithdrawFaceToRemove2(CATIAReference iFaceToWithdraw,
CATIAReference iFaceAdjacentForRemove)
Withdraws an existing Removed face (if face is divided by operation).
Parameters:
iFaceToWithdraw
The face to withdraw
The following
Boundary object is supported: Face.
iFaceAdjacentForRemove
An adjacent face of iFaceToRemove belonging to the other operand
The following
Boundary object is supported: Face.
Example:
The following example withdraws the existing face Removed face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToRemove(face)
 

Copyright © 2003, Dassault Systèmes. All rights reserved.