Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Modify attributes in blocks with visibility states that have changed

  1. #11
    Member
    Join Date
    2011-05
    Posts
    10
    Login to Give a bone
    0

    Default Re: Modify attributes in blocks with visibility states that have changed

    Thanks for quick reply.
    I'll explain a little about my block HT-RCBO&RCCB
    I use block with Visibility parameter, a lot of attribute and table parameter to make persist constraint between Attribute and Visibility state. This block work well if I select individual block and choose value base on table parameter.
    Now I want to modify several block by export attribute via ATTOUT command, edit it and import via ATTIN command. Unfortunately, Visibility parameter cannot export so I can't change this parameter.
    I have an idea use TYPE attribute to control the Visibility parameter. After change TYPE attribute and import to AutoCAD ,use LISP command or VBA to update Visibility parameter base on TYPE attribute. But I don't know how to begin
    Please help me, thank you a lots.
    Attached Files Attached Files

  2. #12
    100 Club
    Join Date
    2000-11
    Posts
    140
    Login to Give a bone
    0

    Default Re: Modify attributes in blocks with visibility states that have changed

    I apologize for taking so long to reply. I have taken a look at your drawing and being totally honest I don't have a clue how you can do what I think you want to do. If you are wanting to modify the visibility state of a block already inserted into the drawing I would think that is not possible. You could use the block editor to modify but that would change all the blocks with that name.

    You might be able to do this with the power of VB.NET but I don't really know. What you are doing is way beyond anything that I have ever done. If you haven't already, I would suggest you repost this in the programming discussion group. Try AutoLISP first since that is what you are familiar with. I am sorry I can't help you but if you repost you can probably find help.

    Also if you happen to have a subscription you can post the problem there and they may be able to help you. They don't normally help with programming but they might be able to tell you whether it is possible to do what you are wanting to do. Good luck, Jack.

  3. #13
    Member
    Join Date
    2015-09
    Posts
    4
    Login to Give a bone
    0

    Default Re: Modify attributes in blocks with visibility states that have changed

    easy way to solve this problem please visite

  4. #14
    Woo! Hoo! my 1st post
    Join Date
    2015-10
    Posts
    1
    Login to Give a bone
    0

    Default Re: Modify attributes in blocks with visibility states that have changed

    I know this is an old post, and probably a dumb question, but how would I modify this script to update two attributes? I have a similar issue and I'm only dangerous with LISP, but i need to update two things in a dynamic block. using the example from the original post block file, what if I also want to update the contents of 'UPRATSH' or 'DESC' in the block?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Count visibility states of blocks
    By Wish List System in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2016-06-07, 12:57 PM
  2. Visibility states in blocks
    By Wish List System in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2013-01-23, 04:04 AM
  3. Replies: 0
    Last Post: 2013-01-23, 04:01 AM
  4. Dynamic blocks, Visibility states, Attributes
    By megumby in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2007-08-03, 05:06 AM
  5. Attributes not reading Visibility states correctly
    By Dwane Lindsey in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2005-12-20, 04:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •