Jump to content

Dynamic Block Problem


Recommended Posts

Posted

I've got a D Block that should be REALLY simple. It's an equipment rack that you can array to the side to add more, and stretch up with a linear parameter to change the overall height of the rack. However, we usually have numbers marking the rack units going up the side of the rack. I know there's no way to make the numbers increment with a dynamic block, so I just took them out.

 

I put in markers so that you could see where the rack units were, but they're not arraying properly!

 

Anyway, I've attached the block, please someone help me out. I don't know if I'm just being stupid, or if there's really something wrong with this thing.

Dynamic Rack no Numbers.dwg

Posted

a couple of obvious problems...

 

the first being that your strtch frame doesn't encompas any geometry. Recreate that and your rack will grow without creating a gap at the bottom.

 

second, you are arraying the top "tick" but it is arraying to the total distance, not the change in distance. Try only having the lowest tick and array that. (Actually, I needed the lowest static plus one to be arrayed.)

 

As for your original problem of numbers, I haven't found a way to do that either but I add an attribute that gets moved. As an example try this. DON'T type in an attribute value and regen after stretching.

 

TG-WDK2_5.dwg

Posted

Hmmm... ok, I'm not sure what happened to my stretch frame, it still works on my own copy of the block, but not when I download it from here. Odd. But, you're right, using the bottom tick instead of the top works!

 

As for the numbers, I think I'm just going to have to leave those out... I don't want to make it more complicated than it has to be.

Posted

Oh my god... this thing is pissing me off. Now, when I try to insert it (either via the tool palette or the I command) it does NOT insert as a dynamic block. I don't get it!

Posted

Ok, now that I've fixed the other problems, can anyone tell me why when I insert this thing the dynamic grips are off in space? The basepoint parameter is where it's supposed to be, and the block is built at 0,0. So what gives? Really? It's been a long day, and I'm THISssssssclose to abandoning this thing.

Posted

I wondered that too. It sounds like some corruption has taken place as the geometry and the grips were not together when I openned your original block - hence my first comment about the stretch frame. I would be inclined to WBLOCK it to a new location and insert that into a new drawing before BEDITing the block making sure everything lines up. It may not work but you can at least pretend you are making progress.

Posted

That's definitely working better! I have no idea how it got so corrupted! Oh well, CAD hates me.

Posted (edited)

Ok... one more question... Why do my block images on my tool palette like NOT EXIST? They're tiny, and I don't know how to fix that without manually drawing and replacing all the images.

 

The second block in the tool palette at the right IS the block you're looking at, and it's saved exactly like you see here.

Screen shot.jpg

Edited by resullins
ETA the actual picture, since I'm a dumb***.
Posted
Oh my god... this thing is pissing me off. Now, when I try to insert it (either via the tool palette or the I command) it does NOT insert as a dynamic block. I don't get it!

 

FWIW - This issue *may* be as a result of your inserting a "bad copy" of the block prior to using the TP, etc..

 

When a block definition already exists within the active drawing, the TP simply inserts an instance of the existing block definition. Same for INSERT command. You'll need to delete the "bad" block, and purge before the "good" block will come in via TP & INSERT. This can also be done programmatically.

Posted

Yup... I got it all figured out. I had a corrupt copy of the block...

 

Now, if I could just figure out how to make the Tool Palette images show up properly, I'd be happy.

Posted

Will Right Clicking, and selecting Refresh Image not work? :unsure:

Posted

Nope... tried that. And there's two that are doing it. It's almost like their extents are set improperly, cause when I open them, they're VERY TINY. But when I actually "ZOOM" "E" they zoom in at the right size.

 

I'm having issues today. Now, I have another problem I can't seem to solve.GRRRRRRRR.... I'm trying to make a dynamic block array another dynamic block. It doesn't work. It worked in my head.

Posted

I'm not sure that I understand the issue with the tool palette thumbnails... the associated image *should* simply be the thumbnail that is last generated the last time the drawing is saved, and has nothing to do with the LIMITS set within said drawing.

 

What happens when you revise the drawing as desired, then drag it (the revised drawing) onto your tool palette in lieu of attempting to refresh the image?

Posted

I don't understand it either. But basically, (you can't see this in my screen shot) you can see a thumbnail, but it's basically one pixel. Like the file has something REALLY tiny in it.

 

I've drug it back onto the tool palette multiple times, and there's nothing there but one dot.

Posted

Last idea(s):

 

Have you tried WBLOCKing the problem drawing to another, and adding that to your tool palette? Even when working from our template, I tend to do this to strip the unnecessary, duplicate data from tool palette source drawings.

 

Have you tried removing the problem item(s) from your tool palette, to include the cooresponding images in the directory, and adding the revised drawing to the tool palette?

Posted

Nope. Tried that, too. Have removed and re-added, have tried resaving with a different file name, nothing.

Posted
Nope. Tried that, too. Have removed and re-added, have tried resaving with a different file name, nothing.

 

Yes, but what about using the WBLOCK command specifically?

Posted

Tried that. No luck. And any image I use that's specified from an image file doesn't show up well enough. You can't see anything.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...