AutoCAD Inventor :: Control Visibility Of Parts In Drawing View
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
ADVERTISEMENT
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
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
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
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
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
View Related
Feb 24, 2011
is there any way using iLogic or other method to automatically control the size of the 'break' in a drawing view? I have built a model which uses iLogic to control virtually everything, however the large variations in the length of the product mean that there are some interesting results when it comes to the broken drawing views updating.
it would be nice to locate the break at the absolute center of the view and then size it as a percentage of the view size along one axis or perhaps according to some other length based rule.
Dell Precision M6400 - C2D 2.66 / 8gb / Quadro FX3700M / Win 7 Pro x64
View 9 Replies
View Related
Mar 31, 2012
I am not sure why, but i can't hide few parts in my drawing. I have hidden few parts and saved the view rep. I have called that particular view rep and still I am seeing it the drawing. I am unable to hide it. This is a multi body solid part file. I use INV2012. Win 7
View 1 Replies
View Related
Nov 10, 2012
Is it possible to contol the visibility state of an external referenced drawing? I have an architectural plan drawing that uses a titlesheet drawing as an external reference. In my civil plan i want to use a different title sheet. Instead of having a different titlesheet drawing for the civil drawing i was wondering if i could turn my titlesheet drawing into a dynamic block. In my architectural drawing i would see visibility state #1 & in my civil drawing i would see visibility state #2.
View 1 Replies
View Related
Oct 24, 2011
Is there a way of using Ilogic to make hidden lines of specific parts in an assembly drawing view visible? If a part with hidden lines showing is suppressed and then unsuppressed the hidden line option becomes unchecked, therefore I need a way of rechecking this option through code?
View 2 Replies
View Related
Feb 1, 2012
Is there an option in drawing mode to exclude certain parts from a section view.
According to ASME Y14.3 parts such as shafts, keys bolts and nuts should be excluded in sectional view. Its not just removing the Hatching, the part has to show completely.
The closest I found in Inventor is that you can exclude Standard parts from being sectioned. Some of my parts are not in the standard library.
I would like to have the option to choose which parts I want to section and which ones I don't.
View 9 Replies
View Related
Nov 4, 2013
I want to create a rule with CommandManager.pick who see the name of assembly and send a custom ipropertie to all parts of this assembly view in drawing, this is my none finish rule.
Dim doc = ThisApplication.ActiveDocument
Dim entity = ThisApplication.CommandManager.Pick(
SelectionFilterEnum.kDrawingViewFilter,
"SÉLECTIONNE UNE VUE")
modelName = IO.Path.GetFileName(ActiveSheet.View(entity.Name).ModelDocument.FullFileName)
PART = Left(modelName, 11)
EXT = Right(modelName, 3)
FIRST = Left(modelName, 3)
[code]....
I have the rule "SEND TO PARTS" in my assembly but i have this error message
MEMBER NOT FOUND. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
View 8 Replies
View Related
Aug 11, 2012
I've created a tie-on-cable marker tag using Loft, Replace Face and Split techniques. After splitting, I turn off the visibility of one of the two resulting solid bodies. File A208P03_Label.jpg shows the results with solid body Solid2 visibility either on or off.
The cable marker tag is then used in an assembly file shown in MI-CA-0261.iam.jpg and a drawing file shown in MI-CA-0261.idw.jpg. The problem I have is that Solid2 is showing up in the idw drawing file when I'd rather it's visibility be off as in the .iam assembly file.
View 2 Replies
View Related
Oct 2, 2013
Is there a way to write a set of rules so that I can switch Work Features On and Off via a Text Parameter.I have an assembly made up of a number of parts used hundreds of times within in various sub-assemblies. If I make a particular sub-assembly 'Invisible' then subsequently 'Visible,' all work features that had previously been set to be 'Invisible' are switched to 'Visible' also.
Likewise if I simple want to set a particular Work Features' Visibility in one particular sub-assembly, I would like to be able to do this via a Text Parameter rather than having to laboriously scroll down the Assembly switching the visibility of features on and off.
At the moment if I turn the visibility of say a Work Plane On in a sub-assembly then all sub-assemblies deploying the same part switch the visibility of that Work Plane on too. Hence I cannot see my work for Work Planes.Obviously the Global Switch under View is of no avail,
So I would like to be able to create a Text Parameter for each sub assembly and in turn each Work Feature with a Yes/No Visibility switch controlled via a set of Rules in iLogic.
View 4 Replies
View Related
Nov 13, 2013
how to turn this feature on? We recently upgraded from Inventor 2011 to 2014 and now this feature has been disabled. The attachment shows that visibility has been greyed out.
View 2 Replies
View Related
Oct 2, 2012
I am working on a cylindrical part, and I need to CAD an internal feature for the part. I set up a parallel plane at the point within the geometry that the feature is to be located, and am attempting to sketch the profile of the part using the 2D sketch feature. However, the lines that I am sketching are not visible through the rest of the existing cylinder, for example, if I have draw a 30 mm line from the centre point of a 20mm radius cylinder, only the final 10 mm of the line will be shown. While the line is still functional, it is highly inconvenient when trying to sketch these features, they are difficult to work with as I can not see them through the part. Is there any way to set the defaut visibility for 2D sketches to be so that they are visible through solid parts?
View 3 Replies
View Related
Oct 24, 2013
Inventor 2014 Professional:
I have Parts in my Parts List with duplicate Item Numbers (For Balloning purposes) but with different quantities (Custom Quantities). I turn the visibility of the Part with the Static Quantity off.
Whenever my assembly is updated the Part I had orginally turn the visibility off gets turned back on.
Is there something I am missing to keep it turned off?
View 7 Replies
View Related
May 3, 2013
IV 2010 Suite
Been working over an idw MANY times due to project lag.Today I opened it up and tried adding balloons to an already ballooned assembly.
The parts list has not changed, and is "structured".But, if I try adding balloons, they tag each part, not the entire assembly.
Also, I verified this by trying to add another parts list, which defaults to "parts only".
I can't show my data set, b/c it's HUGE, plus it's proprietary.
IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit
View 5 Replies
View Related
Sep 13, 2012
Is there an application or document setting that will make the default state of a row in a linked excel file used in a parts list default to "off" (not visble)?
More specifically, make this apply to added rows.
We have finish schedules in excel that everyone links a parts list to whenerver they need to display a finish schedule on the idw. However, when we add rows (new finishes) to the the excel finish schedule, they get displayed on the idw parts list next time the idw updates wether they are needed or not. Our practice is to only show finishes that are used on the drawing - so frequently a large portion of the whole finish schedule needs to be set to "off" or invisible.
View 3 Replies
View Related
Aug 21, 2013
At my company when producing drawings for manufacture we require a sheet for any steel profiles to be cut!..We do this by selecting the assembly from base view,hitting model view tab, selecting presentation and choosing the relevant profile from the drop down!
Once the profile is placed, we highlight the view and hit the parts list tab which obviously creates a parts list, but for the whole assembly, we then have to edit the parts list by turning off the visibility of the lines of all the parts which are not relevant!!...as you can imagine this is quite a laborious task if you have 50 different profiles.
The reason for this is to show the qty, steel grade and part number to the suppliers. My question is, any code that will take the lines of the parts list that are not relevant to the selected view and turn the visibility of those lines off?
View 1 Replies
View Related
Dec 7, 2011
I need to use/write a iLogic code. I have a assy, in this assy i have parameter Height and Width. And it´s no problem to controlls this two rules/value.
But I have a problem with the rule when my height will control the number of parts
If my height is 500-1000, one part.
If my height is 1000-1500, two parts.
If my height is 1500-2000, three parts.
Is it best to use suppress or use a pattern in this case?
View 1 Replies
View Related
Dec 9, 2013
Is there a way to display the density of materials that are assigned to varius parts in the parts list on a drawing? I don't need the mass of the parts I just need the material density to show up next to their respective parts.
For example, if I have a part with [steel mild] material assinged to it (no matter the size) I need a column in the BOM on the drawing to show: 490.684 lbs/ft^3. "Worry when there's something to worry about."
View 3 Replies
View Related
Jun 20, 2013
I there a way of finding each Bom structured part that is set to reference in an assembly and setting the view of that component to in-visible.
Also needs to iterate into all set View reps that where created and set all views to not show the referenced parts as well.
View 8 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
Oct 31, 2011
I am creating a drawing controlled by ilogic. The assembly can vary in size considerably so I have set the IDW to change between sheet size A3 and A2 accordingly using ilogic. However, when the sheet size is changed, the parts list stays in a static position.
Currently, the parts list is situated in the top right corner up against the title block and the border. So when changing from Size A3 to Size A2, the parts list ends up in the middle of the page. Is there anyway i can control the position of the parts list so it changes with the sheet size change?
I know I could simply move the partslist to the bottom left corner, which is a work around. However, I'd like to be able to keep the drawings in line with the company standard.
View 1 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
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
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
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
Jul 10, 2012
When placing or creating a new part in an assembly it is visible in every view rep which is a huge pain the proverbial.
Is there a setting to tell Inventor to only make newly inserted/created parts visible in the active view rep.
I am so tired of having to go through all my view reps every time I add a new part to an assembly.
View 4 Replies
View Related