Jump to content

Recommended Posts

Posted

After defining the insertion point of a circle in VBA I would like to add a linear dimension that picks up on the left and right quadrant.

 

It would not be too difficult using the radius and the insertion point to work out the coordinates for the two desired quadrants, but if I could just tell VBA to pick up coordinates a specific distance away from other coordinates I think it would be very useful on future tasks.

 

Anyone know how, or if its possible to do this?

Posted

Well, the easyiest way I would think, based on what you want, would be to just hard code the points in. ie, if you pick 0,0,0 for CenterPoint, you could hard code -3,0,0 and 3,0,0 for the quads (assuming radius of 3). Or you could use ThisDrawing.Utility.PolarPoint and provide the distance and angle

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