Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am creating dimensions. I want to set the Text Fill Color to Background but I have not been able to find a way to do so.
The code below sets the fill color to white. I have tried everything. I believe in .NET it is .UseBackgroundColor = true for text I have not been able to find this for LISP. Somebody please let me know the trick to get the fill color = Background.
(setq dim (vla-AddDimAligned ms pt3dCrossingRw1 pt3dCrossingCL pt3dCrossingCL))
(vla-put-Layer dim "DIM")
(vla-put-Arrowhead1Type dim acArrowArchTick)
(vla-put-Arrowhead2Type dim acArrowArchTick)
;Set text fill color to background
(vla-put-TextFill dim :vlax-true)
(vla-put-TextFillColor dim 7) ; this sets it to white
(vla-Update dim)
Solved! Go to Solution.