Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to fix a grip to the midpoint of an arc that changes?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
timgrote
317 Views, 5 Replies

How to fix a grip to the midpoint of an arc that changes?

I’m trying to create a parametric block that looks like a piece of pie. It will be inserted programmatically with initial values and the user will be able to adjust it via 3 grips.  

 

I’m having a hard time figuring out how to fix the radius grip to the midpoint of the arc, it moves when other parameters are adjusted.

 

Also is there a way to make all three grips stretch the radius of the circle?

5 REPLIES 5
Message 2 of 6
hwalker
in reply to: timgrote

I don't have full AutoCAD, so cannot fully help.

However, I would put a rotational "dimension" constraint on the radius line and make it half of the swing.

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 3 of 6
timgrote
in reply to: hwalker

Thanks for the input @hwalker. I'm not well versed in parameters and constraints, so I'm not clear on what you mean by a rotational "dimension" constraint. I tried adding an Angular Constraint Parameter but it wouldn't accept the radius constraint as the second argument. Is there some other type of constraint I should be using? 

 

Snag_1897c383.png

 

I appreciate the time and attention.

Message 4 of 6
j.palmeL29YX
in reply to: timgrote

Try the attached attempt. 

 

>>Click<<

 

A small problem: After inserting the block (or after resetting to its initial values) you can not immediately drag the grip for ang2 (which is used for the rotation of the complete block). Either you have at least once to type a value of ang2 via the properties window or you drag one of the other both grips first. 

(Or with other words: Your first "action" with a new inserted or resetted block must not be to drag the right grip)

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 6
hwalker
in reply to: timgrote

@timgrote Jürgen got what I was trying to say. As I said I don't have full AutoCAD so wasn't quite sure what I was talking about

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 6 of 6
j.palmeL29YX
in reply to: timgrote

Didn't the suggestion >>above<< help you to solve the issue? Or do you have further questions? 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta