Library | Module

Interface IpfcFamilyMember



Description

This class describes a member in a family table.
Direct Parent Classes:
IpfcObject
Direct Known Subclasses:
IpfcSolid



Property Summary

PropertyParentas IpfcFamilyMember [readonly, optional]
The parent of the member object (the immediate generic model).



Method Summary

FunctionAddColumn (Column as IpfcFamilyTableColumn, Values as IpfcParamValues [optional]) as IpfcFamilyTableColumn
Adds a new column to the family table.
FunctionAddRow (InstanceName as String, Values as IpfcParamValues [optional]) as IpfcFamilyTableRow
Adds a new row to the family table.
FunctionCreateColumn (Type as IpfcFamilyColumnType, Symbol as String) as IpfcFamilyTableColumn
Creates a new family table column object given a string symbol.
FunctionCreateCompModelColumn (Comp as IpfcFeature) as IpfcFamColCompModel
Creates a component model column that will be added to a family table.
FunctionCreateComponentColumn (Comp as IpfcFeature) as IpfcFamColComp
Creates a single component column in the family table.
FunctionCreateDimensionColumn (Dim as IpfcDimension) as IpfcFamColDimension
Creates a dimension column in the family table.
FunctionCreateFeatureColumn (Feat as IpfcFeature) as IpfcFamColFeature
Creates a feature column in the family table.
FunctionCreateGroupColumn (Group as IpfcFeatureGroup) as IpfcFamColGroup
Creates a group column in the family table.
FunctionCreateMergePartColumn (Feat as IpfcFeature) as IpfcFamColMergePart
Creates a merged-part column in the family table.
FunctionCreateParamColumn (Param as IpfcParameter) as IpfcFamColParam
Creates a parameter column in the family table.
FunctionCreateTolMinusColumn (Dim as IpfcDimension) as IpfcFamColTolMinus
Creates a new family table column representing a dimension tolerance minus value.
FunctionCreateTolPlusColumn (Dim as IpfcDimension) as IpfcFamColTolPlus
Creates a new family table column representing a dimension tolerance plus value.
FunctionCreateTolPlusMinusColumn (Dim as IpfcDimension) as IpfcFamColTolPlusMinus
Creates a new family table column representing a dimension tolerance plus/minus symmetric value.
FunctionGetCell (Column as IpfcFamilyTableColumn, Row as IpfcFamilyTableRow) as IpfcParamValue [optional]
Retrieves the value in the specified cell of the family table.
FunctionGetCellIsDefault (Column as IpfcFamilyTableColumn, Row as IpfcFamilyTableRow) as Boolean
Determines if the value of the item in the specified cell is the default value.
FunctionGetColumn (Symbol as String) as IpfcFamilyTableColumn [optional]
Returns a column in the family table, given its string name.
FunctionGetImmediateGenericInfo () as IpfcModelDescriptor [optional]
Gets the model descriptor of the immediate generic model.
FunctionGetRow (InstanceName as String) as IpfcFamilyTableRow [optional]
Returns the specified row of the family table.
FunctionGetTopGenericInfo () as IpfcModelDescriptor
Gets the model descriptor of the top generic model.
FunctionListColumns () as IpfcFamilyTableColumns [optional]
Lists the columns of the family table.
FunctionListRows () as IpfcFamilyTableRows [optional]
Lists the rows of the family table.
SubRemoveColumn (Column as IpfcFamilyTableColumn)
Removes a specified column from the family table.
SubRemoveRow (Row as IpfcFamilyTableRow)
Removes a specified row from the family table.
SubSetCell (Column as IpfcFamilyTableColumn, Row as IpfcFamilyTableRow, Value as IpfcParamValue)
Sets the value of the specified cell in the family table.



Property Detail


PropertyParentas IpfcFamilyMember [readonly, optional]

The parent of the member object (the immediate generic model).

If immediate generic model is not in session an IpfcXToolkitCantOpen exception is thrown. In that case use IpfcFamilyMember.GetImmediateGenericInfo() to get the model descriptor of immediate generic.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified model is not an instance -- it has no generic model.

IpfcXToolkitCantOpen - The immediate generic is not in session ('immediate' is set to TRUE). Use ProFaminstanceImmediategenericinfoGet() to obtain the name and modeltype of immediate generic in such case.







