DB apperance depending on attribute value
Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10728
Printed Date: 29.May.2026 at 17:16
Topic: DB apperance depending on attribute value
Posted By: Macieto
Subject: DB apperance depending on attribute value
Date Posted: 10.Oct.2014 at 15:15
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
------------- ACAD MEP 2009 EN SP3
|
Replies:
Posted By: Vladimir Michl
Date Posted: 10.Oct.2014 at 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.
------------- Vladimir Michl (moderator) ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner
|
Posted By: Macieto
Date Posted: 10.Oct.2014 at 16:11
Thx for quick respons Vladimir
For 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_parameter height_att >>> height_parameter
possible to do in "DwgText"? uploads/38935/test.dwg" rel="nofollow - uploads/38935/test.dwg
Vladimir Michl wrote:
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. |
------------- ACAD MEP 2009 EN SP3
|
|