Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

problem Field row table

$
0
0

hello again¡¡¡¡

 

I continue with my problems.....

 

I get attribute value from block and put it in a list:

 

(repeat (setq cnt (sslength sset))
      (setq attValue (GetAttributeValue (ssname sset i) "tag1"))
       (setq attValue2 (GetAttributeValue (ssname sset i) "tag2"))

    (setq tlst (list  attValue attValue2))

      (setq lst (cons tlst lst))
       (setq i (1+ i))
      )

 

When I try to put them in a table...

 

 

 (foreach item lst
        (vla-setText mytable
                     row 0
                      (last item)
                    )
        (setq row (1+ row))
      )   

 

 

only put  one ( attValue2) at column, and i like  put 2 values, each one in a column in the same row

 

some help?

 

 

sorry for my english.....

 


Viewing all articles
Browse latest Browse all 14319

Trending Articles