Jump to content

How to create Dynamic Blocks?


Recommended Posts

Hi All,

I'm trying to learn how to create Dynamic Blocks.

I've taken a simple chair block I previously created and am trying to give it the rotate action.

 

Ok, I can get it to rotate but it's not rotating around the center point I set. It seems to rotate around a centerpoint on the edge.

 

What have I missed?

 

thanks

Link to post
Share on other sites

Thanks for the response.

 

So does that mean that even though you set a point for the rotation parameter it doesn't recognize that point but defaults to 0,0?

Seems strange.

 

Does this mean that for all my existing blocks I have to move all of them so that the spot I want as the center of rotation is at 0,0?

Link to post
Share on other sites
Thanks for the response.

 

So does that mean that even though you set a point for the rotation parameter it doesn't recognize that point but defaults to 0,0?

Seems strange.

No, it goes where you put it. You had placed the rotation parameter at something like -12,0
Link to post
Share on other sites

I'm lost.

I just tried it again and get the very same result.

When I place the Rotate Parameter I place it in the center of the chair seat.

So why does it not rotate around that point?

I'm not placing it off to the side.

What am I doing wrong?

Link to post
Share on other sites

Here are my steps:

1. Open existing chair drawing.

2. Tools>Block Editor>Current Drawing.

3. Parameters>Rotation Parameter>click.

4. Specify Base Point: I pick the center of the chair seat.

5. Specify Radius: I arbitrarily pick a point within the chair seat.

6. Specify Default Rotation: 0>enter.

7. Actions>Rotate Action>click.

8. Select Parameter: click on it.

9. Select Objects: Draw selection rectangle around chair>enter.

10. Specify Action Location: I pick anywhere, doesn't seem to matter.

11. Click "Save Block Definition" icon.

12. Close Block Editor.

13. Save Chair drawing.

 

End result: rotation does not occur at chair center. Why?

Link to post
Share on other sites

you should start any block with a sensible insertion point. BEDIT automatically puts the centre of the screen at 0,0. If you use BMAKE without setting the insertion point it will default to 0,0 irrespective of where the graphical details are - a BIG pet hate of mine.

Link to post
Share on other sites

I moved the chair to 0,0 and recreated the Parameter and Action. Everything worked then.

 

I thank-you for your patience and time spent helping me with this.

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