- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everyone,
I'm trying to create a pattern in a component that is driven by the overall length of the part, max spacing of the pattern and a variable offset from edge condition. I understand how to create simple ilogic code with parameters that have a variable spacing between features with a constant offset from edge condition. See screen shot below of what I know how to do.
I would like to write some ilogic code that allows me to have a variable offset from the edge of a part with a constant spacing. I want the count to be determined based on the overall length of the part, the spacing between features would be a set value stored in a parameter (like 24") but I want the offset from the edge of the part to be a variable with a set minimum value that it can be. I also need the offset from the edge of the part to be the same on both ends of the pattern. What would that code look like? Screen shot below is what I would like to be able to do.
Solved! Go to Solution.