Library | Package Java Toolkit

Interface FamilyMember

package com.ptc.pfc.pfcFamily;

public interface FamilyMember
  extends com.ptc.pfc.pfcObject.Object



Description

This class describes a member in a family table.
Direct Known Subclasses:
Solid, WFamilyMember



Method Summary
FamilyTableColumnAddColumn (FamilyTableColumn Column, /*optional*/ ParamValues Values)
    Adds a new column to the family table.
FamilyTableRowAddRow (String InstanceName, /*optional*/ ParamValues Values)
    Adds a new row to the family table.
FamilyTableColumnCreateColumn (FamilyColumnType Type, String Symbol)
    Creates a new family table column object given a string symbol.
FamColCompModelCreateCompModelColumn (Feature Comp)
    Creates a component model column that will be added to a family table.
FamColCompCreateComponentColumn (Feature Comp)
    Creates a single component column in the family table.
FamColDimensionCreateDimensionColumn (Dimension Dim)
    Creates a dimension column in the family table.
FamColFeatureCreateFeatureColumn (Feature Feat)
    Creates a feature column in the family table.
FamColGroupCreateGroupColumn (FeatureGroup Group)
    Creates a group column in the family table.
FamColMergePartCreateMergePartColumn (Feature Feat)
    Creates a merged-part column in the family table.
FamColParamCreateParamColumn (Parameter Param)
    Creates a parameter column in the family table.
FamColTolMinusCreateTolMinusColumn (Dimension Dim)
    Creates a new family table column representing a dimension tolerance minus value.
FamColTolPlusCreateTolPlusColumn (Dimension Dim)
    Creates a new family table column representing a dimension tolerance plus value.
FamColTolPlusMinusCreateTolPlusMinusColumn (Dimension Dim)
    Creates a new family table column representing a dimension tolerance plus/minus symmetric value.
/*optional*/ ParamValueGetCell (FamilyTableColumn Column, FamilyTableRow Row)
    Retrieves the value in the specified cell of the family table.
booleanGetCellIsDefault (FamilyTableColumn Column, FamilyTableRow Row)
    Determines if the value of the item in the specified cell is the default value.
/*optional*/ FamilyTableColumnGetColumn (String Symbol)
    Returns a column in the family table, given its string name.
/*optional*/ ModelDescriptorGetImmediateGenericInfo ()
    Gets the model descriptor of the immediate generic model.
/*optional*/ FamilyMemberGetParent ()
    Get method for attribute "Parent"
    The parent of the member object (the immediate generic model).
/*optional*/ FamilyTableRowGetRow (String InstanceName)
    Returns the specified row of the family table.
ModelDescriptorGetTopGenericInfo ()
    Gets the model descriptor of the top generic model.
/*optional*/ FamilyTableColumnsListColumns ()
    Lists the columns of the family table.
/*optional*/ FamilyTableRowsListRows ()
    Lists the rows of the family table.
voidRemoveColumn (FamilyTableColumn Column)
    Removes a specified column from the family table.
voidRemoveRow (FamilyTableRow Row)
    Removes a specified row from the family table.
voidSetCell (FamilyTableColumn Column, FamilyTableRow Row, ParamValue Value)
    Sets the value of the specified cell in the family table.

Method Detail

GetParent

/*optional*/ FamilyMemberGetParent ()


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

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

Exceptions thrown (but not limited to):

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

XToolkitCantOpen - 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.


Manual References:
Family Tables: Accessing Instances, Family Tables: Accessing Instances



GetImmediateGenericInfo

/*optional*/ ModelDescriptorGetImmediateGenericInfo ()


    Gets the model descriptor of the immediate generic model.

Exceptions thrown (but not limited to):

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


Manual References:
Family Tables: Accessing Instances, Family Tables: Accessing Instances, Models: Model Information, Assemblies and Components: Assembly Components
Returns:
The model descriptor of the immediate generic model.


GetTopGenericInfo

ModelDescriptorGetTopGenericInfo ()


    Gets the model descriptor of the top generic model.

Exceptions thrown (but not limited to):

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

XToolkitCantOpen - 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.


Manual References:
Family Tables: Accessing Instances, Family Tables: Accessing Instances
Returns:
The model descriptor of the top generic model.


ListColumns

/*optional*/ FamilyTableColumnsListColumns ()


    Lists the columns of the family table.
Manual References:
Family Tables: Accessing Columns, Family Tables: Accessing Columns
Returns:
A sequence of the family table columns.


ListRows

/*optional*/ FamilyTableRowsListRows ()


    Lists the rows of the family table.
Manual References:
Family Tables: Accessing Instances, Family Tables: Accessing Instances
Returns:
A sequence of the family table rows.


GetCell

/*optional*/ ParamValueGetCell (FamilyTableColumn Column, FamilyTableRow Row)


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

Exceptions thrown (but not limited to):

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


See Also:
FamilyMember.SetCell(FamilyTableColumn, FamilyTableRow, ParamValue)
Manual References:
Family Tables: Accessing Cell Information, Family Tables: Accessing Cell Information
Parameters:
Column
The column in the family table
Row
The row in the family table
Returns:
The value in the specified cell


SetCell

voidSetCell (FamilyTableColumn Column, FamilyTableRow Row, ParamValue Value)


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

Exceptions thrown (but not limited to):

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


