How to change the default tab of iProperties

How to change the default tab of iProperties

joao_andradeUNB2Q
Observer Observer
457 Views
2 Replies
Message 1 of 3

How to change the default tab of iProperties

joao_andradeUNB2Q
Observer
Observer

Hi guys, I'd like to know if there's any way to change the default tab when I open the iProperties window. This window always opens in the “General” tab, but I would like it to open in the “Physical” tab. Do you know if there is any way to change this? Thanks in advance

joao_andradeUNB2Q_0-1737035616008.png

 

0 Likes
458 Views
2 Replies
Replies (2)
Message 2 of 3

japike
Collaborator
Collaborator

I've never seen a way to do that but, it could be useful. You might want to throw it up on the Ideas forum - https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232 

Peace,
Jeff
Inventor 2024
Message 3 of 3

Tony_Yates
Advocate
Advocate

You can do it with ilogic, I have it set on my marking menu so superfast to get to.

 

 

 
Imports System.Windows.Forms

Sub Main()

	doc = ThisDoc.Document
	'check file type
	If doc.DocumentType = kPartDocumentObject Then
		oCmd = "PartiPropertiesCmd"
	Else If doc.DocumentType = kAssemblyDocumentObject Then
		oCmd = "AssemblyiPropertiesCmd"
	Else If doc.DocumentType = kDrawingDocumentObject Then
		oCmd = "DrawingiPropertiesCmd"
	End If

    Dim oCommandMgr As CommandManager 
    oCommandMgr = ThisApplication.CommandManager 
    Dim oControlDef As ControlDefinition 
    oControlDef = oCommandMgr.ControlDefinitions.Item(oCmd)

    Call oControlDef.Execute2(False)
	
	
	'1 = Summary Tab
	'2 = Project Tab
	'3 = Status Tab
	'4 = Custom Tab
	'5 = Save Tab
	'6 = Physical Tab
	
	
	'opens to Custom tab ( send "right arrow" key 6 times)
    SendKeys.SendWait("{RIGHT 6}")
	ThisApplication.UserInterfaceManager.DoEvents()

End Sub