Library | File

Class wfcWFamilyTableRow

# include <wfcFamily.h>

class wfcWFamilyTableRow
 : public virtual pfcFamilyTableRow
{
    xaideclare(wfcWFamilyTableRow)
    ...
};



Description

Interface wfcWFamilyTableRow adds more functionality to pfcFamilyTableRow.
Manual References:
Overview of Creo Object TOOLKIT C++: Casting of Creo Object TOOLKIT C++ pfc Classes to wfc Classes



Method Summary

wfcWModel_ptrGetModelFromDisk ()
Retrieves an instance of a model from disk.
wfcWModel_ptrGetModelFromSession ()
Retrieves the handle to the instance model, if it is in session.
xboolIsFlatState ()
Checks if the family table instance is a sheetmetal flat state instance or not.
xboolIsModifiable (xbool ShowUI)
Check if a given instance is modifiable.


Methods Inherited from Class pfcFamilyTableRow:

GetInstanceName, GetIsLocked, SetIsLocked, GetIsVerified, GetIsExtLocked, CreateInstance, Erase



Method Detail

xboolIsFlatState ()

Checks if the family table instance is a sheetmetal flat state instance or not.

Exceptions thrown (but not limited to):

pfcXToolkitBadContext - The instance is not of flat state type, but normal family table instance


Manual References:
Family Tables: Operations on Family Table Instances, Family Tables: Operations on Family Table Instances
Returns:
true if it is a flat state instance and false if not.



xboolIsModifiable (xbool ShowUI)

Check if a given instance is modifiable.
Manual References:
Family Tables: Operations on Family Table Instances, Family Tables: Operations on Family Table Instances
Parameters:
ShowUI
Indicates whether the Conflicts dialog should be shown to user to resolve conflicts (if they are detected); when set to false no UI is enabled and the instance is considered as modifiable if there are no conflicts that could not be overridden or resolved by default resolution actions.
Returns:
true if modifiable and false if not.



wfcWModel_ptrGetModelFromSession ()

Retrieves the handle to the instance model, if it is in session.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The specified instance model is not in session.


Manual References:
Family Tables: Operations on Family Table Instances, Family Tables: Operations on Family Table Instances
Returns:
The model from session.



wfcWModel_ptrGetModelFromDisk ()

Retrieves an instance of a model from disk.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The specified instance model was not found on disk.


Manual References:
Family Tables: Operations on Family Table Instances, Family Tables: Operations on Family Table Instances
Returns:
The model from disk.