Skip to main content

getSDCtrl

@combeenation/custom-code-utils


Variable: getSDCtrl()

const getSDCtrl: (sdCtrlName?) => ShapeDiver3dEmbedded | undefined = SdvBasicApi.getSDCtrl

Function for receiving shapediver instance

Parameters

sdCtrlName?

string

If the parameter is used, the shapediver instance with the corresponding name will be fetched.
If parameter is not used, the first available shapediver instance of the configurator will be returned.

Returns

ShapeDiver3dEmbedded | undefined