PDA

View Full Version : How to make a Dynamic Block



stephen.coff
2005-12-17, 02:02 PM
Guys,
If there is anyone out there with knowledge in this area that would be patient enough to assist me, i'm a little slow.
I decided today to look in to dynamic blocks and how i can use them, hell what they even are ? Never seen one let alone tried to make one.
Well i couldn't really find much, well anything with much detail on how to create a dynamic block from scratch. Well i have been making a lot of blocks lately for my tool palette so when it came to making a block of a cooling tower from a catalogue, i figure this could be a great place to make a dynamic block. The models range simply change width and depth and a vary of fan and intake pipe sizes. so i figured i could make one model and set it up as a dynamic block to vary the sizes to cater for the complete range.
So i've drawn up the first model and from here tried to make the dynamic functions ?
Seem to have got very close to perfecting it but not close enough, errrrrrrrrrgh!
It's really starting to $#&^%^(* me off.
The first function is to stretch the width of the tower to the left.
Step 1: I select the "Linear Parameter" icon and give it a name and a label name, not sure what the "Chain" function does though i selected "Y". I give a "Description", set the "Base" to "S" and set the "Palette" to "Y". I open "Value Set" and use the "List" function, from here i put in 500,600,775,825 and press enter (these are the additional widths the rest of the range has on my block).
Step 2: I selct a "Start Point", i have selected the outter edge of the tower. This point would be the "0" point for which the "List" values refference. I am not sure if the end point has much relevance if there is a list of set values ? I set the "End Point" to the last distance "825". I now set the label location.
Step 3: I select the "Stretch" icon and then select the parameter. I set the "Start Point" to the outter most grip ? not sure if this is right. Here i cast a window around the area to be stretched and then selct the objects to be stretched, i select the location for the icon.
Step 4: I select the "Look Up" icon and locate it in the sheet, i grab the "Look Up"action and selcet the "Look Up" parameter. Now i open the action and add the property, from here i select each one of the "Listed Values" in an input column and then "ok".
I save the the block dffinaitions and close the editor.
Step 5: I insert the block and selct the block, i select the outter grip and try to stretch the block out wards as intended. Without any luck the block will stretch, though inwards and it doesn't seem to be in the sized increments or atleast in the order as i have input them ?

I am really sorry for the text, but if anyone could assist and tell me where i am going wrong i would greatly appreciative it.
Better still if anyone could direct me to some detailed info on making dynamic blocks, that would be greatly appreciated as well.

Regards

Stephen

Opie
2005-12-17, 03:01 PM
Have you tried this thread (White Papers on Dynamic Blocks)?

Also, can you post the dynamic block you have created so far? Someone here may be able to take a look at it and help you out.

HTH

stephen.coff
2005-12-18, 12:27 AM
Richard,
I have read Shaun's blog on Dynamic Blocks though it hasn't helped me rectify my problem.

I have attached a drawing with a "Stretch" function. I was trying to set it variable distances to stretch to the left of the tower. I am trying to stretch every thing left of the fan which is the circle in the center of the drawing.
The variables should be 500,600,775,825mm from the exterior blue rectangle which is the outline of the towers exterior. It seems as though i haven't been successful getting the "Parameter" and "Action" linked as there is still an exclaimation mark ? Secondly the block does stretch which is a good sign that somethings actually happening, though it only stretches inwards. I want it to stretch outwards of the grip.

Anyway, If you could have alook and pick the **** out of it. I wish to know every little thing wrong so i can get it spot on.

Thanks heaps

Stephen

stephen.coff
2005-12-19, 07:33 AM
Guys,
Though i was a little suprised that 20+ people had read the thread and no assistance, I have resolved the problem. I have tried the same functions at work and they worked as i expected them to.
I have to check my computer at home, it was doing strange things and nothing like i am getting on the work computer doing the exact same functions, maybe i have a virus ?
Anyway, ignor the thread.

Regards

Stephen

Chris.N
2005-12-19, 03:10 PM
Guys,
Though i was a little suprised that 20+ people had read the thread and no assistance, I have resolved the problem. I have tried the same functions at work and they worked as i expected them to.
I have to check my computer at home, it was doing strange things and nothing like i am getting on the work computer doing the exact same functions, maybe i have a virus ?
Anyway, ignor the thread.

Regards

StephenHey man! Cut us some slack for asking a question like that on a Friday! :razz: I'm glad it is resolved. My home 'puter is still waaaaay behind the times, so I wouldn't have been much help when I looked on Saturday.

stephen.coff
2005-12-19, 07:14 PM
Cnibbe,
Thats cool, no offence was ment.
Usually when i make a post no matter what time, i get a reply within an hour.
The very quick responce time is excellent. Sorry it wasn't ment as it sounded.

Regards

Stephen

adamdennaoui
2006-08-24, 01:06 AM
Hi Stephen
I'm new to ths forum and would like to contribute to your question. I recently came across a cool set of Dynamic Block video tutorials (FREE) from "http://www.dgcad.com/Acad2006-DynamicBlocks.htm". There is 5 free tutorials for ACAD2006. There are other free tut's there also. Check them out.

Regards
Adam