Author Topic: Routine to extract TAG values  (Read 1431 times)

0 Members and 1 Guest are viewing this topic.

antistar

  • Guest
Routine to extract TAG values
« on: October 23, 2012, 10:05:56 AM »
Hi masters,

I need to help to extract TAG values.
I have a lot of inserted blocks in drawing with name "BMODEL".
This block have 7 tags: TA, TB, TC, TD, TE, TF, TG.
The routine must:
- Compare TA values;
- If these values are equals, extract lists of TC values on Textscreen.

For example:

TA = metal
TC = 100, 175, 200, 215...
---------------------------------------
TA = wood
TC= 115, 125, 250, 400...
---------------------------------------
TA = glass
TC= 110, 135, 210, 350...

Thanks in advance.

Lee Mac

  • Seagull
  • Posts: 12905
  • London, England
Re: Routine to extract TAG values
« Reply #1 on: October 23, 2012, 11:10:24 AM »
Consider using my Nested Assoc++ function; for your example, you would pass a list of TA & TC values as the 'key' argument.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Routine to extract TAG values
« Reply #2 on: October 23, 2012, 12:26:41 PM »
What about DATAEXTRACTION??
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

antistar

  • Guest
Re: Routine to extract TAG values
« Reply #3 on: October 23, 2012, 02:20:20 PM »
Consider using my Nested Assoc++ function; for your example, you would pass a list of TA & TC values as the 'key' argument.

Hi Lee,
Thanks for your attention.
I will study your routines.

Best regards.

antistar

  • Guest
Re: Routine to extract TAG values
« Reply #4 on: October 23, 2012, 02:28:14 PM »
What about DATAEXTRACTION??

Hi Matt W,
DATAEXTRACTION is a good tip for what I want to do.
Do you know how to upload a file via LISP?