See Also:
FamilyMember.GetCell(FamilyTableColumn, FamilyTableRow), pfcModelItem.CreateIntParamValue(int), pfcModelItem.CreateDoubleParamValue(double), pfcModelItem.CreateStringParamValue(String), pfcModelItem.CreateBoolParamValue(boolean)
Manual References:
Family Tables: Accessing Cell Information, Family Tables: Accessing Cell Information
Parameters:
Column
The column where the cell is located.
Row
The row where the cell is located.
Value
The new cell value.
Returns:


GetCellIsDefault

booleanGetCellIsDefault (FamilyTableColumn Column, FamilyTableRow Row)


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

Exceptions thrown (but not limited to):

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


Manual References:
Family Tables: Accessing Cell Information, Family Tables: Accessing Cell Information
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.


AddRow

FamilyTableRowAddRow (String InstanceName, /*optional*/ ParamValues Values)


    Adds a new row to the family table.

Exceptions thrown (but not limited to):

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

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


Manual References:
Family Tables: Creating Family Table Instances, Family Tables: Creating Family Table Instances
Parameters:
InstanceName
Name of the new instance.
Values
Values to add to the row (or NULL).
Returns:
New row


GetRow

/*optional*/ FamilyTableRowGetRow (String InstanceName)


    Returns the specified row of the family table.
Manual References:
Family Tables: Accessing Instances, Family Tables: Accessing Instances
Parameters:
InstanceName
The name of the instance to find.
Returns:
The specified instance.


RemoveRow

voidRemoveRow (FamilyTableRow Row)


    Removes a specified row from the family table.

Exceptions thrown (but not limited to):

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


Manual References:
Family Tables: Accessing Instances, Family Tables: Accessing Instances
Parameters:
Row
The row to be deleted.
Returns:


AddColumn

FamilyTableColumnAddColumn (FamilyTableColumn Column, /*optional*/ ParamValues Values)


    Adds a new column to the family table.

Exceptions thrown (but not limited to):

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


Manual References:
Family Tables: Creating Family Table Columns, Family Tables: Creating Family Table Columns
Parameters:
Column
The object describing the column to add.
Values
Values to add to the new column (or NULL).
Returns:
The new column


RemoveColumn

voidRemoveColumn (FamilyTableColumn Column)


    Removes a specified column from the family table.

Exceptions thrown (but not limited to):

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


Manual References:
Family Tables: Accessing Columns, Family Tables: Accessing Columns
Parameters:
Column
The column to be deleted.
Returns:


GetColumn

/*optional*/ FamilyTableColumnGetColumn (String Symbol)


    Returns a column in the family table, given its string name.
See Also:
FamilyMember.ListColumns()
Manual References:
Family Tables: Accessing Columns, Family Tables: Accessing Columns
Parameters:
Symbol
The family table column symbol.
Returns:
The column object, or null, if the column was not found.


CreateColumn

FamilyTableColumnCreateColumn (FamilyColumnType Type, String Symbol)


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

The column will not be added to the family table until FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
Manual References:
Family Tables: Creating Family Table Columns, Family Tables: Creating Family Table Columns
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.


CreateParamColumn

FamColParamCreateParamColumn (Parameter Param)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Param
The parameter
Returns:
The new column


CreateDimensionColumn

FamColDimensionCreateDimensionColumn (Dimension Dim)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Dim
The dimension.
Returns:
The new column.


CreateFeatureColumn

FamColFeatureCreateFeatureColumn (Feature Feat)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Feat
The feature
Returns:
The new column


CreateComponentColumn

FamColCompCreateComponentColumn (Feature Comp)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) .
See Also:
FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Comp
The component.
Returns:
The new column.


CreateCompModelColumn

FamColCompModelCreateCompModelColumn (Feature Comp)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) .
See Also:
FamilyMember.CreateComponentColumn(Feature), FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Comp
Any ComponentFeat that contains the component being added

Returns:
The new column


CreateGroupColumn

FamColGroupCreateGroupColumn (FeatureGroup Group)


    Creates a group column in the family table.

The column will not be added to the family table until FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Group
The feature group to add to the table
Returns:
The new column


CreateMergePartColumn

FamColMergePartCreateMergePartColumn (Feature Feat)


    Creates a merged-part column in the family table.

The column will not be added to the family table until FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Manual References:
Family Tables: Creating Family Table Columns
Parameters:
Feat
The feature
Returns:
The new column


CreateTolPlusColumn

FamColTolPlusCreateTolPlusColumn (Dimension Dim)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.CreateTolMinusColumn(Dimension), FamilyMember.CreateTolPlusMinusColumn(Dimension), FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Parameters:
Dim
The dimension whose tolerance will be assigned to the column.
Returns:
The created family table column.


CreateTolMinusColumn

FamColTolMinusCreateTolMinusColumn (Dimension Dim)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.CreateTolPlusColumn(Dimension), FamilyMember.CreateTolPlusMinusColumn(Dimension), FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Parameters:
Dim
The dimension whose tolerance will be assigned to the column.
Returns:
The created family table column.


CreateTolPlusMinusColumn

FamColTolPlusMinusCreateTolPlusMinusColumn (Dimension Dim)


    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 FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues) is used.
See Also:
FamilyMember.CreateTolPlusColumn(Dimension), FamilyMember.CreateTolMinusColumn(Dimension), FamilyMember.AddColumn(FamilyTableColumn, /*optional*/ ParamValues)
Parameters:
Dim
The dimension whose tolerance will be assigned to the column.
Returns:
The created family table column.