Jump to content

Turn on Plot Transparency on active layout?


Recommended Posts

Posted (edited)

Hi all,

 

Is there a way to turn on the 'Plot Transpacency' for the active layout?

All LISP solutions i find, either do not work, or manipulate the PLOTTRANSPARENYOVERRIDE value to 2.

 

Other solutions only work for the model space and not the active layout. 😞

 

 

EDIT:

Sorry, solved it!

 

	(setq xData (vlax-make-safearray vlax-vbVariant '(0 . 1)))
	(setq xType (vlax-make-safearray vlax-vbInteger '(0 . 1)))
 	(vlax-safearray-fill xData (list (vlax-make-variant "PLOTTRANSPARENCY")(vlax-make-variant 1)))
	(vlax-safearray-fill xType (list 1001 1071))
	(vla-setXdata (vla-item layouts (getvar "CTAB")) xType xData)
  	(entmod (entget (vlax-vla-object->ename (vla-item layouts (getvar "CTAB"))) '("*")))

 

Edited by Aftertouch
Posted

Maybe something like this

(setvar "textfill" 1)
(setvar "fillmode" 1)
(setvar "PLOTTRANSPARENCYOVERRIDE" 2)
    (COMMAND "-PLOT"  "Y"  "" "dwg to Pdf"
	       "Iso full bleed A3 (420.00 x 297.00 MM)" "m" "LANDSCAPE"  "N"   "W"  "-6,-6" "807,560" "1=2"  "C"
	       "y" "Acad.ctb" "Y"	"n" "n" "n" pdfName "N" "y"
    )

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...