Mask routine (AutoCAD)

  • Lammerts
  • Offline Onderwerp Auteur
  • Premium lid
  • Premium lid
  • Berichten: 144

Mask routine (AutoCAD) werd gestart door Lammerts

Posted 23 mei 2016 22:53 #2897
In de AutoCAD omgeving nogal onhandig benaderbaar en verstopt.
Onderstaande regel is makkelijk om zowel dims. en text in één handeling transparant te maken

(mask:maskselection (mask:selection "\nSelect objects: ") t 1.2 t nil)

demo
youtu.be/b_MrOxwaL_U


(mask:maskselection sel msk off trn col)

sel - [selset] Selection Set (or nil)
msk - [boolean] T=Mask Enabled; nil=Mask Disabled
off - [double] Mask Offset (not applicable to dimensions; ignored if msk=nil)
trn - [boolean] T=Transparent Mask; nil=Use Mask Colour (ignored if msk=nil)
col -
    Association list of colour values as returned by acad_truecolordlg (ignored if trn=T)

    (mask:maskentity ent msk off trn col)

    sel - [ename] MText, MLeader or Dimension entity
    msk - [boolean] T=Mask Enabled; nil=Mask Disabled
    off - [double] Mask Offset 1<= off <=5 (not applicable to dimensions; ignored if msk=nil)
    trn - [boolean] T=Transparent Mask; nil=Use Mask Colour (ignored if msk=nil)
    col -
    Association list of colour values as returned by acad_truecolordlg (ignored if trn=T)
door Lammerts

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: Pascal Wesolek