How to Center and correctly position manually created dimensions using iLogic?

How to Center and correctly position manually created dimensions using iLogic?

sohaib.as01
Advocate Advocate
991 Views
2 Replies
Message 1 of 3

How to Center and correctly position manually created dimensions using iLogic?

sohaib.as01
Advocate
Advocate

Hello everyone, thats probably a simple and straight forward question but I searched alot about it and couldnt find any right answer for my problem.

So, I have created a drawing which has views which can change based on user input parameters, based on that my iLogic code automatically scales the views to adjust within the sheet which is working as it should.

But what happens when views are rescaled is my dimensions gets disturbed. They either gets placed deep inside the view to too far from it based on scaling up and down respectively.

I have found a code within Inventor help which can center all the dimensions in the sheet by running a loop, identifying dimensions in the active sheet and then centers them, thats half of my problem solved, but I also want my dimensions to be placed at a particular distance from my view, so that each time scale is changed, dimensions remain at that distance from the view, is that possible using iLogic, I know it should be but i juts dont know how.

Thank you 🙂

0 Likes
Accepted solutions (1)
992 Views
2 Replies
Replies (2)
Message 2 of 3

FINET_Laurent
Advisor
Advisor
Accepted solution

Evening,

 

This might help ?

 

https://forums.autodesk.com/t5/inventor-customization/ilogic-select-all-dimensions-and-arrange/td-p/...

 

Regards,

 

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes
Message 3 of 3

sohaib.as01
Advocate
Advocate

Yes, thank you, this thread helped what I was looking for. Much appreciated :))