How to set makupline diameter to absolute?

Hi everyone!
I need to change Line Thickness Display Property to an absolute value by script.
Something like this:

Thanks on advance!

It appears you are looking for the following method available in the vtkMRMLMarkupsDisplayNode as this would be for the markups line node display settings.

https://apidocs.slicer.org/master/classvtkMRMLMarkupsDisplayNode.html#a5e452bb436f3b4cfbecef72518ce26a9

Not exactly. SetUseGlyphScale() works like upside “Glyph Size” toggle button. I need downside “Line Thickness” toggle button. I´ve been looking fot it in vtkMRMLMarkupsDisplayNode documentation but I cannot find a proper method for it…

Thanks @jamesobutler .

Which specific Markups node type are you using?

vtkMRMLMarkupsLineNode.
Maybe I get solution: I´m using these two methods SetCurveLineSizeMode(1) and SetLineDiameter(1.0) and it works…

1 Like