AutoCAD Inventor :: Multibody Part View Representation?
Sep 11, 2013
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
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...
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
I created a multibody part: a plug and a socket are the two bodies. The socket mounts on a surface. In order to create an assembly so I can check for interference, I want to place this first body onto a surface in an assembly/ Then I need to connect the two objects with a cord. I suspect that the "cord" could be represented as a "hose". I need to make sure that the 10-inch cord will fold up properly inside the case. I have measured the minimum bend radius of the cord, which is about one inch.
I do not seem to be able to find how to get the pipe-and-tube library into my copy of Inventor 2014. Besides, I'm only guessing that this will be the right way to model the cable that connects the plug and socket.
I am trying to access the material and/or renderstyle for each solid in a multibody part document, but it seems like this is not supported in the API.Is this correct?
If this is correct, why the HasMultipleSolidBodies property?
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 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.
I have a main assembly with two major subassemblies with one of them I want the representations to be set as Defualt instead of master but when I do this and change the size of my parts Inventor crashes, if I leave it set to master it works fine but parts with visibility turned off still show in the iam and dwg files. If I try to change the representation after changing dimensions Inventor also crashes. I can individually open the sub assemblies and everything works fine.
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
I order not to hide components, i want to make a break sketch and remove a piece from a part from an assembly in the isometric view in a drawing. can i do that?
I'm doing a fairly big one-off for use at our factory so am going the multibody ipt route. I have a design view setup within the ipt with nearly all solids switched off but when working within a sketch this seems to be ignored. I want to make sure I am projecting from sketches not bodies so if I need to tweak things later and bodies change the model won't fail.
I.e. the bodies all become visible when working in a sketch where as before going into the sketch the bodies weren't showing.
Does view rep work in part file. I remember few months before some one wrote saying not in part file and it works only in assembly file. Is it still the case. How to turn off few parts in my drawing.
Is there a quick way to detail parts from an assembly without having to browse to a part and then search through and select a part and insert a Base View?
For instance from within SolidWorks you can insert a view of an assembly and if you need to detail any part within that assembly you can simply click/select on the part in an assembly view and right click insert view then your View Menu pops up and you are moving forward. If you have to detail several parts you can spit out their Base Views in a matter of seconds. Even if you are making a seperate sheet just for the parts it is easier to insert an assembly view off the sheet and select the parts from there insert all of your part views then delete the assembly view if you want. You can also go to the properties of each view and link the balloons to your assembly BOM.
It is very useful if you are generating drawings such as I do with most parts for the assembly being detailed on the same sheets.
So is there a quick way to get the parts detailed?