Jump to content
alijahed

How do I put 2 visibillity list in one dynamic block

Recommended Posts

alijahed

let me explain it:

Imagine you have 2 objects that you always use them as a combination(like bolt and nut) and each of them has different types. I made dynamic block for each one with a visibility list and put the variation of each in that visibility list and select the one that I need from the visibility list for each and then put them together.

Because they always line-up in a specific point so if you can have a 1 dynamic block with 2 visibility list you can work easier.

I hope I could explain it to you.

 

Thanks

Share this post


Link to post
Share on other sites
dbroada

I haven't found a way to have 2 visibility lists yet. So many times I would like one!

 

Most of our equipment goes in standard boxes which I have visibility states of the side panels (Left, right, none). I now want to add a fan (y/n) so the only way 1 can currently get it to work is (left w fan, left w/o fan, ri... etc.)

 

Let us hope somebody else has found a solution.

Share this post


Link to post
Share on other sites
fuccaro

It is possible to simulate more visibility states with lookup actions -But it claims a lot of work. It is hard to explain so here is a sample: sample.dwg

Share this post


Link to post
Share on other sites
dbroada

You're getting on OK with 2008 then? :D

 

I had thought about using a LOOKUP but didn't pursue it. I can usually find a way around my problems with one visibility parameter but many things would be so much easier with 2 parameters.

 

I can't actually look at your block as I don't yet have 2008 an my machine and trueconvert lost all the dynamic bits.

Share this post


Link to post
Share on other sites
fuccaro

Oh... sorry for creating truble. Monday morning I will save it back.

I work only ocassionally in 2008

Share this post


Link to post
Share on other sites
dbroada

no worries fuccaro! We are on holiday on Monday so I'll be OK 'till then. :D

Share this post


Link to post
Share on other sites
fuccaro

Maybe someone will save it back until that...

Share this post


Link to post
Share on other sites
Cad64

Here I saved Fuccaro's funny little block in 2004 format. :lol:

sample[1].dwg

Share this post


Link to post
Share on other sites
fuccaro

Thank you Cad64. So you tested it. Does it work as expected? Any comments?

Share this post


Link to post
Share on other sites
Cad64

Well, I can see where you were going with the design, but I think the block needs a little tweaking in order to get it working 100% correctly. For instance, I am unable to get the smile, eyes open and the hat all at the same time. The smile turns to sad every time the hat goes on. And every time I make the smile to neutral, the eyes open. I think, in order to call this block a success, you would need to be able to control each of the three items independantly. I think you're on the right track though.

 

I'm going to bed now, maybe I'll try to create my own tomorrow. Unless you get it sorted out before me. :wink:

Share this post


Link to post
Share on other sites
Tiger

Hmm...hat, smile and eyes?? Think I need to check this thing out...:)

Share this post


Link to post
Share on other sites
fuccaro

CAD64

I downloaded the block you saved back. I changed nothing and I can combine the visibility states (in fact: lookup) in every possible ways.

But I have to be honest: in the past I experimented the problem you described. Checking in the block editor it was as it should be -just it refused to function properly while the block was inserted in the drawing.

Probable this is happening because we push AutoCAD to its limits; the soft wasn't designed to work in this way. Probable in a future version we will have a built-in feature for multiple visibility states.

Share this post


Link to post
Share on other sites
Guest Alan Cullen

:lol: :lol: And I have no idea what you are all talking about......:(

 

Oh well, I guess I'll just stick to 2D and standard blocks....and not push acad to it's limits......:D

Share this post


Link to post
Share on other sites
fuccaro

Alan

The benefit of dynamic blocks is huge. In the past I used a big block collection with items arranged in sub folders. Now a dynamic block replaces a sub folder.

But sometimes there are too much possible combinations between the dimensions and a dynamic block will result with too long list of visibility states. This is what I try to do: instead of having a list with 12 visibility states I break it in 3 short lists (two lists containing 2 states each and one list with 3 states).

Thank you for involved yourself in this discussion. Can you please download the block for a quick test? Cad64 reported a bug but it works for me so I try to have more feed-back.

Everybody using dynamic blocks: testers wanted.

Share this post


Link to post
Share on other sites
Guest Alan Cullen

fuccaro.....

 

I will download the block and have a look at it....but not as a tester....as a learner. I have heard so much about dynamic blocks here over the last 6 months...that it is time I upgraded my knowledge....and found out how they work.......I guess I'm about to go into the next phase of my learning curve......:lol:

Share this post


Link to post
Share on other sites
fuccaro

For learning purposes I would not recommend this particular block. It somehow break the standard because I try to make something unusual.

Read these pdf files.

Share this post


Link to post
Share on other sites
Cad64

Ok fuccaro,

I inserted your block into a new drawing and everything works fine. It's only in the original drawing that I encounter the problems that I mentioned before. Maybe you're not pushing the limits, maybe the program is perfectly capable of handling this sort of thing? :D

Share this post


Link to post
Share on other sites
fuccaro

If sometimes it works and sometimes doesn't -for sure this is a big question mark. This block is a joke but can you be sure that other *real* works will always work as expected? Maybe I use a block and it is just fine. I send you the drawing but you can not open it, or (worse) you open it but ... the block state changes from itself!

I expect to see in the next AutoCAD multiple visibility states for the dynamic blocks!

Share this post


Link to post
Share on other sites
dusko

and what is going on with 2 visibility states? any changes in newer version of ac?

nice one fuccaro.

and after two years smiley will help me to solve my problem. :)

Share this post


Link to post
Share on other sites
JBullseye74

fuccaro - Dynamic Block tester here!!

 

Thats great i never thought of linking the lookups to the visibility, it works fine and i have created a sample block using the same technique - I had to create the main visibility list as per usual then link these to a number of Lookups then make the main Visibility parameter invisible. You did the same thing yeah~?

 

:D :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...