Mit Unterstützung durch:
CAD.de Login | Logout | Profil | Profil bearbeiten | Registrieren | Voreinstellungen | Hilfe | Suchen >
Beiträge: 619Registriert: 06.06.2001
Inventor 2017Siemens NX 8.5 - 12.0Autocad Mechanical 2017Catia V5R193,4 GHz; 64 GB RAMWindows 10openSUSE Leap 42.3Visual Studio 2010 - 2017Windows 2012 R2Vault 2017
wie kann ich alle Teile / Baugruppen sichtbar bzw. unsichtbar machen? Ich würde dazu gerne die Inventor eigene Funktion nutzen.
"AssemblyAllVisibleDesignViewCmd" / "AssemblyAllInvisibleDesignViewCmd "
Vielen Dank Georg
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP
Beiträge: 2912Registriert: 15.11.2006
Windows 10 x64, AIP 2020-2025
Code:Dim oControlDef As ControlDefinition oControlDef = myInventor.CommandManager.ControlDefinitions.Item("AssemblyAllVisibleDesignViewCmd") oControlDef.Execute()
bzw.
Code:]Dim oControlDef As ControlDefinition oControlDef = myInventor.CommandManager.ControlDefinitions.Item("AssemblyAllInvisibleDesignViewCmd") oControlDef.Execute()
------------------MfGRalf
leider funktioniert das nicht mit Inventor 2013.
Grüße Georg
Dann so:
Code:ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.ActiveDesignViewRepresentation.HideAllThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.ActiveDesignViewRepresentation.ShowAll
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.ActiveDesignViewRepresentation.ShowAll
super damit geht es. Vielen Dank.
Anzeige.:X
Anzeige: (Infos zum Werbeplatz >>)
|
(c)2025 CAD.de | Impressum | Datenschutz