Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIAnnLinkDescriptor
Interface to manage a link to be hold by a text.
see Example:
CATIAnnLinkDescriptor *pLinkDescriptor = CATIAnnLinkDescriptor::CreateInstance(); if(pLinkDescriptor) { ... pLinkDescriptor->Release(), pLinkDescriptor = NULL; }
public static CreateInstance( | ) |
public virtual SetLinkToAttribute( | ipAttributeOwner, | |
const | iAttributeInfos, | |
iAssociativity) |
public virtual SetLinkToParameter( | ipParameter, | |
iAssociativity) |
TRUE
although the attribute cannot be linked associatively then the method will return S_FALSE
.
TRUE
The descriptor is asked for associative link.FALSE
The descriptor is asked for datum link.S_OK
The function has being executed successfully.S_FALSE
The function has being executed successfully but the resolution will be non associative.E_UNEXPECTED
An unexpected error occurred during the execution of the function.E_INVALIDARG
At least one argument was not valid (see preconditions).E_FAIL
The given arguments were not compliant for describing a link.public virtual SetLinkToTypeAttribute( | ipAttributeOwner, | |
ipType, | ||
const | iAttributeInfos, | |
iAssociativity) |
E_FAIL
.
If iAttributeInfos does not describe an attribute hold by ipAttributeOwner then the method will fail and return E_FAIL
.
If iAssociativity is TRUE
whereas the attribute cannot be linked associatively then the method will return S_FALSE
.
TRUE
The descriptor is asked for associative resolution.FALSE
The descriptor is asked for non associative resolution.S_OK
The function has being executed successfully.S_FALSE
The function has being executed successfully but the resolution will be non associative.E_UNEXPECTED
An unexpected error occurred during the execution of the function.E_INVALIDARG
At least one argument was not valid (see preconditions).E_FAIL
The given arguments were not compliant for describing a link.Copyright © 1999-2014, Dassault Systèmes. All rights reserved.