The ConnectToiHubProject method used the following arguments prior to Update 26. Attempting to use these arguments in version 26 or later will result in the return of error values. For information about the current arguments, see ConnectToiHubProject As Long.
Arguments
Name |
Data type |
Input/output |
Description |
---|---|---|---|
pstrSDxURL |
String (maximum 128 characters) |
Input |
SDxserver URL. |
pstrSDxPlant |
String (maximum 254 characters) |
Input |
SDxplant name. |
pstrSDxProject |
String (maximum 254 characters) |
Input |
Tool project name. This should match the project name in SDx to establish a connection. |
pstrToolID |
String (maximum 32 characters) |
Input |
Design tool name. For example, Smart 3D |
pstrToolSPAdapterAssemblyPath |
String |
Input |
Absolute path to the SmartPlant Adapter assembly. |
pstrToolSPAdapterType |
String |
Input |
Name of the SmartPlant Adapter type. |
pobjToolParameters |
ISPToolParameters |
Input |
Collection of tool parameters that will be passed to the tool adapter. Arguments, such as tool site and tool plant, as well as other tool-specific parameters, can be passed using this argument. |
pblnFileMode |
Boolean |
Input |
Indicates whether ‘Publish/Retrieve to File Mode’ should be turned on. A "True" value in this parameter is not currently supported. |
pstrSDxAuthPKCEClientID |
String |
Input |
Identifies the client ID for the proof key code exchange (PKCE) authentication and directs the tool to the applicable authentication server. |
pstrSDxAuthPKCEClientSecret |
String |
Input |
Identifies the client secret for the PKCE authentication, allows it to access Smart API, and redirects the tool to the applicable authentication server. |
pstrSDxAuthPKCERedirectURI |
String |
Input |
PKCE redirection URI. |
pstrSDxAuthPKCEScope |
String |
Input |
Determines the level of access needed by a user. |
pstrSDxAuthPKCEAdditionalParameters |
Dictionary(Of String, String) |
Input |
Selects the token audience for PKCE authentication. |