The ConnectToiHub 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 more information about the current arguments, see ConnectToiHub As Long.
Arguments
Name |
Data type |
Input/output |
Description |
---|---|---|---|
pstrSDxURL |
String (maximum 128 characters) |
Input |
SDx server URL. |
pstrSDxPlant |
String |
Input |
SDx plant name. |
pstrToolID |
String (maximum 24 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, in turn, 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. |
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. |