Method Detail


FunctionAddColumn (Column as IpfcFamilyTableColumn, Values as IpfcParamValues [optional]) as IpfcFamilyTableColumn

Adds a new column to the family table.

Exceptions thrown (but not limited to):

IpfcXToolkitNoChange - The specified item already exists in the family table.


Parameters:
Column
The object describing the column to add.
Values
Values to add to the new column (or NULL).
Returns:
The new column



FunctionAddRow (InstanceName as String, Values as IpfcParamValues [optional]) as IpfcFamilyTableRow

Adds a new row to the family table.

Exceptions thrown (but not limited to):

IpfcXToolkitFound - The specified instance already exists in the family table.

IpfcXToolkitAbort - Operation of adding instance is aborted since the supplied name was already in use.


Parameters:
InstanceName
Name of the new instance.
Values
Values to add to the row (or NULL).
Returns:
New row



FunctionCreateColumn (Type as IpfcFamilyColumnType, Symbol as String) as IpfcFamilyTableColumn

Creates a new family table column object given a string symbol.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
Parameters:
Type
The type of element contained in the column.
Symbol
The string symbol that will appear of the column, for example "F1" or "D7".
Returns:
The created family table column object.



FunctionCreateCompModelColumn (Comp as IpfcFeature) as IpfcFamColCompModel

Creates a component model column that will be added to a family table.

The string name for this column will be "mm#", where "#" is the component feature id.

A component model column drives all occurrences of a component part (or subassembly) in an assembly.

Creating a component model column is the same as using Family Tab > Add Item > Component, then selecting an occurrence of the component and choosing All.

The return value must be passed to IpfcFamilyMember.AddColumn() .
See Also:
IpfcFamilyMember.CreateComponentColumn(), IpfcFamilyMember.AddColumn()
Parameters:
Comp
Any ComponentFeat that contains the component being added

Returns:
The new column



FunctionCreateComponentColumn (Comp as IpfcFeature) as IpfcFamColComp

Creates a single component column in the family table.

The string name for this column will be "m#", where # is the component id.

The return value must be passed to IpfcFamilyMember.AddColumn() .
See Also:
IpfcFamilyMember.AddColumn()
Parameters:
Comp
The component.
Returns:
The new column.



FunctionCreateDimensionColumn (Dim as IpfcDimension) as IpfcFamColDimension

Creates a dimension column in the family table.

The string name for this column will be "d#", where # is the dimension id.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.AddColumn()
Parameters:
Dim
The dimension.
Returns:
The new column.



FunctionCreateFeatureColumn (Feat as IpfcFeature) as IpfcFamColFeature

Creates a feature column in the family table.

The string name for this column will be "f#", where # is the feature id.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.AddColumn()
Parameters:
Feat
The feature
Returns:
The new column



FunctionCreateGroupColumn (Group as IpfcFeatureGroup) as IpfcFamColGroup

Creates a group column in the family table.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.AddColumn()
Parameters:
Group
The feature group to add to the table
Returns:
The new column



FunctionCreateMergePartColumn (Feat as IpfcFeature) as IpfcFamColMergePart

Creates a merged-part column in the family table.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.AddColumn()
Parameters:
Feat
The feature
Returns:
The new column



FunctionCreateParamColumn (Param as IpfcParameter) as IpfcFamColParam

Creates a parameter column in the family table.

The column name will be same as the parameter name.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.AddColumn()
Parameters:
Param
The parameter
Returns:
The new column



FunctionCreateTolMinusColumn (Dim as IpfcDimension) as IpfcFamColTolMinus

Creates a new family table column representing a dimension tolerance minus value.

The string name for this column will be "tm#", where # is the dimension id.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.CreateTolPlusColumn(), IpfcFamilyMember.CreateTolPlusMinusColumn(), IpfcFamilyMember.AddColumn()
Parameters:
Dim
The dimension whose tolerance will be assigned to the column.
Returns:
The created family table column.



FunctionCreateTolPlusColumn (Dim as IpfcDimension) as IpfcFamColTolPlus

Creates a new family table column representing a dimension tolerance plus value.

