Jump to content

How to get a portion of a block to rotate about a center point


Recommended Posts

Posted

So I have a block which contains a 2 objects, a circle with a crosshair and then a split line. I want to be able to move the line and when I do so, the line is still pointing at the center of the circle. How would I accomplish this? Is it something with a rotation command or a constraint? Thanks for any help all. 

example.png

Posted (edited)

Create a block with those objects. Go into the block editor. Pull up the dynamic block toolbox. Create a Rotation parameter centered on the circle. Create a Rotate action that includes the split line. Save and you're done.

Edited by CyberAngel
Posted

Try search here "dynamic rotation" there is definitely  a couple of posted block examples, one with an arrow comes to mind.

 

Found here is the block I do apologise re author I know it was a post here. I think by Lee or Steven-g.

Block dyn arrow.dwg

Posted

@BIGALI don't remember it, but it could have been an answer to a post from way back. Found it, you are correct as usual it was @Lee Mac posted here at the end of last year

Posted
14 hours ago, CyberAngel said:

Create a block with those objects. Go into the block editor. Pull up the dynamic block toolbox. Create a Rotation parameter centered on the circle. Create a Rotate action that includes the split line. Save and you're done.

I've done that but all that seems to do is create a point to rotate the line about, what am I doing wrong. Here is the file for your reference. line length example.dwg

Posted

I appologise I replied to @BIGALwithout really reading your question properly. The dynamic action you require is a polar stretch this will allow you to move the split line anywhere you want including away from the crosshairs but keep it pointing at that crosshairs.

line length example.dwg

Posted
2 hours ago, nj1105nj said:

I've done that but all that seems to do is create a point to rotate the line about, what am I doing wrong. Here is the file for your reference. line length example.dwg

 

Okay, I misunderstood the question. You want to move the split line to an arbitrary location, not a fixed distance from the center of the circle. My block-fu is not up to the challenge. Sorry.

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