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

control point moves

11 REPLIES 11
Reply
Message 1 of 12
Anonymous
1026 Views, 11 Replies

control point moves

I'm trying to create a dynamic block that will hold an angle with symetry as
its pulled into place. Everything works except that the control point ends
up either ahead of the original placement of it once you start stretching it
up or down.

I have attached the block. The control point is in the middle of the
horizontal line.

Thanks for any help or suggestions.

Debi
11 REPLIES 11
Message 2 of 12
dmfrazier
in reply to: Anonymous

(I hope by now you've solved this yourself, but just in case...)

I notice in your block that there is a point parameter that coincides with the grip on the end of the Height parameter. The point paremeter has no action associated with it.
Message 3 of 12
Anonymous
in reply to: Anonymous


No, I haven't fixed it. Well, sort of. Using trig
I've given multipliers to the ratios but I am not satisfied and its not perfect.
The angle will change marginally and I don't want it to change at all. Since I'
totally new to dynamic blocks, can you explain what you mean a little
more?

 

Thank you!!!


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
(I
hope by now you've solved this yourself, but just in case...)

I notice
in your block that there is a point parameter that coincides with the grip on
the end of the Height parameter. The point paremeter has no action associated
with it.
Message 4 of 12
dmfrazier
in reply to: Anonymous

There's a Point Parameter named "Position1" located at the same point as the startpoint of the Linear Parameter named "Height". (This is why you see two super-imposed grips when using the block, a move/stretch arrow and a position grip. Maybe one of these grips should be turned off.)

In the block editor you should notice that the Point Parameter displays an exclamation point icon. Float your pointer on the icon and the message indicates that there is no action associated with the parameter.

Since I don't really know how you want the block to behave, I can't be sure what this point parameter is for, or what action it should be associated with.

I just noticed another thing. There is a Stretch Action ("Stretch down") that shows when the "ALL" Visibility State is set current, but it doesn't appear in any of the other Visibility States, including the default ("2 IN BUS"). You may want to re-check to see if all the parameters and actions are included in the visibility states they should.

Hope something here leads to a solution.
Message 5 of 12
Anonymous
in reply to: Anonymous


Thank you. I will try these things. I want the
block to be stretchable either up or down but the center point needs to stay in
the center and the angle of separation needs to stay at 30. Basically, its an A
that grows or shrinks. This is my first foray into dynamic blocks so a lot of
your suggestions are new information to me.

 

Are there any good written sources for creating
complex dynamic blocks?

 

Again, thank you for your help.

 

Debi


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
There's
a Point Parameter named "Position1" located at the same point as the
startpoint of the Linear Parameter named "Height". (This is why you see two
super-imposed grips when using the block, a move/stretch arrow and a position
grip. Maybe one of these grips should be turned off.)

In the block
editor you should notice that the Point Parameter displays an exclamation
point icon. Float your pointer on the icon and the message indicates that
there is no action associated with the parameter.

Since I don't really
know how you want the block to behave, I can't be sure what this point
parameter is for, or what action it should be associated with.

I just
noticed another thing. There is a Stretch Action ("Stretch down") that shows
when the "ALL" Visibility State is set current, but it doesn't appear in any
of the other Visibility States, including the default ("2 IN BUS"). You may
want to re-check to see if all the parameters and actions are included in the
visibility states they should.

Hope something here leads to a
solution.
Message 6 of 12
dmfrazier
in reply to: Anonymous

"Are there any good written sources for creating

complex dynamic blocks?"

I don't have any recommendations for you. I learned just by doing. Once you figure out what the parameters and actions do, it's mainly a matter of applying the tools. There's always more than one way to skin a given cat (pardon the gruesome metaphor). If you have trouble with a complex application, this discussion group may be your best resource.

Good luck.
Message 7 of 12
Anonymous
in reply to: Anonymous


That's kinda what I thought. I have found these
newsgroups to be some of the best resources thru the years.

 

Thanks again. ;-D


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
"Are
there any good written sources for creating

complex dynamic
blocks?"

I don't have any recommendations for you. I learned just
by doing. Once you figure out what the parameters and actions do, it's mainly
a matter of applying the tools. There's always more than one way to skin a
given cat (pardon the gruesome metaphor). If you have trouble with a complex
application, this discussion group may be your best resource.

Good
luck.
Message 8 of 12
ddepriest
in reply to: Anonymous

Hello Debi,

I took a look at your block. The problem is not that the grip moves too far it is that the horizontal line and all of the other geometry doesn't move far enough. Draw a line down from the mid point of the horizontal line any distance and then stretch the block down to that line's end point. You will see that the grip ends up on the end point and that the horizontal line is above it. You are on the right track using the trigonometric functions as distance multipliers. Attached is a simplified block of similar design. It should help. It also solves the problem of your horizontal line not streching. Hope this works for you.
Message 9 of 12
Anonymous
in reply to: Anonymous


thank you!!! I appreciate this more than you know.
I am excited to get back to that one so it works right.

 

Is there a particular reason that you limited the
increments of movement?


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
Hello
Debi, I took a look at your block. The problem is not that the grip moves too
far it is that the horizontal line and all of the other geometry doesn't move
far enough. Draw a line down from the mid point of the horizontal line any
distance and then stretch the block down to that line's end point. You will
see that the grip ends up on the end point and that the horizontal line is
above it. You are on the right track using the trigonometric functions as
distance multipliers. Attached is a simplified block of similar design. It
should help. It also solves the problem of your horizontal line not streching.
Hope this works for you.
Message 10 of 12
Anonymous
in reply to: Anonymous


I went back and rebuilt my block using your
parameters as guides. It works beautifully. Thank you.

 

I noticed that you didn't need many of the linear
parameters that I put in there, that was helpful. How did you arrive at the move
action instead of all stretches? It obviously works but I'm looking for a logic
that I can use for the future. 🙂

 

Thanks again. You were an amazing amount of
help.


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
Hello
Debi, I took a look at your block. The problem is not that the grip moves too
far it is that the horizontal line and all of the other geometry doesn't move
far enough. Draw a line down from the mid point of the horizontal line any
distance and then stretch the block down to that line's end point. You will
see that the grip ends up on the end point and that the horizontal line is
above it. You are on the right track using the trigonometric functions as
distance multipliers. Attached is a simplified block of similar design. It
should help. It also solves the problem of your horizontal line not streching.
Hope this works for you.
Message 11 of 12
ddepriest
in reply to: Anonymous

You are very welcome. About the move command- I just tend to use the move command instead of stretch when there isn't an element of geometry that is being stretched in that direction. If there were a vertical line being stretched I would have included the horizontal line in that action, but since there wasn't, I used move. About the increments- I like to use increments or lists to limit how my blocks move. I hate seeing a block that is supposed to have a height in even inches stretched to a height like 3'- 2 19/256". Just a pet peeve.
Message 12 of 12
Anonymous
in reply to: Anonymous


that makes sense. this particular one will have to
vary with the ground heights so I can't have it incrementally limited but I've
used that on others. Its nice. Until you did this one for me I was unaware that
you could set a range. That's a nice feature and I put it to use in this
particular block.

 

Thank you, again. I got so much usable information
from you.


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
You
are very welcome. About the move command- I just tend to use the move command
instead of stretch when there isn't an element of geometry that is being
stretched in that direction. If there were a vertical line being stretched I
would have included the horizontal line in that action, but since there
wasn't, I used move. About the increments- I like to use increments or lists
to limit how my blocks move. I hate seeing a block that is supposed to have a
height in even inches stretched to a height like 3'- 2 19/256". Just a pet
peeve.

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

Post to forums  

”Boost

 

”Tips

 

”Services