Drawing Centering

Drawing Centering

serhat_akpinaar
Advisor Advisor
475 Views
4 Replies
Message 1 of 5

Drawing Centering

serhat_akpinaar
Advisor
Advisor

Hello,

 

In the drawing environment, how can I get the drawn parts to be in the middle of the drawing page?

 

You can see a sample image attached. How can I automatically get the piece in the top left right in the middle?

 

Ekran görüntüsü 2023-01-03 0933031.jpg

Serhat Akpınar
Bu gönderiyi faydalı buldunuz mu? Bu gönderiyi beğenmekten çekinmeyin.
Sorunuz başarıyla yanıtlandı mı ÇÖZÜMÜ KABUL ET düğmesine tıklayın.

EESignature


0 Likes
476 Views
4 Replies
Replies (4)
Message 2 of 5

NigelHay
Advisor
Advisor

I think that most people would just drag the views into a suitable position. I don't think I would want the initial view to snap into a fixed position as, depending on the part features, you might want additional top/bottom views. I guess if you had a lot of similar parts to draw, you could create a drawing template with a base view in the right place & then use 'Manage-Replace model reference' to substitute the right part but it seems more trouble than it is worth.

Message 3 of 5

blandb
Mentor
Mentor

You could control position and view scale by ilogic if needed.

Autodesk Certified Professional
Message 4 of 5

serhat_akpinaar
Advisor
Advisor

@NigelHay Actually, I'm looking for a command to center all the parts after the details are finished on the drawing page.

@blandb Do you have an iLogic code for this?

Serhat Akpınar
Bu gönderiyi faydalı buldunuz mu? Bu gönderiyi beğenmekten çekinmeyin.
Sorunuz başarıyla yanıtlandı mı ÇÖZÜMÜ KABUL ET düğmesine tıklayın.

EESignature


0 Likes
Message 5 of 5

cadman777
Advisor
Advisor

I've seen various permutations of rules for this in the Inventor Customization forum.

They are all part of a much larger code for 'automatic drawings' and 'automatic drawing views'.

If you go to that forum and search on the key words for this topic, you'll find what you want.

Then you have to test it to make sure it works, and edit it if it doesn't.

That is above my pay-grade, but there are some coders in there who are always willing to help.

 

Basically, what the iLogic rule does is start with the width and length of the boarder (inside the frame), which is fixed for each sheet size (unless you have multiple borders per sheet size). Then it finds the full width and length of the part views (depends on how many views you lay-down). Then it uses those two numbers to find the center of the border and view cluster, and places the view cluster on the sheet accordingly. In the process it calculates the size of the views based on the sheet boarder size and an offset factor from the border edge (width and length) and between views.

 

Here's a very simple example.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator