AutoCAD Inventor :: How To Set Representation View For Part In Drawing
Oct 13, 2013
If you've had to use different design view representation of the same PART on a drawing in multiple Views at the same time, you already know that whenever you suppress completly a feature, the representation loose the condition stated in the model view and if the suppressed feature is reactivated, it then appear in all view. You have to right-click on the view and select "Apply design View" to reset it, or re-select the design view representation in "Edit view".
Recently I faced a case where i had to build a iLogic multi-body part representing a crate made of either sheet or bar, with a removable top and variable solid for top, sidewall and base, driven trought a in-drawing form! Reason being the customer wanted a easy, useable model for the shipping clerk to generate a custom crate drawing for the crate contractor, therefore freeing precious time for the drafting departement. Usually I would have used occurence visibillity from a assembly, but the document management part of the deal, was too much for the computer illiterate user... So, off i went creating a multi-body part, only to face the aforemention problem with view changing representation due to complete solid suppression.
So here's How-to Set representation view for part in drawing:
The trick is to set every view to it's representation by using the edit window interface code.
The iLogic line to set a View to a specific Design View Representation:
I use this code in "IF" statement. You must repete the code for each view, removing the "Raster" line force a raster only reaction on the view, and the update must be placed after each view, otherwise it only update the last one.
Example:
If TYPE_COUVERCLE = "AUCUN" Then
ActiveSheet.View("2").View.Suppressed = TrueActiveSheet.View("1").View.SetDesignViewRepresentation("View5", False)ActiveSheet.View("1").View.IsRasterView = FalseThisApplication.ActiveView.Update()ActiveSheet.View("3").View.SetDesignViewRepresentation("View2", False)ActiveSheet.View("3").View.IsRasterView = FalseThisApplication.ActiveView.Update()ActiveSheet.View("4").View.SetDesignViewRepresentation("View1", False)ActiveSheet.View("4").View.IsRasterView = FalseThisApplication.ActiveView.Update()
Else If TYPE_COUVERCLE = "CONTREPLAQUÉ" Then
[Code]...
I'm telling the model that the disapearing element "TYPE_COUVERCLE" is driving the representation, only when it change does it fix the view, regenerating or changing the Design View Representation (the TYPE_SIDE and TYPE_BOTTOM are always active or always suppressed in their respectives views, therefore not influencing their respective appearance in other view). If you had multiple dissapearing solid or feature you would have to build a similar code for every one of them...
For some multibody parts I use view representation in order to show for example one or more bodies only. For that I lock the view representation. Usually I have more than 3 of them. The part can have different configurations. The problem is that when a new solid is made, it will be visible in the locked view representations also. I thought the lock option should work in the same way like for assemblies, because if you lock the view in an assembly new parts wont be visible.
AIP 2014 Windows 7 x64 Dell Precision T7400 Intel(R) Xeon(R) CPU X5472 @ 3.00GHz (4 CPU's), 8Gb RAM, NVIDIA Quadro FX 5600 1536MB GDDR3
I have received a great solution from Bobvdd allowing ilogic control of the view rep in a part file (not an assembly file). The code below works brilliantly when the part file is the active document. However when the part is placed in an assembly and the ilogic is run with the assembly active, the code produces no result. How to modify the top 6 lines of code?
Dim oApp As Inventor.Application oApp = ThisApplication Dim oDoc As Document
Trying to do two variations of an assembly using representations. I turned sub-assemblies off in different representations by unchecking "visibility." I can switch back and forth between representations in the assemby and the sub-assemblies go on and off, but drawing views where I've selected a given representation still show the "invisible" assemblies.
Infrastructure DSP '14 / Product DSP '14 / Vault Professional 2014 Dell Precision T1650 Windows 7 Professional SP1 64-bit Intel E3-1270 V2 3.5GHz / 32G RAM Nvidia Quadro 2000, Driver 331.82 Space Navigator, Driver Version 6.17.7
Is it possible to get the "actual" calculated area of the face of a part from a drawing view? I looked at the drawing view object in the api but didn't find what I was looking for. What my goal is, I want to calculate the actual square foot of this piece and then subtract it from the overall square foot so I can calculate waste. Perimeter's of pieces can be in multiple forms, radial, straight or a combination of the two. See image below.
I thought I kind of understood level of detail and master views but apparently not. I have an I-Beam that I have cut and bent in the part file. In the drawing I would like to show the beam both full length and in the bend configuration. From my reading I thought I would be able to create one view with the part in final shape and one view where I suppress all the bends and show the part with the cuts in it but all flattened out. I created view1 with the part bent, I then created view 2 and supressed all the bends. Unfortunately the bare does not toggle back and forth in the part, and when I place the part in a drawing. I am still not bale to have a difference in the part in the drawing with the two configurations either. What is the proper method of obtaining the two different views?
Also is there a way to request software enhancements?
We create many large assemblies where the shop uses a cut sheet to make the parts. Since many of the parts have secondary opperations like forming or cutting done to them i like to create a second sheet with the piece parts dimensioned on the sheet. In SolidWorks i would simply create the views, create an assembly BOM and link the balloons to that BOM, end of story. Not in Inventor! And creating a million LOD views to hide all but the one part in each view is not an answer for a professional CAD program.
Inventor Premium 2013 SP1.1 Vault 2013- plain vanilla version HP G71 notebook celeron cpu w 4gb RAM and 64 bit system Win 7 home premium
We put several parts on a single drawing sheet and ,to include the part number in the drawing view label, we must edit each view label and change the type to Properties_Model and the Property to Part Number. Is there a way to set the default of a drawing view label to include the Part Number? I tried modifying the styles to include <PART NUMBER> but it the text "<PART NUMBER>" came in instead of the value. To get the value, I had to edit the view label and hit the X with a down arrow to get the part number to show up, which is not much different than having to edit the label and change type and property. I'm looking to avoid all the view label editing as much as possible.
I frequently use the "Make Components" feature in order to derive assembly parts from solid bodies in a single master part file. Then I can quickly align the parts in the assembly with the "Ground and Root Component" utility. However, when the part is placed at an angle, the derived part becomes misaligned in the viewports of my idw files after the part gets rotated to a new angle. Then I have to manually reset the rotation by editing each viewport and selecting "View Face." If the angle has changed only slightly, sometimes I won't notice the difference, and I'll forget to re-align my viewports. Is there some way to automatically keep a viewport aligned with an specific face on a part?
If that's not possible, I guess the simplest method would be to place each part into its own assembly and constrain it to the global UCS, but I don't want to have to do that for every angled part in my assembly.
I also considered drawing only sketch blocks in my master file for the angled components, and deriving the sketch blocks to create parts that are properly aligned with the origin planes in their respective ipt files, but with that method I'd end up with a more complex master file with lots of exported parameters and extra working geometry, and I'd have to constrain these parts manually instead of using "Ground and Root Component."
I need to show a particular part in a drawing view so that it's clearly visible. I mean, I can see it fine, but I would like it to pop out a bit more than it does and not blend in with other lines around it. Is there anyway to do this? I know you can make an entire view colored, but I just want one part colored within that view.
If not, then how do I remove the lighting from a particular view so that the parts will show as solid colors in a drawing view? They currently show with like a white reflection or sheen and a sort of gradient coloring to them.
IV2012 Windows XP SP3 32-bit Intel Core 2 Duo 6400 @ 2.13 GHz Nvidia Quadro FX 3450/4000 SDI 256MB Vram 2 GB Ram 160GB HDD
how do i unlock a design view representation when i can't find where it'slocked. I looked in the design view and i don't see a locked version, viewis listed as "none".
I'm working in ancient Inventor 2009 and I'm using view representations for all of my .ipn levels. I've accidentally skipped one step and would like to put it in the middle of the others. Is there a way to re-organize the representations. I've attached a picture. I need to insert a representation above the check marked one.
I used to use "Level of detail" to hide components etc for detailing purposes. I now use "Representations" among a few customised views, I have a set search for fasteners.
Question: Is there a way to automate the search (Saved search) and then switch off the visibilty of the items? Preferably some iLogic code?
I have to run the search quite a few times during the design/detailing process, and sometimes things slip through the cracks, esp when I change fastners. (Note, All the fastners are extracted from the CC and saved with a new name and details.) It would be great to just run a rule.
Autodesk Product Design Suite Premium 2014 SP1 Build 222 Intel Core i7 (950@3.07GHz) Windows 7x64 (Home) - 12GB Ram Nvidia GeForce GTX 560 Ti (1Gig - Ver:331.65)
I've looked and saw quite a few messeges on the same topic but couldn't find some good resolve : I'm in an assembly, trying to hide/supress some component, and it keeps saying that the view is locked (I do see "lock" logos on all the views) and I should unlock it or create a new one, which I don't want - I want the changes to be on the main "master" view)
How do I "unlock" or resolve it?Right clicking on the view doesn't give me any option to unlock it..
So after creating a bunch of assemblies with associated presentation and drawing files I was told that each assembly needs multiple representations for different part colors. I would like to be able to change the representation view of my assembly (i.e. from 'Master' to 'Black') in the presentation file I've already made and have the colors update here and in the associated drawing files.
PS - I do know how to change the representation in a new view. So...hindsight 20/20.
I have a model of an enclosure created using Frame Generator. I create a View Representation of each wall and the roof in order to create the fab drawings. Is there a way to create a Parts List ONLY what is visible in a particular View Representation?
Is there a secret to having the Design View Reps stay on the right settings when using Occurrences.AddUsingIMates? I've got a master top level assembly that I'm bringing other iLogic modules into by using an iLogic form in the master top level assembly. The form calls a rule that makes a copy of the module assembly in the same file location as the master TLA. It then adds the module TLA to the master TLA using iMates, and calls an external rule to copy all the sub files from the module into that file location and replace them in the module TLA. The user then calls the module's configuration form using a button on the master TLA's form.
I've been using a line of code to set the DVR back to default and associative for the module, but now that has stopped working and it immediately goes back to Master after running the rule, or even if I try and set it by hand. But if I bring the same module in and place it using the Place button, it comes in correctly. I've even added a NameValueMap for the DVR optional argument on AddUsingiMates and that hasn't work.
I have a message pop up when i am trying to save an assembly. it is:
'The current Design View Representaion is locked. Changes againstit will not be saved. If you want to keep those changes please create a new Design View Representation or unlock the current one.'
I've noticed in inv.pro.2012 that after properly locking the link with representation view in idw, saving the files, and then after replacing a part in iam, some of my links in idw views are again unlocked (and I hope you know what that means for the drawing itself). I never had it in inv.pro.2010 and earlier versions.
What associative links are removed when locking a design view representation? Hopping IV 2012 will have representations working the way they did back in IV 2008, my BOM'S and views both played together quit nicely when creating installation drawings.
I created a presentation with my assembly, when I modify a parts colour in Assembly environment its automatically changing in Presentation environment. (initially I make them Associative). But if I clear the override it automatically unassociates the design view representation. (check the image below) Is there an option somewhere to reassociate it?
My customer is having trouble with the part list feature inside the Inventor 2D drawing.
For example, He has a car assembly file with 4 wheels and alot more subassemblies, then he creates a view representation which only visible for 1 wheel.
When he generates the part list in Inventor 2D drawing, he go to part list >filter setting and set to ‘’Assembly view representation’’ but the quantity for the part list is still showing as 4 as per attachment.
change the value manually inside the part list table?
My company have recently upgraded from Inventor 2010 to Inventor 2013, on the whole I like it a lot better but there is one feature I can't find or Autodesk have removed. I have attached an image of what I mean if I haven't explained it very well but on the browser bar there used to be a drop down 'design view representation' that you could change back to 'master' quickly. I found this very useful as I often use the 'visible' tool to hide parts then want to unhide them all at once. Is there another way of doing what I want or does this tool exist hidden away somewhere else?
issues with parts lists generated from View representations?
This is weird but my parts list generated from View representation seem to be not accurate, when I take two assemblies that I need to create BOM for, and drop them into a new assembly, then create parts lists, its different from BOM generated from representation view that has too high numbers.
I have a client that is having difficulty with Design View Representations. He has approximately 15 view representations, each having items in different states of visibility. The icons display the modes of visibility correctly, however, there are no objects visible in the graphics window at all. Additionally, the option, "Find in Window" is missing when right-clicking on visible objects. Only when he copies the View Representation over to a LOD, and then saves that back out to a VR, do the graphics in the window appear correctly. Then the Option, Find in Window shows up and is available.