AutoCAD Inventor :: Using A Rule To Toggle Part Visibility
Jun 12, 2012
I have a simple Assembly for a Frame that I made with Frame Generator. I'd like to use a rule to toggle the visible of some of the framing members.
In the sub assembly (called Frame0001:1) I created a rule:
(I have a variable called LeftAngle, and the bar I want to toggle is called Bar1.)
If LeftAngle = 90 then
Component.Visible("Bar1") = False
Else
Component.Visible("Bar1") = True
End If
I am sure this is VERY basic, but I can't get it to do anything. There is no error message - just nothing happens.
I know the rule is running though - it will change other parameters in response to the If Then statement.
View 6 Replies
ADVERTISEMENT
Dec 6, 2011
I want to simply set a custom iproperty as the Description in each part file within my assembly. I can do this easily at part level with ilogic but I want to be able to run the rule from the assembly level and all the parts run the rule. I am struggling to find a way to do this.
I think this may be the best method I have found but I think it must be far easier?
[URL].......
View 9 Replies
View Related
Sep 2, 2013
I am trying to draft an assembly - when i want to hide some components I go to the tree and right click on the part/assembly and select Visibility.
There is a square next to visibility on the right click menu (like a 'stop' button) and nothing changes when i select it.
When I right click on the tree a second time, a tick appears (like in modelling/assembly view) and when selected it disappears.
I want to turn items off in one click -
View 4 Replies
View Related
Feb 9, 2012
I have created Engineering Notes in Part and same visible in all top level assemblies (see attached image).
I searched on web for option and it is available underAplication Option>Note Tab, but I could not able to locate option in Inventor.
Inventor: Autodesk Inventor Professional 2011
View 1 Replies
View Related
Jan 30, 2013
I have a subassembly that has been patterned.
I need to toggle the visibility of a part in that subassembly in each pattern element.
How do I refer to the part?
I have declared an object for my pattern, and can toggle the suppression on any element.
But I need to get at an individual component inside the element.
I've been trying something like this:
oPattern.OccurrencePatternElements.Item(X).Component.Visible("Valance Jig Frame - 1in:1") = False
View 1 Replies
View Related
Apr 1, 2013
I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
View 5 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
Aug 21, 2012
I am trying to use iLogic to create the file types I need to give to my vendors once I have created a drawing.In the .idw file I have a rule that creates a .pdf file and .dwg file. I also want it to activate a rule I have in the .ipt file that creates a .dxf file.
trigger = iTrigger0oType=Left(ThisDoc.FileName(False),3)GoExcel.Open("S:DRAWINGSFolder Types.xlsx", "Sheet1")For rowPN = 1 To 200 If (GoExcel .CellValue("A" & rowPN) = oType) Then oFile = GoExcel.CellValue("C" & rowPN) Exit For End IfNextoFolder = "S:DRAWINGSNOT RELEASED" & oFileIf Not System.IO.Directory.Exists(oFolder) ThenSystem.IO.Directory.CreateDirectory(oFolder)End IfThisDoc.Document.SaveAs(oFolder & "" &
[code].....
View 5 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 4, 2013
I want to be able to have All Work Planes set as 'Invisible' but create a Message.box or Icon that allows me to change the Visibility of any individual workplane(s) physically selected in the browser.
A rule written by another member should do the trick if the following line could be altered so as not to read 'For Each' oWorkPlane but instead for 'Each Selected' oWorkplane.
'For Each oWorkPlane In docFile.ComponentDefinition.WorkPlanes'
'get user input
oInput = InputRadioBox("Select workplane visibility:", _
"Turn ON workplanes for all components", "Turn OFF workplanes for all components", "False", "iLogic")
'Define the open document (top level assembly)
Dim openDoc As Document
openDoc = ThisDoc.Document
[code]....
View 1 Replies
View Related
Jun 17, 2013
I would like to make an External Rule that would make an iLogic Internal Rule (with the same code every time). I guess what I really need is a way to drive an Ilogic rule into every part that does not have the rule in the part already.
I know what you’re thinking and just using the External Rule doesn’t work for what I want to do. I need it to be an iLogic Internal Rule.
View 9 Replies
View Related
Aug 15, 2012
iLogic rule that will retrieve a part number(s) from an excel sheet. I work for a company that built vacuum trucks and I'm trying to make an . I am template where the user can select different lengths of shells to achieve the desire overall length. I have been able to achieve this using iLogic rules and forms and making the shell length parameter multi value.
But now I need to show predetermined SAP part numbers for the shells in BOM or part list. I all ready have an excel sheet with shell sizes with corresponding part numbers on file. I also thought about incorporating our custom CC parts/shells that already have the SAP part numbers set up as a custom iProperty but might be to complicated for a newbie iLogic user.
View 9 Replies
View Related
Nov 17, 2011
I have a rule in the top assembly to update & want to run this as a final 'clean up' after various rules have run in sub assembly parts.
I have a rule within a part at the end of the line. I want this rule to goto the top assembly & run the 'Update' rule.
View 4 Replies
View Related
Jul 27, 2012
The client I have has 1 seat of factory Ultimate and 8 seats of factory premium.
The issue is the premium seats have an issue when you turn the visibility off on a part in the IPN you cannot turn it back on. This is on all the seats of the premium. There is no issue with Ultimate.
The service pack did not fix the issue. Now I know Autodesk there will never be a fix for this unless I up-grade seems to be the Autodesk way in the past 3 years.
View 2 Replies
View Related
Oct 18, 2011
is it possible to rename the browser node on part level with an iLogic rule? I know that in the assembly environment is an Inventor OOTB functionality to rename the nodes to the filename, Part number or the default value.
Inventor Professional 2011
Windows 7 Enterprise 64bit
Dell Precision M4500
Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
8 GB RAM
View 2 Replies
View Related
Jun 25, 2013
I am working on an assembly and idw, and my assembly has a number of reference parts in it. Two patterns of reference parts are not appearing in the idw for some reason.
I can get them to appear by changing the view style to show hidden lines, and then the hidden lines appear and solid lines for all except the first instances also appear. When i turn off hidden lines, the hidden lines disappear leaving the solid lines of all but the first instances. Then if i change the reference data line style to try and show all the lines, they all now disappear again.
View 4 Replies
View Related
Dec 6, 2013
In our drawing file we expose the mass of the part. So I have set the 'Update physical properties on save' in the 'Application Options'. This works fine when you save your file before switching to the drawing file. If you forget to save and go to the drawing file the mass is showed as: N/A.
Therefore I have created a rule which updates the mass of the part. This rule is activated with the 'Part Geometry Change' event trigger. This is done to update the mass in the drawing file even when the partfile is not saved. This works fine. If I make any changes to the model the mass is updated correct, EXCEPT for deleting features. When I delete a feature and switch to the drawing file the mass is shown as N/A again. So apparently deletion of any feature is not recognized as a 'Part Geometry Change' because the rule isn't triggered.
View 7 Replies
View Related
Aug 9, 2011
I am having an issue with the visibility of components underneath other, transparent components. The part which needs to be visible is a switch underneath a vacuum formed polycarbonate cover. When the cover is positioned open such that the switch would be partly visible even if the cover is opaque, the switch is rendered. When the cover is positioned closed, the switch is no longer rendered. I have attached JPG's of the two states.
I am on INV PDSU 2012 64 bit.
View 9 Replies
View Related
May 19, 2013
I have been trying to sequentially show (and then hide) the dimensions for each feature (together with its related sketch dimensions) in a part browser tree.
I can set the visibility for any one of the sketches with e.g.
oSketches.Item(1).Visible = True
oSketches.Item(1).DimensionsVisible = True 'Show sketch dimension
and show the visibilty of the feature dims with e.g.
Set oFeature = odef.Features.Item(1)
oFeature.FeatureDimensions.Show 'Show feature dimension
but I cannot work out how to test which feature a particular sketch is dependent upon. Until I do this the visibiliy
of the feature and sketch dimensions cannot be synchronised.
I expected something like
If odef.Features.Item(1) = oSketch.Parent might work or maybe the Isownedby function but so far I have had no luck with anything I have tried.
View 2 Replies
View Related
Dec 11, 2013
how to turn off the visibility of a specific sketch (ex. base_Sketch) of a certain part in assembly using vba?
View 3 Replies
View Related
Jan 6, 2012
I am patterning a sub-assembly which has a reference part that is not visible in the sub-assembly. I'm driving this sub-assembly with a quantity parameter and when addition instances are created, the hidden part turns visible. I can bring the sub-assembly in multiple times and the parts remains non-visible, however, once I pattern it, the part shows up in all instances except for the original.
View 1 Replies
View Related
Oct 10, 2013
I'm creating an exploded view presentation of a large assembly. I understand that when sequences are created, the parts that are hidden at the time are added to the Hidden folder of that sequence. But since I had to work back and forth between sequences to tweak the order, I want to hide some parts that I just added and that belong to a previous sequence. The part is now randomnly hanging in space when the camera angle is trying to show another part of the assembly. How can I make parts hidden for some sequences but not other? There's no option to hide parts, only to unhide them from the Hidden folder. BTW, using Inventor Pro 2012.
Look at picture to better understand the question.
View 2 Replies
View Related
May 7, 2013
weldsymbol.dwg
Since weld symbols are regularly used in my day to day work, i thought of making a dynamic block. I had zero knowledge of dynamic blocks at that time. I realized that its actually very difficult to make a type of dynamic block i wanted. So instead of breaking my head to create it, its better to downloaded it.
Attached is the drawing i found on a forum. Its extremely cool, that's exactly what i wanted. The multiple toggle is extremely useful. That's what i wanted but was unable to create.
How this multiple lookup toggle were created without any visibility state?
View 9 Replies
View Related
Aug 16, 2011
I want to be able to hide a part of an assembly in one projected view of the 2d drawing but not all, however when I do so the hidden lines stay hidden lines. They do not change. I know you can change the hidden line properties to make them continuous lines but is there a setting that will allow these lines to change automatically?
View 9 Replies
View Related
Nov 7, 2013
Mirroring a part or assembly in 2014 makes the derived part with all sketches visibility on, nevertheless the original sketches visibility is off.
[URL]....
It makes me sick switching them down.
Is it treatable?
View 9 Replies
View Related
Jun 19, 2013
Often, screen are full of information..surface, alignments, corridors, widenings.I'd like a tool to have a fast way to view/hide information related to my alignments and corridors. In example.
View 9 Replies
View Related
Aug 22, 2011
While remapping shortcut keys, I came across the default Alt-G: Geometry Selection Visibility Toggle.
What does it do? I can't see it changing anything.
View 4 Replies
View Related
Jul 4, 2013
Is there a keyboard shortcut for "Toggle mask visibility"? I can do this by ALT-clicking on the layer's mask, but I would like to assign a shortcut for this on a button on my Wacom Intuos 4 drawing tablet. So far I haven't found a menu shortcut for it, nor have I found a way to add my own (Edit-Keyboard shortcuts) as the function isn't listed there.
View 10 Replies
View Related
Jun 16, 2012
How to toggle the layer lock/visibility in CS6 than in the earlier versions.
It seems that there's more padding around the lock/visibility icon, and you have to be really precise to click it... increasing the row size doesn't really make any difference, as the "padding" is still there. Wheres in the earlier versions clicking anywhere within the toggle box would enable/disable it.
View 2 Replies
View Related
Sep 1, 2012
As I am using Layer Comps more frequently, i find myself frequently needing to toggle the visibility of layer groups, which contain several sub-groups. I tried all the shift + cmd + option - click variations, but none seems to do the trick.
here an example:
Visibility Type Name
OFF Group Row
ON Group Button 1
OFF Text Help!
OFF Shape Bg
ON Group Button 2
OFF Text Help Please!
OFF Shape Bg
so what i am looking for is a short-cut so that when i click on the visibility of the Group Row, it will turn on the visibility of all the layers contained.
View 3 Replies
View Related
Jan 7, 2014
Is there a way to invoke the iLogic Rule Editor and pass it an existing rule name or external rule for editing?
View 4 Replies
View Related