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?
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
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.
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].....
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
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.
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.
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.
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
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.
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.
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 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.
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.
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.
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?
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?
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.
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.
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.
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.