Results 1 to 4 of 4

Thread: Creating riser blocks

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2012-06
    Posts
    1
    Login to Give a bone
    0

    Default Creating riser blocks

    So the company i work for has been creating network diagrams in autocad for years without blocks, attributes or in general any new functions of autocad's since like 2006. i have a bit of free time in one of our slow periods and have been trying to update our system just to make it easier on me. however i am stuck on a specific block i am trying to make.
    1. Is it possible to make two text attributes that are editable as one attribute item? (i need them to say the same thing)
    2. how do i add a text attribute to a move action on a point parameter? (every time i have tried it just ignores it and gives me "1 unlocked AttDef filtered from selection.")
    3. is it possible to run a script of some kind so I can change the text attribute on say a dozen of these blocks so they will start at a specific number and then raise by one in the order i selected them?
    Thanks in advance for the responses.

  2. #2
    Member
    Join Date
    2001-04
    Location
    West Michigan
    Posts
    15
    Login to Give a bone
    0

    Default Re: Creating riser blocks

    Kyle, congrats on your first post! You'll find that there are many helpful folks here and that you'll want to contribute when you see others asking about ground you have covered.

    Sorry I can't speak to q1 or q2, but I have covered a little ground on q3. I don't remember where I stumbled on this code, but it does what you were asking for by setting attribute values sequencially in the order that you pick blocks with attributes. test it out and see if that's what you were after. It is autolisp - just drag it into AutoCAD to load it - that's a quick way to test something. You'll have to call it from the command line with ASQ.

    Hope that helps get you started.
    Ron
    Attached Files Attached Files

  3. #3
    All AUGI, all the time
    Join Date
    2009-01
    Location
    B5
    Posts
    544
    Login to Give a bone
    0

    Default Re: Creating riser blocks

    1. Yes - The second Attrib needs to be the Field Value of the first Attrib. When creating this second Attrib keep its value as nothing other than the Field. Do not assign any numeral or character to it.
    2. Attribs in Dynamic Blocks need to be Locked and are usually so by default. If you are using old Blocks that already had Attribs embedded in them then you will need to Lock these while in the Block Editor (BE). (Click on the Attrib and you will see the option to Lock at the bottom of the Properties window if you have this open.). Not all will behave as you wish when this is done so you may end up deleting and recreating some of the Attribs.

  4. #4
    I could stop if I wanted to
    Join Date
    2004-07
    Location
    Baton Rouge, Louisiana
    Posts
    254
    Login to Give a bone
    0

    Default Re: Creating riser blocks

    can you post the block with the attributes so that those who can help will be able to see. I should have the time to recreate it and i can give u step by step on how create them. that will get you thru steps one and two. step 3 may take me a little time to figure out, and i would need a little more info on how this is applied

Similar Threads

  1. 2009: Blocks, creating and using.
    By alan.123099 in forum AutoCAD General
    Replies: 7
    Last Post: 2012-04-25, 09:35 PM
  2. creating a catalog of blocks
    By earnold in forum Software
    Replies: 1
    Last Post: 2009-08-21, 07:05 PM
  3. creating blocks
    By cheryla in forum Impression - General
    Replies: 1
    Last Post: 2008-11-12, 10:24 PM
  4. Replies: 3
    Last Post: 2006-09-12, 11:17 AM

Posting Permissions

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