Accessing Vector to Scalar Volume module logic

I wasn’t able to access this module logic. If I do:

slicer.modules.vectortoscalarvolume.logic()

I get:

(SlicerBaseLogicPython.vtkSlicerScriptedLoadableModuleLogic)00000287A73FC0A8

Any thoghts on how to access the VectorToScalarVolumeLogic class functions?

I want to particularly use this function:

2 Likes

See how to access module logic of scripted modules in the PerkLab Slicer programming tutorial: https://www.slicer.org/wiki/Documentation/Nightly/Training#PerkLab.27s_Slicer_bootcamp_training_materials

1 Like

vectorToScalarVolumeLogic = slicer.modules.vectortoscalarvolume.widgetRepresentation().self().logic