Dynamic component function

Dynamic component function

Postby johntwiname » Sun Feb 22, 2015 2:58 pm

I want to have LenX positioned on a grid, so when I move the component it snaps to the nearest grid line I am using a 600 mm grid. Any ideas. I have
=current("LenX") to read my position, but want to glue to grid lines

Does anyone have a solution
0

johntwiname 
Premium Member
Premium Member
 

Re: Dynamic component function

Postby Jim » Tue Mar 10, 2015 9:50 pm

Hi John,

LenX is a size, but you said "move" and position which is a little confusing. Do you want to have the component snap to a position, or snap to a length when scaled?

If you want the position to snap to a grid, you would use the X, Y, or Z attribute.


Maybe:

X: =floor(current("X"), 600)

2015-03_244.png
0
Hi

Jim 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Dynamic Components

Who is online

Users browsing this forum: No registered users and 0 guests

Visit our sponsors: