All Frameworks  Class Hierarchy  This Framework  Indexes

CATAssemblyInterfaces Global Function GetProductConnector


HRESULT GetProductConnector(CATILinkableObject* iGeometry,
CATIProduct* iInstanceComponent,
CATIProduct* iActiveComponent,
int iSearchType,
CATIConnector*& oConnector,
int& oCreation,
int iResolutionMode=0)
Creates a connector.
Parameters:
iGeometry
The geometry to be referenced
iInstanceComponent
The instance product associated to the geometry of "iGeometry". It must be a descendant of the "iActiveComponent".
iActiveComponent
The active component. This parameter is used to identify the working document.
iSearchType
The searching mode.
Legal values:
0 = creates connector if not found
1 = searches only existing connector
2 = searches only published connector
oConnector
The resulting connector.
oCreation
Is it a creation?
Legal values:
0 = No. The connector has been found,
1 = Yes. The connector has been created.
iResolutionMode
The resolution mode.
Legal values:
0 = static resolution mode
1 = dynamic resolution mode

This object is included in the file: CATAsmConnectorServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.