AutoCAD Inventor :: Change Display Name At Part Level
Dec 10, 2012
I'm trying to change the display name of part at the part level (not an occurrence in an assembly). After the part file is saved initially I'm running an ilogic routine that assigns a "special" part number (not the same as the file name). I can get the part number into the PN iproperty easily but I can't find a way to programmatically change the display name in the top browser node. Please see attached for clarification.
I have an assembly with 10 parts in it. We use many assembly features at the assembly level (Revolve cut, Extrusion cut..etc). How to find the mass difference of each part by comparing at its parts level and its assembly level.
The model I have been working on has been trying to change it's colour all day. Finally I had a crash 'graphics adapter stopped working' and when I re-opened the model it had gone all blue. The top level assembly is all blue but the subassemblies are the proper colours when you open them.
I'm updating my graphics driver which should maybe stop the problem re-ocurring but in the meantime I need to get my top level assembly to display as per the colours in the sub assemblies.
First, is there a way to add a new part to an assembly and it only be added to the active Level of Detail (and the Master, of course)? It is adding a significant source of potential error when adding a part to an assembly when you have to make sure to go back and change the status of a newly added part in each Level of Detail.
Secondly, is there a better solution than using Levels of Detail in the first place? We typically have assemblies that are in a few stages: 1) an empty shell 2) shell with ballast 3) shell with ballast and fill material. I have started using Levels of Detail to suppress components at each of those 3 stages because it is important that we have accurate weights for each stage. Our assemblies are not terribly large so memory usage is not really a problem, and I have read on Levels of Detail it is usually useful in a memory management situation.
Lastly, is there any good reason to not be able to save a Level of Detail when there is a positional representation active?
How do you save features added in an assembly to the part? For example, if I add a hole in an assembly, presently I cannot see it when I open the part. It seems like a very basic function, I'm not sure why it doesn't do it automatically.
I am fairly new to Inventor and have recently just finished drawing up a machine made of many parts and sub assemblies and then made into one master assembly. Due to the nature of some hole positions i decided to draw some holes directly on the Master assembly thinking it would then change the original sub assembly/part file. Apparently not as i found out making technical drawings.
How i can rectify this so i dont have to re-draw all the holes on part level and keep my constraints in place?
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 need converting imperial dimensions into metric in assembly as weell as part level sketches dimensions.
Any solution for converting all imperial dimensions to metric dimensions in whole assembly constraint level and as well as part level sketch dimensions. Any macros or any ilogic rules?
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
After changing colors at assembly level only ,below is a rule that changes all parts that have material "Plywood" to poplar works great.
However I want a rule that does the same kind of change but on only temporally at assembly level only then we can change back to default colors by removing color override.
It would be good if we can do the following
Search assembly for .ipt files that have material that contains PlywoodChange to color using temporary override of "Clear - Light" Possibility of searching more materials within same rule ie : "Timber" to be black in color"Pvcu"to be white in color
Dim oCurrentDoc As Inventor.Document Dim oDoc As Inventor.Document Dim oPartDoc As PartDocument Dim oRefDoc As DocumentsEnumeratorDim oTargetColor As RenderStyleDim oNewColor As RenderStyleoCurrentDoc =
I have a frame fabrication / assembly with a Custom iProperty called "FINISHED MATERIAL SIZE". I have set the following parameter for this property:
FINISHED MATERIAL SIZE = <Stock Number> x <G_L>mm
This returns the stock size and length to my drawing cutlist. The problem is that the <G_L> Parameter returns the trailing zeros and unit string.
I would like to set all the frame members in the assembly such that the G_L parameter returns a value rounded off to 0 decimal places with no trailing zeros and removes the unit string as well.
Is there a way I can achieve this from the assembly so I don't have to manually open each frame member and make the changes in the fx parameters dialog one at a time?
I'm on inventor 2012 and I've not used it in a whlie. I thought I remembered in an assembly there was an origin indicator for each part in an assebly or a way to turn it on. I know I can turn planes and axes on in the origin folder but it would be quicker to just glance at a triad at the part origin. There's a similar command in MAYA called display local rotation axes.
I'm running 2012, and once in a while while in an assembly, I can no longer select the part in the display (alike to selecting the part in the browser) and instead can only select faces of parts. I think I might be hitting something when I right click, though I'm unsure. How to reverse it?
I am using this code placed in the .ipt file to change Sheet Metal material
If Material_SM=1 TheniProperties.Material="Steel"SheetMetal.SetActiveStyle("RB_Mild Steel")ElseiProperties.Material="AISI316"SheetMetal.SetActiveStyle("RB_Stainless")End If
It works fine presuming code placed in every .ipt file to be ruled.
Is it possible to modify code in a way so when it placed in top assebly it runs through entire assembly finds all Sheet Metal parts and applys Material prpperties/Sheet metal style according Material_SM parameter.
Inventor 2013 SP2 Windows 7, 64 bits RAM 18GB Core TM2 Duo CPU 2,99 Gz
How can I display a sketch or projected geometry that is not a closed loop in a ipt drawing? Historically I have to use a closed loop and emboss in order to display the geometry in a drawing.
Then move that forward to a DXF file for its intended use. I think there should be a way to just have lines placed on the model and display it on a drawing without it having to be a feature.
In our part list we have a column for Material, ipt's display the material and iam's display blank expect for a few instances that display Welded Aluminum-6061(see attachment). These assemblies are all steel and not weldments. What would cause this and how can it be fixed?
I have to continually update the views for all of my parts regardless of how many times I change my settings and save. I recently updated to 2013 FDS. I've changed the default template but still no go. The views continually revert back to some default that looks horrible. At times the backgroud display will remain but eventually reverts back to some default. I've updated the document settings, application settings, and template settings but still get the same thing.
In previous versions when you hovered over an invisible axis in the browser you could see the whole line in the model. Now you just get the end points displaying as yellow circles and it can be quite difficult to see where the line is. What's the point of this change? Is there a way to get the old behaviour back?
I already have been updating the DisplayName of documents but this name only shows in the Browser Bar and Title bar in Inventor.
When multiple documents are loaded, there are document tabs shown in het bottom area of the Inventor window, these show the File Name. I would like to show the DisplayName there but I don't knop how.
I'm using:
Win7 x64 Inventor 2011 pro Visual studio Express 2008 - VB.NET
This morning I somehow changed the way the command icons are displayed, so how can I restore the command icons back to the default display. I've tried to figure out where the setting is for the way the icons are displayed, but I haven't been able to reset it back to the default setting.
Here's what the display got changed to, that I want to change back to the default setting.
I have an assembly of stair made from steel. There are lots of part the same. Is there a way to make a hole (inside assembly) to one and that hole would appear on all of them.
And another problem, how can I made cut (inside assembly) through more then one part so that would affect a part also when I open it alone.
In solidworks, if I have several similar parts to draw, I can draw one part and annotate it and then to save time and effort I can save the drawing as one of the other parts and then change the part reference in the drawing as I open it up.
How to add a virtual part from an excel list to assembly using vb.net plugin. I`d like to know how to change i Properties of the virtual part through vb.net.
The iLogic code that I would typically use is:
Dim occs As ComponentOccurrencesoccs = asmDoc.ComponentDefinition.OccurrencesDim identity As Matrixidentity = ThisApplication.TransientGeometry.CreateMatrix Dim virtOcc As ComponentOccurrenceIf v_qty >= 1 ThenvirtOcc = occs.AddVirtual(sVirtPart, identity) Try iProperties.Value(sVirtPart & ":1", "Project", "Description") = oProp1iProperties.Value(sVirtPart & ":1", "Summary", "Title") = oProp1 Catch End Try.......
so for the plugin I need to re-write this
Dim _invApp As Inventor.ApplicationDim occs As ComponentOccurrencesoccs = asmDoc.ComponentDefinition.Occurrences Dim identity As Matrixidentity = _invApp.TransientGeometry.CreateMatrix Dim virtOcc As ComponentOccurrence If vp_qty >= 1 Then virtOcc = occs.AddVirtual(sVirtPart, identity) 'Try ' iProperties.Value(sVirtPart & ":1", "Project", "Description") = oProp1 ' iProperties.Value(sVirtPart & ":1", "Summary", "Title") = oProp1 'Catch 'catch error when oProp1 = nothing 'End Try
How should I re-write the text in bold , so it works?
I need to make installation plans on climate ceilings, which are steel cassettes with Meandro tube element located where cold or hot water is flowing through.
[URL]......
Now it may occur that a cassette is given a code 700 which represents the type of cassette. If inside the cassette is placed a Meandro element its become a follow number eg 700-01.
It may also be that the same cassette No. 700 gets another Meandro element and because the cassette has not changed shape the number 700 remains the same but the follow number change e.g. 700-02.
At the moment I change the number in the browser,(inv2012) I therefore want automatically the iproperties ,partnumber and stock number, to fit. When I go to the BOM, the part- and stock numbers automatically will be placed.
The browser codes are not displayed in the BOM. So if I specify for change I only have to do so in the browser. I wanted to do so by iLogic but then ran into problems. I found a tutorial from Rob Cohee with ilogic so you won’t forget to fill in your iproperties.
[URL].......
I also wanted to do so with the iproprtie Stock number but get an error stating that I must declare the name. How must i declare a name.
Also i was told for entering the browse name in ilogic i had to use displayName, but I get a error stating that the name is Read Only.
So how can i, after i change the browse name, automatically fill in the iproperties ‘part number and/or stock number? Is there an ilogic code for?