All Frameworks  Class Hierarchy  This Framework  Indexes   

PartInterfaces Interface CATIPrtPattern

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


interface CATIPrtPattern

Interface to read or modify the specifications of the pattern.
Role: The pattern feature allows users to duplicate an original feature according a specific distribution.


Method Index


o GetAnchorPoint()
Returns the anchor point of the original feature.
o GetIfDesignIntent()
Returns if users want to keep the specifications of the original feature such as "Up to".
o GetItemList(CATLISTV(CATISpecObject_var)&)
Returns the list of feature used for the creation of the pattern of list.
o GetItem()
Returns the original feature.
o GetNumberOfInstances(int&,int&)
Returns Number of Instances in First and Second Direction.
o GetTransfo()
Return a CATMathGridOfvectors.
o IsInstanceAtLocationDeactivated(int&,int&,CATBoolean&)
Returns the Deactivated status of the instance at position i,j
o ModifyItem(CATISpecObject_var&)
Sets the original feature.
o SetDesignIntent(int)
Sets if users want to keep the specifications of the original feature such as "Up to".

Methods


o GetAnchorPoint
public virtual GetAnchorPoint()
Returns the anchor point of the original feature.
o GetIfDesignIntent
public virtual GetIfDesignIntent()
Returns if users want to keep the specifications of the original feature such as "Up to".
1 indicates that users want to keep the specifications.
o GetItemList
public virtual GetItemList( oListItem)
Returns the list of feature used for the creation of the pattern of list.
Parameters:
oListItem
List containing reference features of the pattern of list.
o GetItem
public virtual GetItem()
Returns the original feature.
o GetNumberOfInstances
public virtual GetNumberOfInstances( oInFirstDirection,
oInSecondDirection)
Returns Number of Instances in First and Second Direction.
Parameters:
InFirstDirection
Number of Instances in First Direction.
InSecondDirection
Number of Instances in Second Direction.
o GetTransfo
public virtual GetTransfo()
Return a CATMathGridOfvectors. It contains all the transformation vectors of the pattern instances. A CATMathGridOfvectors is a bi-dimensional grid of CATMathVector
o IsInstanceAtLocationDeactivated
public virtual IsInstanceAtLocationDeactivated( iposi,
iposj,
obDeactivated)
Returns the Deactivated status of the instance at position i,j
Parameters:
iposi
The position of the instance in the First Direction (i)
iposj
The position of the instance in the Second Direction (j)
obDeactivated

Legal values:
1 indicates instance is deactivated
o ModifyItem
public virtual ModifyItem( const iItem)
Sets the original feature.
Parameters:
iItem
iItem must be either:
- a mechanical form feature in the same mechanical tool that the pattern
- a mechanical tool resulting from boolean operation
- an imported solid in the same mechanical tool that the pattern
- a feature which implement CATIPrtToPattern.
o SetDesignIntent
public virtual SetDesignIntent( iDsgIntent)
Sets if users want to keep the specifications of the original feature such as "Up to".
Parameters:
iDsgIntent

Legal values:
1 indicates that users want to keep the specifications.
0 indicates that users do not want to keep the specifications.

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

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