CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDB apperance depending on attribute value

 Post Reply Post Reply
Author
Macieto View Drop Down
Groupie
Groupie


Joined: 25.Feb.2009
Location: Poland
Using: ACAD MEP
Status: Offline
Points: 23
Direct Link To This Post Topic: DB apperance depending on attribute value
    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
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2121
Direct Link To This Post 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 - Autodesk Platinum Partner
Back to Top
Macieto View Drop Down
Groupie
Groupie


Joined: 25.Feb.2009
Location: Poland
Using: ACAD MEP
Status: Offline
Points: 23
Direct Link To This Post 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
Originally posted by Vladimir Michl 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
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,203 seconds.