- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Changing equation to result within attribute
Hi,
I have to change quite old reinforcement drawings with bars described using blocks and attributes. The thing is my 3rd party software for AutoCad can make some steel summary, but it cannot handle with equations within attributes. I.e. bar amount has been introduced as 30x3 instead of 90. How can I easily transform attributes from equations to the results?
I've tried export of attributes to notepad, then I've changed each "x" as multiplication symbol into "*" and paste everything to excel. Then I've added "=" as prefix to each equation to get i.e. "=30*3" in appropriate cell. Then I've copied back everything to notepad and imported to dwg file (and overwrited attributes in dwg file). The thing is, that this procedure needs a lot of steps - its easy to make some simple mistakes. Do you have any idea how to solve this problem? The best would be the easiest way to solve each equation within the attribute in AutoCad (and skip a lot of exports/copying/editing etc).
I have attached an example of the block with attributes, where the amount of bars is presented as "SZT. 30x3" and the reffered attribute is
called "SZTUK".
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
for existing drawings using ATTOUT and ATTIN from the ExpressTools is a valid workflow, you might also ask in the customization forum >>>click<<< if anyone has something similar and is willing to share it.
In the future you should split this to 2 attributes, one for size and another one for amount. In that case you can use command _DATAEXTRACTION and run your multiplications directly.
- alfred -
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------
(not an Autodesk consultant)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
ATTIN / ATTOUT - thats what I've done, I'm asking if there exist some shorter way.
Unfortunatelly I can't split this attribute into two separate ones - the current software which makes summation of bars needs exactly 8 attributes with all data like diameter, amount, steel grade etc (and amount should be exactly in one attribute as a value). Years ago we've been using another software, which handled with equations in attributes. Thats why engineers wrote amount of bars on both sides of i.e. the concrete wall as 30x2..