The string name for this column will be "tp#", where # is the dimension id.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.CreateTolMinusColumn(), IpfcFamilyMember.CreateTolPlusMinusColumn(), IpfcFamilyMember.AddColumn()
Parameters:
Dim
The dimension whose tolerance will be assigned to the column.
Returns:
The created family table column.



FunctionCreateTolPlusMinusColumn (Dim as IpfcDimension) as IpfcFamColTolPlusMinus

Creates a new family table column representing a dimension tolerance plus/minus symmetric value.

The string name for this column will be "tpm#", where # is the dimension id.

The column will not be added to the family table until IpfcFamilyMember.AddColumn() is used.
See Also:
IpfcFamilyMember.CreateTolPlusColumn(), IpfcFamilyMember.CreateTolMinusColumn(), IpfcFamilyMember.AddColumn()
Parameters:
Dim
The dimension whose tolerance will be assigned to the column.
Returns:
The created family table column.



FunctionGetCell (Column as IpfcFamilyTableColumn, Row as IpfcFamilyTableRow) as IpfcParamValue [optional]

Retrieves the value in the specified cell of the family table.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified instance does not exist in the family table, or the specified model item is not table-driven.


See Also:
IpfcFamilyMember.SetCell()
Parameters:
Column
The column in the family table
Row
The row in the family table
Returns:
The value in the specified cell



FunctionGetCellIsDefault (Column as IpfcFamilyTableColumn, Row as IpfcFamilyTableRow) as Boolean

Determines if the value of the item in the specified cell is the default value.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified instance does not exist in the family table, or the specified model item is not table-driven.


Parameters:
Column
The column in the family table
Row
The row in the family table
Returns:
true if the value is default and false if not.



FunctionGetColumn (Symbol as String) as IpfcFamilyTableColumn [optional]

Returns a column in the family table, given its string name.
See Also:
IpfcFamilyMember.ListColumns()
Parameters:
Symbol
The family table column symbol.
Returns:
The column object, or null, if the column was not found.



FunctionGetImmediateGenericInfo () as IpfcModelDescriptor [optional]

Gets the model descriptor of the immediate generic model.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified model is not an instance -- it has no generic model.


Returns:
The model descriptor of the immediate generic model.



FunctionGetRow (InstanceName as String) as IpfcFamilyTableRow [optional]

Returns the specified row of the family table.
Parameters:
InstanceName
The name of the instance to find.
Returns:
The specified instance.



FunctionGetTopGenericInfo () as IpfcModelDescriptor

Gets the model descriptor of the top generic model.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified model is not an instance -- it has no generic model.

IpfcXToolkitCantOpen - The immediate generic is not in session ('immediate' is set to TRUE). Use ProFaminstanceImmediategenericinfoGet() to obtain the name and modeltype of immediate generic in such case.


Returns:
The model descriptor of the top generic model.



FunctionListColumns () as IpfcFamilyTableColumns [optional]

Lists the columns of the family table.
Returns:
A sequence of the family table columns.



FunctionListRows () as IpfcFamilyTableRows [optional]

Lists the rows of the family table.
Returns:
A sequence of the family table rows.



SubRemoveColumn (Column as IpfcFamilyTableColumn)

Removes a specified column from the family table.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified item was not found in the family table.


Parameters:
Column
The column to be deleted.



SubRemoveRow (Row as IpfcFamilyTableRow)

Removes a specified row from the family table.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified instance does not exist in the family table.


Parameters:
Row
The row to be deleted.



SubSetCell (Column as IpfcFamilyTableColumn, Row as IpfcFamilyTableRow, Value as IpfcParamValue)

Sets the value of the specified cell in the family table.

Exceptions thrown (but not limited to):

IpfcXToolkitNotFound - The specified instance does not exist in the family table, or the specified model item is not table-driven.


See Also:
IpfcFamilyMember.GetCell(), CMpfcModelItem.CreateIntParamValue(), CMpfcModelItem.CreateDoubleParamValue(), CMpfcModelItem.CreateStringParamValue(), CMpfcModelItem.CreateBoolParamValue()
Parameters:
Column
The column where the cell is located.
Row
The row where the cell is located.
Value
The new cell value.