Mask routine (AutoCAD)

  • Lammerts
  • Onderwerp Auteur
  • Berichten: 139

Mask routine (AutoCAD) werd gestart door Lammerts

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)
23 mei 2016 22:53 #2897

Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.

Moderators: Pascal Wesolek