Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Rustabout on May 30, 2021, 05:35:13 PM
Title: Updating a layer's modified xData - "AcCmTransparency" to be specific.
Post by: Rustabout on May 30, 2021, 05:35:13 PM
I've found a way to update Layer Transparency using only Visual LISP and the vla-setXdata command. Only problem is that my layer transparency won't update unless I close and reopen my file.
Note that I am avoiding working with the dxf codes both for simplicity and unfamiliarity with 'em. Would like to maintain that if I can. The advantage I have here is that I only need to copy the xdata and then apply it to a newly created layer
Title: Re: Updating a layer's modified xData - "AcCmTransparency" to be specific.
Post by: Lee Mac on May 31, 2021, 06:25:35 PM
This thread may be of some assistance - https://www.theswamp.org/index.php?topic=52473
Though, if I recall, I don't think it is possible to force the display to update without closing & opening the file.
Title: Re: Updating a layer's modified xData - "AcCmTransparency" to be specific.
Post by: BIGAL on May 31, 2021, 09:48:38 PM