ProductStructureInterfaces Interface CATIPrdRepInstance
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPrdRepInstance
Interface managing the visualized object associated to a Representation Instance.
This interface is implemented on Representation Instances.
Method Index
- o
GetMasterShapeIdType(CATUnicodeString&)
- Retrieves the object type of the Master shape format.
- o
GetShapeVisuObject(CATBaseUnknown*&,CATBoolean,CATBoolean)
- Retrieves the visualized shape object associated to the Representation Instance.
Methods
o GetMasterShapeIdType
public virtual GetMasterShapeIdType( | | oTypeId) |
-
Retrieves the object type of the Master shape format.
The format can also be retrieved by calling
on the Representation Reference of this Representation Instance (that can be retrieved by using
).
- Parameters:
-
- oTypeId
- The late type of the Master shape format object.
- Returns:
-
- S_OK the type was successfully retrieved
- E_FAIL otherwise
o GetShapeVisuObject
public virtual GetShapeVisuObject( | | oShapeVisuObject, |
| | iForceLoad | = FALSE, |
| | iMasterFormatOnly | = FALSE) |
-
Retrieves the visualized shape object associated to the Representation Instance.
- Parameters:
-
- oShapeVisuObject
- [out, CATBaseUnknown#Release] The visualized shape object.
Note: The pointer should be RELEASED.
- iForceLoad
- Load the shape object if necessary. By default, the shape object is not loaded.
- iMasterFormatOnly
- Specify whether the Master format should be used or not. By default the Master format is not used.
- Returns:
-
- S_OK if the visualized shape object was successfully retrieved
- E_FAIL otherwise
This object is included in the file: CATIPrdRepInstance.h
If needed, your Imakefile.mk should include the module: CATProductStructureInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.