Iwould process the REF DES/ASSEMBLY and
and REF DES/SILKSCREEN _TOP/_BOTTOM
layers which are processed later to silkscreen.
This will give Silkscreen and assembly drawing nice readable.
You need to have an offest correction depending on the font height/rotation/etc..This will work.
I belive there was sometimes a reference code at the sourcelink .. can't find it now....
something like this:
axlClearSelSet()
axlSetFindFilter( ?enabled (list "noall" "invisible" "text") ?onButtons (list "text"))
text_list = axlGetSelSet( axlAddSelectAll())
axlCloseFindFilter()
foreach( text_db text_list
cond(
(text_db->layer == "REF DES/ASSEMBLY_TOP"
process_text( text_db "top")
)
(text_db->layer == "REF DES/ASSEMBLY_BOTTOM"
process_text( text_db "bot")
)
(text_db->layer == "REF DES/SILKSCREEN_TOP"
process_text( text_db "top")
)
(text_db->layer == "REF DES/SILKSCREEN_BOTTOM"
process_text( text_db "bot")
)
); cond
); foreach