Results 1 to 3 of 3

Thread: VBA acadtext value calculate and write in table right column

  1. #1
    Login to Give a bone
    0

    Default VBA acadtext value calculate and write in table right column

    Hi. could you help me to this problem.

    item (5) is Number=23, Diameter=12mm, Lenght=545cm
    item (6) is Number=33, Diameter=14mm, Lenght=490cm
    item (7) is Number=45, Diameter=14mm, Lenght=580cm

    That is drawing jpeg in attachment in this massage.

    And I want to select at first item(5) group, and select item(6) group, and select item(7).
    After the selection, want to calculate the 23*545 (125.35) value and print this solution in dia.12 column.
    (this is for first selection. and second is dia.14 column, and third is dia.14 column.)

    all text is different layer in item(5) group.

    Thanks.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,397
    Login to Give a bone
    0

    Default Re: VBA acadtext value calculate and write in table right column

    Can you just put a formula in another table cell to do the calculation?
    C:> ED WORKING....

  3. #3
    Login to Give a bone
    0

    Default Re: VBA acadtext value calculate and write in table right column

    Table is not a acadtable (not exel). I define table with acadpolylines. Table is not important. I defined table to explain my want. My main problem: if selected text1.value is same to text3 ==> write (selected text1.value)*(selected text2.value) in text3's x,y coordinate.

    like that

    text3' coordinate is (x,y)=(10,10)

    Selectonscreen text1 and text2 after

    if text1.value=text3.value than
    iCalc = text1.value*text2.value

    And;

    write that calculation below text3 ( iCalc coordinate might be (10, ).

Similar Threads

  1. today i write code: select one column cad text, then turn to excel
    By 742850517357521 in forum VBA/COM Interop
    Replies: 3
    Last Post: 2015-10-16, 07:05 AM
  2. width table column
    By clovis in forum AutoLISP
    Replies: 1
    Last Post: 2012-01-24, 05:46 PM
  3. Table column varaible
    By RabbitM in forum AutoLISP
    Replies: 2
    Last Post: 2010-11-02, 06:28 PM
  4. read table write list stuck
    By parkerfeldman in forum AutoLISP
    Replies: 2
    Last Post: 2009-02-05, 12:06 PM
  5. Large amounts of linked acadtext not plotting
    By jrichardson in forum Revit - Plotting/Printing/Exporting
    Replies: 3
    Last Post: 2007-02-09, 04:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •