Jump to content

Automatically correct overlapping ?


Recommended Posts

Hello Peter,

just played around with the labels and it looks like this behavior:

  • "untouched" labels evade a dragged label
  • labels manually moved to a position stay where they are and can be obstructed by other labels

You can click in the menu on View -> labels -> on element and they will be unobstructed again. In the edit mode of a report page, they will evade all the time except you really try hard to obstruct them. Here you also have buttons to arrange them automatically.


Regards,
Nanno

Hi Peter,

when you use this function it is applied to every label. If you want to use this in a script you can simply record the use of the function in the menu.

# -*- coding: utf-8 -*-

import gom

gom.script.cad.set_label_distribution_mode (distribution_mode='element')

But this is also just a click with the mouse, so in my opinion a script is not really necessary, but I don't know about your application of course 🙂 

×
×
  • Create New...