AutoCAD Inventor :: Drawing View Component Visibility
Nov 8, 2011
I am using this code to turn visibility of components off in IDw file, what I need top turn visibility of a component of in a subassembly.
'oDrawingDocument = ThisApplication.ActiveDocument
'Get the first view
'Dim oView As Inventor.DrawingView
'oView = oDrawingDocument.ActiveSheet.DrawingViews.Item(2)
[Code] .........
View 2 Replies
ADVERTISEMENT
Oct 11, 2011
In my neverending battle to find a way to turn off unneeded components in an assembly, I'm trying my hand at modifying component visibility with a custom View Rep. View reps seemed to pose fewer issues than LOD's (in that you can have a drawing and model open at the same time without a million error messages)......until I tried to make a pattern.
When first placing a new subassembly component into an assembly, it will automatically place in the "Last Saved" View Rep. Since certain parts may be invisible in my "skeletal" subassembly, this is ideal. HOWEVER, when I try to pattern this subassembly, all of the occurrences absolutely insist on displaying at the "Master" View Rep. This makes no sense to me whatsoever and destroys yet another workflow at the 99% mark. I understand that I can change the view rep manually, but manual workarounds and corrections defeat the point of using iLogic to manipulate our models.
Am I the only CAD user who wants the simple ability to "turn off" an assembly component? iAssemblies are not an option due to the shear number of combinations of unneeded components.
View 4 Replies
View Related
Sep 24, 2012
Im trying to catch the event when the user selects a component in a drawing view using
CommandManager.UserInputEvents.OnContextMenu += UserInputEvents_OnContextMenu;
But it seems that the onselect event only catches selection of drawing views or balloon, annotation etc, but not the component inside the drawing view is this intentional or a bug?
The reason i need to catch this is to make a new context menu action, so i need the selected item. I know i can use SelectionSet, but i want to be able to debug my application as an external application connecting to the running instance before i build it into an addin (saves me a lot of inventor restarts..) And Selection Set does not seem to work when i use it inside an event handler in an external application...
View 3 Replies
View Related
May 23, 2013
I am working on a project to assign balloons to components in drawing view automatically. Of course, I don't want to assign a balloon to a component which is invisible (hidden) in this drawing view.
So, is there any API function to check whether the component in the drawing view is invisible or hidden?
View 2 Replies
View Related
Sep 16, 2011
I'm creating a small product configurator using ilogic. It all works fine, but i've i challenge:controlling the visibility of the components in a drawing view
In simple words, every occurrence of my assembly has an custom Ipropertie calles "Positie". there where 4 values (Bodem, Zij, Kop, Deksel and Overig)In a drawing view i only want to see the parts that has a specific value of the ipropertie "Positie".I found a sample code for VBA, but I cann't get it worked in ilogic.:
Sub HideSecond()
'Assumes you have an open drawing
'Assumes that view 1 of the active sheet is an assembly
'Turns off visibility of assembly's second component in open drawing's first view
[code]....
hind to turn this into ilogic and add the option to check the ipropertie to turn on the visibility
View 6 Replies
View Related
Jan 5, 2010
Can this be done? I want to go through the DrawingView Object to get at a subcomponent of an assembly and either set that component to have hidden lines (where needed) or no hidden lines.
View 8 Replies
View Related
Mar 21, 2013
I'd like to set up a keyboard shortcut so that when I press the 'V' key, inventor toggles the visibility of the selected part or assembly. However, "Visibility" seems to be about the only command that doesn't exist in the list of keyboard shortcuts*. I found this post in which someone says it's not possible, but might be using VBA. I've done some iLogic but know nothing about Inventor's inner-working VBA. I'm wondering if there's some workaround, VBA or otherwise, that'll allow me to toggle visibility using the 'V' key.
*actually it does but it says it's only available for use in Inventor Studio. Go figure.
Using: Autodesk Inventor 2013 Product Design Suite
View 2 Replies
View Related
Feb 18, 2013
Why the visibility cannot be toggled on/off in drawings? Why the visibility selection is greyed out?
View 9 Replies
View Related
Aug 21, 2013
I am looking for a way to create an external rule that will allow me to turn off the visibility of bolt generator items in the model while I am looking at the drawing. Bolts may be buried several subassemblies (4 - 6) deep.
View 6 Replies
View Related
May 30, 2013
what code I would use in an assembly if I want to enable and make visible certain parts depending on the positional rep I am using.
Basically I am having trouble reading the pos rep into an iLogic code
View 5 Replies
View Related
Oct 11, 2011
I want to turn off visibility of certain parts in an overlay view but when I right click on the parts or the view(s) the visibility is greyed out. Why does this happen and how can I correct it?
Inventor 2013
Windows 7 Professional 64-bit SP1
HP EliteBook 8470w
Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Memory: 16 GB
AMD FirePro M2000
3D Connexion SpacePilot
View 3 Replies
View Related
Sep 12, 2013
My coworker gets this error:
He makes a detail. In the enlarged view he makes a sketch. He then makes a break out. Within the enlarged view, in the gap which the break out opened up for clarity of the view, are two components that he wishes to make its hidden lines visible. Doing this locks up his machine and makes a single component turn red.
Dell Precision T3600 - Windows 7 SP1, 64x
16GB RAM, NVIDIA Quadro 2000 (driver 9.18.13.3165)
Inventor 2013 SP2 Update 2
AutoCAD 2013 SP2
Vault Collaboration 2013
3DConnexion SpaceNavigator
View 5 Replies
View Related
May 7, 2012
How to manage the visibity of parts on a particular view? For example, in a view there 10 parts appeared. I would like to make only selected parts visible on the said view.
I have the manual steps on how to hide them but when I try to code it using the said step, the parts on the model file were hidden not in the view.
I use oView.ReferenceDocumentDescriptor.ReferenceDocument in traversing the parts but this refers to the model file.
Here is my
Set ViewDocument = oView.ReferencedDocumentDescriptor.ReferencedDocument
For Each ViewOccurence In ViewDocument.ComponentDefinition.Occurrences
If Not nozzleName = ViewOccurence.ReferencedDocumentDescriptor.DisplayName Then
ViewOccurence.Visible = False
End If
Next
View 8 Replies
View Related
May 10, 2012
How to manage the visibility of components in a particular view?
In attach file,View 2 is a detail view of view 1. On view 2, I want to display only the nozzle (Drain (H):1) and shell (C1306388341:1) component. So I need to set the visibility of the other component to false.When I try to code this, the components of model file of view 1 was updated not the view.
Set ViewDocument = oDetailView.ReferencedDocumentDescriptor.ReferencedDocument
For Each ViewOccurence In ViewDocument.ComponentDefinition.Occurrences
If nozzleName <> ViewOccurence.ReferencedDocumentDescriptor.DisplayName Then
ViewOccurence.Visible = False
End If
Next
The reference document I set for my code is not the document which contains the view 2. So I need to the actual reference document where view 2 belongs which is in the box of view 2 that contains 5 components.
View 2 Replies
View Related
Feb 9, 2012
Is there code for changing the color (or other properties) of the visible edges of a component in a drawing view, the same way I can do it manually by right-clicking a component and choosing Properties?
I wrote this rule to change the color of each individual drawing curve:
Edit: Ignore the "<!". It's the only way I could get the iLogic code to successfully post in the message
Spoiler (Highlight to read)<!Dim drawViews AsDrawingView
For Each drawViews In ThisApplication.ActiveDocument.ActiveSheet.DrawingViews
occ3 = drawViews.ReferencedDocumentDescriptor.ReferencedDocument.ComponentDefinition.Occurrences.ItemByName("GF_Plenum:1")
Dim newColor3 As Color
newColor3 = ThisApplication.TransientObjects.CreateColor(0,255,255)
[code]....
View 2 Replies
View Related
Aug 22, 2012
I have a blown out detail on one of my Inventor drawings, I would like to toggle the visibility of some parts in this detail view however when I RHMB these under the browser I can't turn off the visibility
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
View 2 Replies
View Related
Sep 5, 2012
I have a section view of an assembly. The parts of the assembly that are completely remove via the section no longer show up in the browser. Is there a way to make them show back up in the browser and/or section view? They are internal to the assembly and I would like them not sectioned/removed from the view.
View 3 Replies
View Related
Jun 18, 2012
I'm in the process of creating an exploded view of an assembly. I'm having to do this in a presentation file, and I was wondering if it was possible to section one of the parts in the exploded view. To be more specific, I have the majority of my parts spread out around another assembly in the center of the page. I want to get a three quarter section view of the center assembly so the internals are visible. Is this possble from within a presentation file and if so, how can it be done?
Inventor Professional 2013
Intel Xeon W3680 @ 3.33Ghz
12GB DDR3 RAM
NVIDIA Quadro 2000 GPU
Windows 7 Professinal 64-bit
View 2 Replies
View Related
Mar 22, 2007
I created a IPN from an IAM for an exploded view. When I put the base view of that exploded assembly into a drawing, one of the main components is invisible. So when I mouse over the edge of the view, the bounding box does not even reach high enough to possibly include this component. All other components are visible in their correct exploded positions. I tried deleting the view and placing it again, but it does the same thing. The colored and shaded preview just before view placement shows all parts where they should be.
View 4 Replies
View Related
Jan 13, 2014
I have an assembly with a client feature that contains client graphics. I have exposed the visibility (ClientFeature.Definition.ClientGraphicsCollection[1].Visible) to the user via a context menu option. Changing the visibility currently affects all view representations. Is there a way to associate the visibility with each design view representation?
View 5 Replies
View Related
Oct 4, 2011
It happens sometimes, when I try to turn off the visibility of a part in a created view, the option is grayed out, can't uncheck visibility. Whats the reason?
View 4 Replies
View Related
Jul 18, 2013
When a drawing view is made within Inventor from a presentation file (.ipn) some of the parts sometimes donot appear as properly visible.
I have attached some screen shots which might lead to some clues.
View 5 Replies
View Related
Dec 8, 2011
I have a sketch on a component. That component is being used in an assembly. The assembly drawing (.idw) does not show the sketch on that component. I have made them visible on the component, but don't want it visible on the assembly model. (only the assembly drawing)
View 1 Replies
View Related
May 20, 2010
Since changing to Inventor I seem to be unable to turn off visibility of parts in assemblies on a drawing. Usually I just expand the view in the browser then right click on parts and turn off visibility. When I try this the visibility option is grey.
View 5 Replies
View Related
May 6, 2013
Is it possible to have the parent view for the section in one drawing and the child views in another drawing?
View 2 Replies
View Related
Sep 27, 2013
After upgrading to Inventor 2014 we notice that the graphics do not work properly, and that the overall performance in drawings and modelling bad compared to 2013. Then we installed SP1 and now drawing views are disappearing, however when we select "shaded" view the view reappears and works perfectly..
Any workaround regarding disappearing views?
View 3 Replies
View Related
Oct 1, 2012
Drawing based on .ipn shows (should not show) surfaces used to trim, even their visibility are turned off.
Drawing is normal if based on .iam.
Only one part of the assembly is the problem. Other parts, also with trimming surfaces, are shown normal.
Please see images in .pdf attached.
View 2 Replies
View Related
Nov 25, 2008
Each time when I place a part in base view, have to follow few steps; go through view label, format Text, than choose type option - [Properties-Model] and its property - [Part Number], than placing dimensions. it takes long time and very repetitive, especially, when placing a hundreds of parts and I was wondering if there is an option, to set up view label; [Properties - Model ]& [Part number], as a DEFAULT. So, each time placing a part, in base view it will come up with correct label. Also, overall dimensions, can it be retrieve using parameters of the part?
View 4 Replies
View Related
Jan 26, 2012
We are having an issue when we replace a component in Inventor Pro 2012. When we replace a component, the name in the browser does not update to the new component. We've even tried to close and re-open the Inventor assembly and that does not work. We end up manual double clicking the name in the browser and type in the new component name.
Inventor Product Design Suite Ultimate 2012
Dell Precision T7500 Workstation
Xeon Processor
16 GB of RAM
Nvidia Quadro FX 5800
Windows 7 x64
View 4 Replies
View Related
Jul 25, 2012
II need a way to tell if a component occurence is a virtual component.
I'm using a For Each loop to cycle through all of the components in an assembly, and if the component is itself an assembly to set the LOD to "Custom". I'm using the definition document descriptor object for this. It all woks fine until the loop comes across a virtual component which doesn't have a definition document, so I need a way to check if the component is virtual and needs to be skipped.Here's the
Option ExplicitImports Inventor.LevelOfDetailEnumSub MainiLogicVb.UpdateWhenDone = TrueDim doc As AssemblyDocumentDim oLOD As LevelOfDetailRepresentationDim oAsmCompDef As ComponentDefinitionDim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesdoc = ThisDoc.DocumentIf.
[code]....
View 2 Replies
View Related
Jan 11, 2013
I am trying to make port rims for pipes that can be swapped in and out of an assembly. However, the ports will all be different sizes and located differently so I need the cut to be part of the port rim component, but affect the entire assembly it is part of. I've been trying to get this to work for the better part of a day now,Here's a picture of what im talking about. I'm running Inventor 2008 by the way.
View 2 Replies
View Related