TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on January 11, 2017, 11:24:06 AM

Title: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 11:24:06 AM
Hi all,..

i'm trying to set a text height for a specific cell in a AutoCAD Table.
vla-SetTextHeight seem to set only for the entire row..

any direction will be appreciated.
Thank you.
Title: Re: Table TextHeight for specific Cell
Post by: ChrisCarlson on January 11, 2017, 11:56:21 AM
Similar to excel, I do not think you can have cells with different heights within the same row.
Title: Re: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 12:13:01 PM
Yes its possible by changing the textsize in the text editor.
Similar to excel :)

Title: Re: Table TextHeight for specific Cell
Post by: ronjonp on January 11, 2017, 12:14:09 PM
Maybe vla-setcelltextheight ?
Title: Re: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 12:16:52 PM
Maybe vla-setcelltextheight ?

Thank you....I'll try this it seem to be logic.
Title: Re: Table TextHeight for specific Cell
Post by: Andrea on January 11, 2017, 12:18:12 PM
IT WORKED !

Thanks alot !
Title: Re: Table TextHeight for specific Cell
Post by: ChrisCarlson on January 11, 2017, 12:18:47 PM
Oh, sorry misread. Interpreted cell height, not text height.

Code - Auto/Visual Lisp: [Select]
  1. (vla-setCelltextHeight tbl row cell txtheight)
Title: Re: Table TextHeight for specific Cell
Post by: ronjonp on January 11, 2017, 12:29:45 PM
IT WORKED !

Thanks alot !
Glad to help :)