Easy way to align view/scale label?

Easy way to align view/scale label?

Anonymous
Not applicable
1,248 Views
21 Replies
Message 1 of 22

Easy way to align view/scale label?

Anonymous
Not applicable

Good Morning All,

Looking for an easy way to align View/Scale labels without having to sketch. Would think there would be an align option like you can align the actual views? Thanks in advance, have a good weekend.

 

-Josh Applegate

Inventor User for 6 weeks and counting!

Inventor 2013

0 Likes
Accepted solutions (1)
1,249 Views
21 Replies
Replies (21)
Message 2 of 22

mdavis22569
Mentor
Mentor

I don't think it's available (I could be wrong, I've never seen the option)

 

 

It also would be difficult to do, with all the different sizes of sizes, while the scale make be the same, the over size of the view may not be.   A vertical section may be twice as tall as the horizontal section next to it.  

 

Then take into the factor, turning off align  makes it another factor to work with...

 

 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

0 Likes
Message 3 of 22

Anonymous
Not applicable

I was thinking along the lines of how you can align a text block by it's top, middle or bottom, that you could align it that way to another text block. Just used to seeing everything nice and neat coming from a civil background.

0 Likes
Message 4 of 22

mdavis22569
Mentor
Mentor

Are you creating your own labels?

 

If so, then yes there is a way.


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

0 Likes
Message 5 of 22

Anonymous
Not applicable

Double clicking the view, replacing the default Label/Scale text with my own Label.

0 Likes
Message 6 of 22

mdavis22569
Mentor
Mentor

Then no I don't....    sorry..

 

Mike


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

0 Likes
Message 7 of 22

blair
Mentor
Mentor

I just use the edges of my monitor as guides. If I need a horizontal guide, a simple pan up or down to get the line of text to the upper or lower edge of the screen makes a good horizontal line. The same If I need to align items vertical, a quick pan to either side will do.

 

It would be nice if there was the same sort of guide lines that quickly appear when working with Adobe's Indesign but then again it's graphics publishing software.


Inventor 2020, In-Cad, Simulation Mechanical

Just insert the picture rather than attaching it as a file
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Delta Tau Chi ΔΤΧ

0 Likes
Message 8 of 22

rhasell
Advisor
Advisor

I also use the  monitor edge. (I have even used a ruler/ or sheet of paper. LOL)

 

Depending on the situation, I sketch a line, eyeball the labels, then delete the sketch.

I also have a the "Align" tools on my RMB menu, so its quick to align the views as well.

 

Reg
2026.1
0 Likes
Message 9 of 22

jlightcapATJL5
Explorer
Explorer

I find the responses amusing as there seems to be little effort engaging the actual problem, as I am finding when I came across it myself. I am fairly new to Inventor and come from a SolidWorks background. They have an alignment tool pallet with 8 to 10 alignment options. You select the two text objects, anywhere on the page, then select the alignment you want. This is what we are looking for.

0 Likes
Message 10 of 22

dan_inv09
Advisor
Advisor

Did you detail in SolidWorks?

 

(If you go back through the forums you would be surprised how many things, especially many years ago [heck, this thread was started 10 years ago], that have been answered, "Nope, you can't." or "Inventor is not AutoCAD" or "... not insert other software here".)

 

Please explore the Ideas forum, vote for suggestions you agree with (related to aligning text or whatever), and if you can not find anything similar to what you would like then create your own post - come back here and link to it so anyone coming across this discussion can find it and vote for it (or if you do find it already suggested, link to that). Thank you.

0 Likes
Message 11 of 22

jlightcapATJL5
Explorer
Explorer

Yes, I detailed in SolidWorks for 18 years. Is there a way to do this? That is the question. I have seen comments where people have to hold a piece of paper up to their monitor for alignment! Seriously? There's no way that this is not an expressed complaint. I posted here because this where the link brought me. Just looking for an answer befitting the title of this thread.

0 Likes
Message 12 of 22

NigelHay
Advisor
Advisor

I've found the same limitation in aligning view labels like you can with other text objects. I have also resorted to using the monitor edges but I also use a free tool called Meazure. It throws an adjustable grid across the screen to help align objects.

Message 13 of 22

jlightcapATJL5
Explorer
Explorer

Thank you. At least there is a tool to help overcome the issue.

0 Likes
Message 14 of 22

dan_inv09
Advisor
Advisor

You could always make a quick sketch with one or more horizontal and/or vertical lines and delete it when the drawing is done, but you are still eyeballing it in the end.

 

Some of these things make me wish I could see what the Autodesk people really expect us to be doing. Just a small assembly with a few parts and maybe a simple weldment or something and then the drawings for all of it.

You know, AutoCAD comes along with Inventor - for the longest time it seemed as if they didn't want to bother so much with drawings in Inventor, I guess because they must have expected it to only be used for the modeling and the drawings to come out of the AutoCAD, the way that lots of people did with SolidWorks and AutoCAD.

Message 15 of 22

rhasell
Advisor
Advisor

You do know that this thread is 10 years old?

Anyway, I now use iLogic to align views and labels. If for some reason or other that does not produce the desired results, I have a simple sketch block of a long single line, which I use as for reference. I just drag it around the sheet and use it for reference. Once done, I delete the block.

Reg
2026.1
0 Likes
Message 16 of 22

chris
Advisor
Advisor

 make sure nothing is aligned, then I'm not disappointed, lol

Message 17 of 22

jlightcapATJL5
Explorer
Explorer

Yes, I am aware and yet, here we are. it still hasn't been addressed...sad.

Would you mind sharing your iLogic so that I could give it a go? I find it fascinating but I am still getting acquainted with how it all works.

 

0 Likes
Message 18 of 22

jlightcapATJL5
Explorer
Explorer

These are the things that I have been wondering but, if the age of this thread is any indicator, hoping that anything will com from our efforts is not worth much I suppose.

0 Likes
Message 19 of 22

rhasell
Advisor
Advisor
Accepted solution

Hi

Here is my most used code. There are two rules. One for the views, and I made a second one for the labels. (For some reason or other it does not work 100% of the time, any improvements to the code will be welcome. I have use snippets found on the forum.

'27.11.2019
'No frills code to align the views along the bottom edge.

Sub Main()
Dim oSSet As SelectSet = ThisDoc.Document.SelectSet
Dim oItems As ObjectsEnumerator = ThisApplication.TransientObjects.CreateObjectCollection
Dim oDoc As Document = ThisDoc.Document
Dim oSelection As SelectSet = oDoc.SelectSet
'If oSelection Is Nothing Then
If oSSet.Count <2 Then
	MessageBox.Show("Nothing selected", "iLogic", MessageBoxButtons.OK)
	Exit Sub
End If
' Dim oItems As ObjectsEnumerator = ThisApplication.TransientObjects.CreateObjectCollection ' Removed for 2.1 as it is now declared earlier
For Each Item As Object In oSelection
	If Not TypeOf(Item) Is DrawingView Then Continue For 'DrawingViews only
	oItems.Add(Item)
Next

oDoc.SelectSet.SelectMultiple(oItems)
oHor_Bott(oItems)
End Sub

'=========================================================================================================
Sub oHor_Bott(oItems)
Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisDoc.Document
Dim oView As DrawingView
Dim oSheet As Sheet
oSheet = oDrawDoc.ActiveSheet
Dim trans As Transaction
trans = ThisApplication.TransactionManager.StartTransaction(oDrawDoc, "Align Views")
'Dim oSSet As SelectSet = oDrawDoc.SelectSet
'For Each oView In oSSet
		Dim oFirstView As DrawingView = TryCast(oItems.item(1), DrawingView)
		Dim YPos As Double
		YPos = oFirstView.Position.Y - (oFirstView.Height/2)
        Dim oPoint2D As Inventor.Point2d
 
		 For Each oView In oItems
            oPoint2D = ThisApplication.TransientGeometry.CreatePoint2d(oView.Position.X,YPos + (oView.Height/2))
           oView.Position = oPoint2D
        Next
trans.End
Dim oDoc As Document = ThisDoc.Document
oDoc.SelectSet.SelectMultiple(oItems)
End Sub

 

Align Labels:

 

'27.11.2019
'No frills code to align the views along the bottom selected Line.
'This is just for a quicker method, as this is the most used command.


Sub Main()
Dim oSSet As SelectSet = ThisDoc.Document.SelectSet
Dim oItems As ObjectsEnumerator = ThisApplication.TransientObjects.CreateObjectCollection
Dim oDoc As Document = ThisDoc.Document
Dim oSelection As SelectSet = oDoc.SelectSet
'If oSelection Is Nothing Then
If oSSet.Count <1 Then
	MessageBox.Show("Nothing selected", "iLogic", MessageBoxButtons.OK)
	Exit Sub
End If
For Each Item As Object In oSelection
	If Not TypeOf(Item) Is DrawingView Then Continue For 'DrawingViews only
	oItems.Add(Item)
Next
oDoc.SelectSet.SelectMultiple(oItems)
Align_Labels(oItems)
End Sub

'=========================================================================================================
Sub Align_Labels(oItems)
Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisDoc.Document
Dim oView As DrawingView
Dim oSheet As Sheet
oSheet = oDrawDoc.ActiveSheet
Dim trans As Transaction
trans = ThisApplication.TransactionManager.StartTransaction(oDrawDoc, "Align Views")
'Dim oSSet As SelectSet = oDrawDoc.SelectSet
'
		Dim oNewPosition As Point2d
		oNewPOS = InputBox("Add Offset?", "Title", 1)
		oNewPOS /= 10
 
For Each oView In oItems
		  oNewPosition = ThisApplication.TransientGeometry.CreatePoint2d(oView.Center.X, oView.Center.Y - (oView.Height / 2)-( 1+oNewPOS))
		   oView.Label.Position = oNewPosition
		Next
        
trans.End
Dim oDoc As Document = ThisDoc.Document
oDoc.SelectSet.SelectMultiple(oItems)
End Sub
Reg
2026.1
Message 20 of 22

jlightcapATJL5
Explorer
Explorer

Wow! Thanks! Now I have a few new toys to play with!

 

Much appreciated!

0 Likes