All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ConstraintModelerInterfaces Interface CATIBlock

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIBlock
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIBlock

Interface to manage blocks.
Role: This interface is used to manage blocks. A CATIBlock can be a Product or a Fix Together constraint. From the mechanical application point of view, the blocks represent groups of mobile rigid objects.


Method Index


o GetParentBlock(CATIBlock_var&)
Returns the parent block.
o ListBlocks(CATLISTV(CATBaseUnknown_var)&)
Returns the list of sub blocks.

Methods


o GetParentBlock
public virtual HRESULT GetParentBlock(CATIBlock_var& oParentBlock)const = 0
Returns the parent block. Any block has one and only one parent block, except for the root block which have no parent block.
o ListBlocks
public virtual HRESULT ListBlocks(CATLISTV(CATBaseUnknown_var)& oListBlocks)const = 0
Returns the list of sub blocks. Any block has sub blocks, except for the leaf blocks.

This object is included in the file: CATIBlock.h
If needed, your Imakefile.mk should include the module: CATConstraintModelerItf

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