Rearrange VIEWS in drawing

Rearrange VIEWS in drawing

Anonymous
Not applicable
1,947 Views
5 Replies
Message 1 of 6

Rearrange VIEWS in drawing

Anonymous
Not applicable

Hi everybody,

Is there any way to rearrange VIEWS in drawing? For example, I want to put VIEW3 on top of VIWE2.

Thanks.

0 Likes
1,948 Views
5 Replies
Replies (5)
Message 2 of 6

-niels-
Mentor
Mentor
Only method i'm aware off:
Create new sheet > drag views to new sheet > drag views back to original sheet in desired order.

Hope it helps.

Niels van der Veer
Inventor professional user & 3DS Max enthusiast
Vault professional user/manager
The Netherlands

0 Likes
Message 3 of 6

Cadmanto
Mentor
Mentor

Might I ask why the order in the browser matters?  Isn't the way they look in the drawing the most important?

No one sees the browser except the one editing the drawing.

Just curious.

 


Windows 10 x64 -16GB Ram
Intel i7-6700 @ 3.41ghz
nVidia GTS 250 - 1 GB
Inventor Pro 2020

 

Best Regards,
Scott McFadden
(Colossians 3:23-25)


0 Likes
Message 5 of 6

bbrownXJGFR
Contributor
Contributor

@Cadmanto, I just ran across this old post, but I though I would chime in. For me personally, it matters because the first view listed in the browser dictates the scale of the sheet in my title block. All views with differing scales have them listed in the view label whereas views matching the sheet scale listed in the title block do not need this.

 

Even without this, though, I would want my views to be arranged in alphabetical order if possible as well. If we can re-order things in the assembly browser, why not here as well?

 

Thanks!

Message 6 of 6

ilyas_drawbridge
Advocate
Advocate

Hi all,

 

I had to do a similar thing because my title block reads the mass of the primary view. I wrote a code to move the views to a dummy sheet and then back to the original sheet with the selected view at the top. Projected views lose their alignment, but can be fixed by reapplying the alignment. Here's the code for those who are interested.

 

Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
Dim currentSheet As Sheet = oDoc.ActiveSheet
	
For Each oObject As Object In oDoc.SelectSet
	If Not TypeOf oObject Is DrawingView Then Continue For
	Dim oPrimaryView As DrawingView = oObject
	Dim dummySheet As Sheet = oDoc.Sheets.Add()
	
	oPrimaryView.MoveTo(dummySheet)
	For Each oDrawingView As DrawingView In currentSheet.DrawingViews
		oDrawingView.MoveTo(dummySheet)
	Next
	
	For Each oDrawingView As DrawingView In dummySheet.DrawingViews
		oDrawingView.MoveTo(currentSheet)
	Next
	dummySheet.Delete
	Exit For
Next

 

Of course it'll be great if we could just drag and drop from the browser.

 

Regards

Ilyas