API Documentation > Interface Classes > Class wfcExternalObject
Class wfcExternalObject

# include <wfcExternalObject.h>

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


Description
This interface provides access to external objects Interface has methods to add,delete and modify data required for external objects
Method Summary
void
Adds data to an external object
Gets external object's data.
NOTE: Currently, GetData cannot retrieve a sequence of colors set using ExternalObjectDisplayData::SetEntityColors.
These color values are returned as pfcCOLOR_CURVE. This functionality is reserved for future use.
Retrieves the owner of an existing external object.
void
Modifies data of an external object
void
Removes data from an external object
Method Detail
void
AddData
Adds data to an external object
Manual References:
Parameters:
Data
External object data to add
Returns:
void
RemoveData
Removes data from an external object
Manual References:
Parameters:
Type
Type of the data to remove e.g. display data or selection data
Returns:
void
ModifyData
Modifies data of an external object
Manual References:
Parameters:
Data
Modified external object data
Returns:
Gets external object's data.
NOTE: Currently, GetData cannot retrieve a sequence of colors set using ExternalObjectDisplayData::SetEntityColors.
These color values are returned as pfcCOLOR_CURVE. This functionality is reserved for future use.
Manual References:
Parameters:
Type
Type of the data to remove e.g. display data or selection data
Returns:
Data of an external object
GetOwner
()
Retrieves the owner of an existing external object.
Exceptions thrown (but not limited to):
pfcXToolkitNotFound - The owner was not found.
Manual References:
Returns:
The pfcModelItem::ModelItem owner object
Manual References:
Returns:
Was this helpful?