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

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.


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


Global Moderator

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Ad Machine 


Return to Dynamic Components

Who is online

Users browsing this forum: No registered users and 1 guest

Visit our sponsors: