All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwDimSystem

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

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


interface CATIDrwDimSystem

Interface to manage the life cycle of dimensions used by the dimension system.

Refer to CATIDrwStackedDimSystem or CATIDrwCumulatedDimSystem to manage the properties of the dimension system. Refer to CATIDftElementInSystem to retrieve a dimension system from a dimension

See also:
CATIDrwStackedDimSystem
See also:
CATIDrwCumulatedDimSystem
See also:
CATIDftElementInSystem


Method Index


o AddDimension(CATBaseUnknown*,CATIDrwDimDimension*&,CATMathPoint2D*,CATBoolean,int)
Creates and adds a dimension in the list handled by the system.
o GetDimensionsList(CATListValCATBaseUnknown_var&)
Gets the whole list of dimensions handled by the system.
o GetMasterDimension(CATIDrwDimDimension**)
Gets the master dimension of the dimension system.
o GetSystemType(CATDrwDimSystemType&)
Gets the type of the dimension system
o LineUp(int)
To ask for the dimensions in the system to be aligned.
o RemoveDimension(CATBaseUnknown*)
Removes (no destruction) a dimension from the list handled by the system.

Methods


o AddDimension
public virtual HRESULT AddDimension(CATBaseUnknown* ipDimElement,
CATIDrwDimDimension*& opDim,
CATMathPoint2D* ipSelPoint=NULL,
CATBoolean iComplementaryAngle=FALSE,
int iAssociativityMode=1) = 0
Creates and adds a dimension in the list handled by the system.
Postcondition Don't forget to use LineUp method at the end of dimension system creation to take into account the line up parameters.
Parameters:
ipDimElement
[in] new element to dimension
opDim
[out] the created dimension
ipSelPoint
[in] a 2D point to resolve ambiguity in some cases
iComplementaryAngle
[in] available for angle dimension. if iComplementaryAngle=TRUE, the dimension will be created with a complementary sector ( value > CATPI)
iAssociativityMode
[in] is the dimension associative or not
o GetDimensionsList
public virtual HRESULT GetDimensionsList(CATListValCATBaseUnknown_var& opDimList) = 0
Gets the whole list of dimensions handled by the system.
Parameters:
ipDimList
[out] list of dimensions handled by the system
o GetMasterDimension
public virtual HRESULT GetMasterDimension(CATIDrwDimDimension** opMasterDim) = 0
Gets the master dimension of the dimension system. The master dimension is the dimension to move for dimension system moving. the dimension must be updated to take into account its modification, then LineUp method must be executed to propagate the moving for all others dimensions of the dimension system.
Parameters:
opmasterDim
[out, CATBaseUnknown#Release] The master dimension
o GetSystemType
public virtual HRESULT GetSystemType(CATDrwDimSystemType& opSystemType) = 0
Gets the type of the dimension system
Parameters:
opSystemType
[out] type of the system (ChainedDimSystem, StackedDimSystem, CumulatedDimSystem, ...)
o LineUp
public virtual HRESULT LineUp( const int iSubPart) = 0
To ask for the dimensions in the system to be aligned.
Parameters:
iSubPart
Defines which part of the dimensions should be aligned
1 = Value
2 = Dimension line
3 = Both dimension line and value
Returns:
S_OK
The line up operation is successful.
S_FALSE
The line up is already done.
E_FAIL
if the operation failed.
o RemoveDimension
public virtual HRESULT RemoveDimension(CATBaseUnknown* ipDimension) = 0
Removes (no destruction) a dimension from the list handled by the system.
Parameters:
ipDimension
[in] dimension to remove from the list of dimensions

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

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