Library | File

Class pfcTableOwner

# include <pfcTable.h>

class pfcTableOwner
 : public virtual xobject
{
    xaideclare(pfcTableOwner)
    ...
};



Description

This interface represents a Creo Parametric model that can contain tables.
See Also:
pfcModel2D
Direct Known Subclasses:
pfcModel2D



Method Summary

pfcTable_ptrCreateTable (pfcTableCreateInstructions_ptr Instructions)
Creates a table in the model.
voidDeleteTable (pfcTable_ptr Table, optional xbool Repaint)
Deletes a table from the model.
optional pfcTable_ptrGetTable (xint Id)
Gets a table in the model, given its identifier.
pfcTables_ptrListTables ()
Lists the tables in the model.
pfcTable_ptrRetrieveTable (pfcTableRetrieveInstructions_ptr Instructions)
Retrieves a table from a file on disk.This method always place table's top left corner at a point sepcified by instruction.
pfcTable_ptrRetrieveTableByOrigin (pfcTableRetrieveInstructions_ptr Instructions)
Retrieves a table from a file on disk. This method place table's origin at a point sepcified by instructions.
voidUpdateTables ()
Updates all drawing tables.



Method Detail

pfcTables_ptrListTables ()

Lists the tables in the model.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - No tables were found.


Manual References:
Drawings: Drawing Tables Information, Drawings: Drawing Tables Information
Returns:
Sequence of tables found in the model.



optional pfcTable_ptrGetTable (xint Id)

Gets a table in the model, given its identifier.
Manual References:
Drawings: Drawing Tables Information, Drawings: Drawing Tables Information
Parameters:
Id
The table identifier.
Returns:
The table, or null, if the table was not found.



pfcTable_ptrCreateTable (pfcTableCreateInstructions_ptr Instructions)

Creates a table in the model.

Exceptions thrown (but not limited to):

<reference 4 to unknown entity pfcExceptions::pfcXInAMethod>


See Also:
pfcTableCreateInstructions::Create(pfcPoint3D_ptr)
Manual References:
Drawings: Creating Drawing Tables
Parameters:
Instructions
Data object containing information on the table to create.
Returns:
The created table.



pfcTable_ptrRetrieveTable (pfcTableRetrieveInstructions_ptr Instructions)

Retrieves a table from a file on disk.This method always place table's top left corner at a point sepcified by instruction.
See Also:
pfcTableRetrieveInstructions::Create(xrstring, pfcPoint3D_ptr)
Manual References:
Drawings: Retrieving Drawing Tables, Drawings: Retrieving Drawing Tables
Parameters:
Instructions
Data object containing details about the table to be retrieved.
Returns:
The created table.



pfcTable_ptrRetrieveTableByOrigin (pfcTableRetrieveInstructions_ptr Instructions)

Retrieves a table from a file on disk. This method place table's origin at a point sepcified by instructions.
See Also:
pfcTableRetrieveInstructions::Create(xrstring, pfcPoint3D_ptr)
Manual References:
Drawings: Retrieving Drawing Tables
Parameters:
Instructions
Data object containing details about the table to be retrieved.
Returns:
The created table.



voidUpdateTables ()

Updates all drawing tables.
Manual References:
Drawings: Repeat Regions
Returns:



voidDeleteTable (pfcTable_ptr Table, optional xbool Repaint)

Deletes a table from the model.

Exceptions thrown (but not limited to):

pfcXToolkitNotExist - The specified table_id does not exist.


Manual References:
Drawings: Drawing Tables Operations, Drawings: Drawing Tables Operations
Parameters:
Table
The table to delete.
Repaint
true to repaint the drawing with the changes, false or null to delay the repaint.
Returns: