Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to change table text color by vlisp

1 REPLY 1
Reply
Message 1 of 2
xulan58
1045 Views, 1 Reply

how to change table text color by vlisp

dears 

anybody can help , how to change table text color in lisp?

(vla-SetContentColor acadapp acDataRow  col) 


this word can not make !how to correct ?

 

thanks

1 REPLY 1
Message 2 of 2
Hallex
in reply to: xulan58

You can play wityh this code snippet

  (setq accol (vla-get-truecolor atable))
  (vla-setrgb accol 16 37 66)
  (vla-put-truecolor atable accol)
   (vla-setrgb accol 82 0 0)
   (vla-setcellcontentcolor atable row col accol)

 same way with

vla-setcellbackgroundtcolor

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost