Class pfcTable
Description
This interface represents a drawing table in a Creo Parametric model.
See Also:
Direct Parent Classes:
User Guide References:
Method Summary
boolean | |
| |
| |
| Identifies if the drawing table was created by the format. |
void | DeleteColumn (number Column, /* optional */ boolean Repaint) |
| |
| |
| Deletes a column in the table. |
void | DeleteRow (number Row, /* optional */ boolean Repaint) |
| |
| |
| Deletes a row in the table. |
void | |
| |
| |
| Displays the table, if it has been erased. |
void | |
| |
| |
| Erases the table. |
| |
| |
| |
| Returns the component model referred to by a cell in a repeat region of a table. This function will not return a valid result if the cell has the attribute "NO DUPLICATE" or "NO DUPLICATE/LEVEL" as there is no unique path available. In that case use the functions pfcTable.GetCellTopModel() (for Top level model) or pfcTable.GetCellReferenceModel(). |
| |
| |
| |
| Returns the detail note contained in the table cell. |
| |
| |
| |
| Returns the reference component referred to by this cell in a repeat region drawing table. Differs from pfcTable.GetCellComponentModel() in that this function will return the reference object if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL". |
| |
| |
| |
| Returns the top model referred to by this cell in a repeat region drawing table. Differs from pfcTable.GetCellComponentModel() in that this function will return the object if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL". |
number | |
| |
| |
| Returns the number of columns in the table. |
number | |
| |
| |
| Returns the width of the drawing table column. |
| |
| |
| |
| Returns information about the drawing table. |
number | |
| |
| |
| Returns the number of rows in the table. |
number | |
| |
| |
| Returns the height of the row. |
number | |
| |
| |
| Returns the number of segments in the table. |
number | |
| |
| |
| Returns the sheet where a particuar table segment lies. |
| |
| |
| |
| Returns the text in a drawing table cell. |
void | InsertColumn (number Width, /* optional */ number InsertAfterColumn, /* optional */ boolean Repaint) |
| |
| |
| Inserts a column in the drawing table. |
void | InsertRow (number Height, /* optional */ number InsertAfterRow, /* optional */ boolean Repaint) |
| |
| |
| Inserts a new row into the table. |
boolean | |
| |
| |
| Determines if a table cell is a comment cell in a repeat region. |
void | |
| |
| |
| Merges a rectangular section of table cells. |
void | |
| |
| |
| Moves a segment of the table. |
void | |
| |
| |
| Rotates a table clockwise. |
void | |
| |
| |
| Sets the text in the table cell. |
void | |
| |
| |
| Removes all merges in the specified region of previously merged cells. |
Method Detail
boolean | CheckIfIsFromFormat | (number SheetNumber) |
Identifies if the drawing table was created by the format.
SheetNumber is ignored in this method.
Parameters:
SheetNumber
The sheet number.
Returns:
true if the table was created by applying the drawing format.
User Guide References:
void | DeleteColumn | (number Column, /* optional */ boolean Repaint) |
Deletes a column in the table.
Parameters:
Column
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
void | DeleteRow | (number Row, /* optional */ boolean Repaint) |
Deletes a row in the table.
Parameters:
Row
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
Displays the table, if it has been erased.
See Also:
User Guide References:
Erases the table.
See Also:
User Guide References:
Returns the component model referred to by a cell in a repeat region of a table. This function will not return a valid result if the cell has the attribute "NO DUPLICATE" or "NO DUPLICATE/LEVEL" as there is no unique path available. In that case use the functions
pfcTable.GetCellTopModel() (for Top level model) or
pfcTable.GetCellReferenceModel().
Exceptions thrown (but not limited to):
See Also:
Parameters:
Cell
The table cell.
Returns:
The full path to the component referenced by the cell.
User Guide References:
Returns the detail note contained in the table cell.
Exceptions thrown (but not limited to):
See Also:
Parameters:
Cell
The table cell.
Returns:
The detail note item.
User Guide References:
Returns the reference component referred to by this cell in a repeat region drawing table. Differs from
pfcTable.GetCellComponentModel() in that this function will return the reference object if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL".
Exceptions thrown (but not limited to):
See Also:
Parameters:
Cell
The table cell.
Returns:
The model of record for the cell.
User Guide References:
Returns the top model referred to by this cell in a repeat region drawing table. Differs from
pfcTable.GetCellComponentModel() in that this function will return the object if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL".
Exceptions thrown (but not limited to):
See Also:
Parameters:
Cell
The table cell.
Returns:
The top model for the region.
User Guide References:
Returns the number of columns in the table.
Exceptions thrown (but not limited to):
Returns:
The number of columns.
User Guide References:
number | GetColumnSize | (number SegmentId, number Column) |
Returns the width of the drawing table column.
See Also:
Parameters:
SegmentId
The segment identifier. Segment identifiers start at 0.
Column
The column number. Column numbers range from 1 to the number of columns.
Returns:
The column size.
User Guide References:
| GetInfo | (number SegmentId) |
Returns information about the drawing table.
See Also:
Parameters:
SegmentId
The segment identifier. Segment ids start at 0.
Returns:
The table information, including the rotation, column and row information, and outline.
User Guide References:
Returns the number of rows in the table.
Exceptions thrown (but not limited to):
Returns:
The number of rows.
User Guide References:
number | GetRowSize | (number SegmentId, number Row) |
Returns the height of the row.
See Also:
Parameters:
SegmentId
The segment identifier. Segment ids range start at 0.
Row
The row number. Row numbers range from 1 to the number of rows.
Returns:
The row height.
User Guide References:
Returns the number of segments in the table.
Returns:
The number of segments.
User Guide References:
number | GetSegmentSheet | (number SegmentNumber) |
Returns the sheet where a particuar table segment lies.
Exceptions thrown (but not limited to):
See Also:
Parameters:
SegmentNumber
The segement identifier. Segment ids start at 0.
Returns:
The sheet number.
User Guide References:
Returns the text in a drawing table cell.
See Also:
Parameters:
Cell
The table cell.
Mode
The mode used to retrieve the text.
Returns:
Sequence of text in the table cell.
User Guide References:
void | InsertColumn | (number Width, /* optional */ number InsertAfterColumn, /* optional */ boolean Repaint) |
Inserts a column in the drawing table.
See Also:
Parameters:
Width
The width of the inserted column.
InsertAfterColumn
The column number to insert after. Pass 0 to insert as the first column. Column numbers range from 1 to the number of columns.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
void | InsertRow | (number Height, /* optional */ number InsertAfterRow, /* optional */ boolean Repaint) |
Inserts a new row into the table.
See Also:
Parameters:
Height
The row height. This argument should be in number of characters, even if the table was created using a height type of TABLESIZE_BY_LENGTH.
InsertAfterRow
The row number. Enter 0 to insert a new first row. Row numbers range from 1 to the number of rows.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
Determines if a table cell is a comment cell in a repeat region.
Parameters:
Cell
The table cell.
Returns:
Whether or not the cell is a comment cell.
User Guide References:
Merges a rectangular section of table cells.
Parameters:
UpperLeft
The table cell on the upper left of the region.
LowerRight
The table cell on the lower right of the region.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
Moves a segment of the table.
Exceptions thrown (but not limited to):
Parameters:
SegmentNumber
The segment identifier. Segment ids start from 0.
NewPosition
The new location for the drawing table segment.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
Rotates a table clockwise.
Parameters:
Rotation
The amount of rotation.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References:
Sets the text in the table cell.
Exceptions thrown (but not limited to):
See Also:
Parameters:
Cell
The table cell.
Lines
The text for the table cell.
User Guide References:
Removes all merges in the specified region of previously merged cells.
Parameters:
UpperLeft
The upper left table cell to remesh.
LowerRight
The lower right table cell to remesh.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
User Guide References: