• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Dynamic Blocks

    Reply
    Valued Contributor
    Posts: 91
    Registered: ‎07-30-2012
    Accepted Solution

    Got a quick block question

    168 Views, 14 Replies
    11-28-2012 01:26 PM

    Hello, all.

     

    I've got a quick question about this dynamic block I've attached (an Electrical circuit breaker). In schematics, there are times when we want to show three identical breaker symbols stacked upon each other, with a line that connects the midpoints of the arcs. I have already handled creating the array action with a linear parameter to copy the breaker in parallel, as those who open this file shall see.

     

    However, my question concerns the connecting line. When I only need 1 breaker, I would naturally like the line to disappear. And when I have 2 or 3 breakers (signifying two- or three-pole breakers), I'd like the line to connect appropriately. Can I manipulate the line simply by using the same linear parameter coupled with a stretch action? I hope to not have to add visibility parameters to this.

     

    Thanks for all your help.

     

    Chris Martin

    Please use plain text.
    *Expert Elite*
    Charles_Shade
    Posts: 6,976
    Registered: ‎04-10-2005

    Re: Got a quick block question

    11-28-2012 05:26 PM in reply to: Spiritshifterus

    I read that you were not looking for Vis States but how about this?

    Regards, Charles Shade             Win8 FAQ
    CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
    Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
    Please use plain text.
    Valued Contributor
    Posts: 91
    Registered: ‎07-30-2012

    Re: Got a quick block question

    11-29-2012 05:29 AM in reply to: Charles_Shade

    Dear Mr. Shade, thank you for your attempt. However, I only work in AutoCAD 2010, and I am unable to open your file the way it is. Would you please save down your file if you are able to? I look forward to see what you have done.

     

    Chris Martin

    Please use plain text.
    *Expert Elite*
    Charles_Shade
    Posts: 6,976
    Registered: ‎04-10-2005

    Re: Got a quick block question

    11-29-2012 05:37 AM in reply to: Spiritshifterus
     
    Regards, Charles Shade             Win8 FAQ
    CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
    Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
    Please use plain text.
    Valued Contributor
    Posts: 91
    Registered: ‎07-30-2012

    Re: Got a quick block question

    11-29-2012 06:50 AM in reply to: Charles_Shade

    Thank you, Mr. Shade.

     

    I saw how you created the block, and it was done just the way I expected it would have to be done. What I was hoping for, overall, was to simply be able to make the vertical line vanish with a stretch action that reduces the length to 0. Going into this post, I felt that such a trick would not be possible.

     

    I did accept your block as a solution becuase it does solve my problem, and I thank you. With the lookups and the distance parameters, I feel that it might be too much of a hassle to have to remember to change all of the distance numbers each time, especially when someone else in my firm may be asked to change the block or how it is used in a drawing. I apologize if I offended you here.

     

    It just may be best to take a single breaker symbol and use the good old Array command in model space, then draw my own vertical line.

     

    Please have a good day, sir.

     

    Chris Martin

    Please use plain text.
    *Expert Elite*
    Charles_Shade
    Posts: 6,976
    Registered: ‎04-10-2005

    Re: Got a quick block question

    11-29-2012 07:19 AM in reply to: Spiritshifterus

    So the distance between your breakers is not static or is it?

    Regards, Charles Shade             Win8 FAQ
    CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
    Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
    Please use plain text.
    Valued Contributor
    Posts: 91
    Registered: ‎07-30-2012

    Re: Got a quick block question

    11-29-2012 07:45 AM in reply to: Charles_Shade

    Not necessarily, Mr. Shade. Depends on how much room needed between lines for texts & symbols on schematics, plus space constraints on sheets. Things like that. I just wanted to keep the spacing as variable & fluid as possible.

     

    Chris Martin

    Please use plain text.
    *Expert Elite*
    Charles_Shade
    Posts: 6,976
    Registered: ‎04-10-2005

    Re: Got a quick block question

    11-29-2012 07:54 AM in reply to: Spiritshifterus

    I wonder if the line can be infinitessimally small but there so it is barely visible when not arrayed?

    The problem though is that an Array has to be static so there would be no way to change that distance from somthing like you originally posted.

    Regards, Charles Shade             Win8 FAQ
    CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS
    Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
    Please use plain text.
    Distinguished Contributor
    ojuris
    Posts: 140
    Registered: ‎06-08-2010

    Re: Got a quick block question

    11-29-2012 09:26 AM in reply to: Charles_Shade

    hi

     

    how about that version, if you wanna chage distance?

     

    Juris

    Please use plain text.
    Valued Contributor
    Posts: 91
    Registered: ‎07-30-2012

    Re: Got a quick block question

    11-30-2012 06:05 AM in reply to: ojuris

    Dear Mr. Shade and user Ojuris, both of you have done well to help me with this. Thank you.

     

    Mr. Shade, I've attached a new block file below. This CB symbol is rigged that the connecting line disappears as the Distance1 parameter is set to 0, as you were interested in finding out about. All that this file has are the breaker components (arrayed per Distance1), and the connector line (stretched per Distance1).

     

    Ojuris, your block works very well. I was merely hoping that a dynamic block wouldn't have to have been so complex with visibility, lookup, and extra linear parameters (no offense). However, I have a feeling the complexity will be necessary.

     

    Upon opening my new file, you'll see 3 versions of the same block. The green one is Distance1 = 0 (the line vanishes). However, this is not the default state of the block (default state upon insertion is in blue; Distance1 = 0.25 with a line). And in red is when I array the block to show a multiple-pole breaker (Distance1 = 0.5, and the line is extended below the bottom breaker symbol). It would appear that I cannot have my connecting line at a default state of 0 length, for if I did it would be a mere point element that would move and always be invisible (drawn on top of the breaker).

     

    Also, I'd like there to only be one connecting line element instead of two. The reason for this is that in some cases, the line would be displayed in a different linetype, like DASHED or HIDDEN to show a non-physical relation between the breakers. If there is only one line, the pattern would remain consistent.

     

    Now, I will admit that I feel what I ask for is impossible, at least with AC 2010. If you both agree that it can't be done, thank you for your respective time & efforts and feel free to drop the issue.

     

    Chris Martin

    Please use plain text.