CAD Forum ► EN ► AutoCAD ► DB apperance depending on attribute value
Display full version of the post: DB apperance depending on attribute value
Hi there!
I'm wondering if there is a possibility to change block apperance (for example dimensions) by attribute value?
For example lets say that I have DB with just linear stretch and I want
my DB to read stretch value from attribute value. If YES, Then I'm able
to export/import attributes and automaticaly change dimensions of
multiple blocks.
possible?
AC 2012 full EN
BR
Maciek
Vladimir Michl
10.10.2014, 15:25
It won't be possibe just by changing the attribute value but you can use a LISP utility to change the attribute AND the visibility state at the same time. We might be able to add DB visibility states to our "DwgText" import/export utility.
Thx for quick respons VladimirFor now I do not care about visibility state.I've prepared test DB block to show what I would like to achieve.Block
contains two attributes (lenght_att, height_att) and two streatch
actions based on two parameters (lenght_parameter, height_parameter).Because
I have attributes I have possibility to do export/import attribute
data. And I would like sth to read/write attributes value into
parameters value:lenght_att >>> lenght_parameterheight_att >>> height_parameterpossible to do in "DwgText"?uploads/38935/test.dwg[QUOTE=Vladimir Michl]
It won't be possibe just by changing the attribute value but you can use a LISP utility to change the attribute AND the visibility state at the same time. We might be able to add DB visibility states to our "DwgText" import/export utility.[/QUOTE]