All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---System.CATBaseDispatch | +---System.CATIABase | +---VPMDesktopObjects.CATIAVPMVDACommand | +---CATIAVPMVDAComputeInstanceID
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIAVPMVDAComputeInstanceID
Interface to define the command to Generate the default instance ID.
Role : When a new instance is inserted in an assembly the instance ID
is generated based on the V_ID value of the associated part/product. It is
guaranteed to be unique compared to the other immediate children of the same parent.
Example: Two instances of Part1 inserted below the same parent will result in
instance IDs of Part1.1 and Part1.2.
Note: If a user attempts to insert a part and fails for some reason, i.e. security,
the next successfully generated id for the same part will skip a number.
The algorithm is for uniqueness, not for a certain sequence.
public virtual CATUnicodeString get_Result( | )= 0 |
public virtual HRESULT put_BObject( | ENOVIABusinessObject* | object)= 0 |
public virtual HRESULT put_Value( | const CATUnicodeString& | iVID) = 0 |
public virtual void set_Result( | const CATUnicodeString& | iInstanceID) = 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.