- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have an ilogic rule I snagged to add a ratio to every dimension in the parameters list, creating a part which is truly scaled. This changes the physical sketch dimensions, which is great in case I want to modify the actual dimension after the scaling; I found it more difficult with Inventor's organic scaling. Problem is, I did a lot of "1+1/4" improper fractions, which is an issue. For instance, when scaling the part to 1/2, it inserts the ratio at the beginning of the equation, thus what should be .5*1.25=.625 comes out as .5*1+1/4=.75. I could manually enter parentheses, but I have close to 3000 dimensions to go through, and I should probably get a handle on ilogic anyways. This is for a single part file.
I simply need to make a formula which inserts a forward parentheses at the beginning of each parameter and a rearward at the end. At first I was thinking it was simple, and maybe there's a simple way of doing it, but I'm having the worst luck trying to extract the parts I need from the parent equations. The end result would call up each dimension and turn 1+1/4 into (1+1/4).
My head spins when I get too far into iLogic. If it's not too much trouble, I could use a push in the right direction.
Thanks guys.
The rule I'm using for scaling was taken from here:
Solved! Go to Solution.