AutoCAD Inventor :: Presentation Component Invisible In Drawing
Mar 22, 2007
I created a IPN from an IAM for an exploded view. When I put the base view of that exploded assembly into a drawing, one of the main components is invisible. So when I mouse over the edge of the view, the bounding box does not even reach high enough to possibly include this component. All other components are visible in their correct exploded positions. I tried deleting the view and placing it again, but it does the same thing. The colored and shaded preview just before view placement shows all parts where they should be.
I am working on a project to assign balloons to components in drawing view automatically. Of course, I don't want to assign a balloon to a component which is invisible (hidden) in this drawing view.
So, is there any API function to check whether the component in the drawing view is invisible or hidden?
I'm in the process of creating an exploded view of an assembly. I'm having to do this in a presentation file, and I was wondering if it was possible to section one of the parts in the exploded view. To be more specific, I have the majority of my parts spread out around another assembly in the center of the page. I want to get a three quarter section view of the center assembly so the internals are visible. Is this possble from within a presentation file and if so, how can it be done?
Inventor Professional 2013 Intel Xeon W3680 @ 3.33Ghz 12GB DDR3 RAM NVIDIA Quadro 2000 GPU Windows 7 Professinal 64-bit
I've poked around a little and made simple rules to manipulate iproperties, save filetypes, change drawing borders etc. but am now looking for a bit more and am struggling (i.e. completely lost.) I want to automate the creation of an assembly drawing from an existing presentation file. Here is the basic break-down:
Assumed Pre-Requisites:
- Using Inventor 2011
- Presentation(*.ipn) file is present and saved in same directory
- Each presentation VIEW is numbered and named (e.g. "1 - PCB Installation", "2 - Battery Insertion", etc.)
iLogic/VBA Code should:
- Select presentation file (either auto or allow user browse/select)
- Create a page in the drawing (*.idw) for each VIEW from the presentation file
- Create a base view on each page for each presentation VIEW (in numbered order)
- Each base view orientation will be derived from Saved Camera
- Each drawing page will be named using the name from the corresponding presentation VIEW name
- Each page will have a prompted entry in the Title Block that will be defaulted to the presentation VIEW name
I have found some code which extracts the part number from the iproperties of a model and adds it to the custom iproperties of a drawing but this will only work on iam or ipt files.
Here's the code, I added the lines referring to the docment type as an attempt to fix the error but it didn't work...
If (ThisDrawing.ModelDocument Is Nothing) Then ReturnIf ThisDrawing.ModelDocument.DocumentType = kPresentationDocumentObject Then modelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)End IfIf
in a drawing I made some lines invisible (right-click on the line, and uncheck visibility). how can I make these lines visible again? for obvious reasons I can not right-click on them (they are not visible), and I don't find them in the browser tree.
I am building a custom batch update for our drawings to take border definitions as well as custom iproperties from a current template and push them into a specified inventor dwg file. I built a form for the users to select the template they want to import into a list of files they place in the form. The program opens the template, get's all the information (iproperties, border defs, etc... using the active document to get the document) then iterates through the list of the users doing the following for each file (also getting the active document to get the items in each file): open, replace border definition, insert any non-existent custom iproperties, save and close the file. It works great when I keep the open visible set to true for the files. When I switch the visible property to false for each one of the files I want to open I get an error similar to this: Systems.InvalidCastException: Unable to cast object of type 'Inventor._DocumentClass' to type 'Inventor._DrawingDocument'. at ---- then my button click event here.
Does inventor technically not see a document as an active document if the file is not visible when opened?
I am using this code to turn visibility of components off in IDw file, what I need top turn visibility of a component of in a subassembly.
'oDrawingDocument = ThisApplication.ActiveDocument 'Get the first view 'Dim oView As Inventor.DrawingView 'oView = oDrawingDocument.ActiveSheet.DrawingViews.Item(2)
I have a sketch on a component. That component is being used in an assembly. The assembly drawing (.idw) does not show the sketch on that component. I have made them visible on the component, but don't want it visible on the assembly model. (only the assembly drawing)
But it seems that the onselect event only catches selection of drawing views or balloon, annotation etc, but not the component inside the drawing view is this intentional or a bug?
The reason i need to catch this is to make a new context menu action, so i need the selected item. I know i can use SelectionSet, but i want to be able to debug my application as an external application connecting to the running instance before i build it into an addin (saves me a lot of inventor restarts..) And Selection Set does not seem to work when i use it inside an event handler in an external application...
Can this be done? I want to go through the DrawingView Object to get at a subcomponent of an assembly and either set that component to have hidden lines (where needed) or no hidden lines.
We are having an issue when we replace a component in Inventor Pro 2012. When we replace a component, the name in the browser does not update to the new component. We've even tried to close and re-open the Inventor assembly and that does not work. We end up manual double clicking the name in the browser and type in the new component name.
Inventor Product Design Suite Ultimate 2012 Dell Precision T7500 Workstation Xeon Processor 16 GB of RAM Nvidia Quadro FX 5800 Windows 7 x64
II need a way to tell if a component occurence is a virtual component.
I'm using a For Each loop to cycle through all of the components in an assembly, and if the component is itself an assembly to set the LOD to "Custom". I'm using the definition document descriptor object for this. It all woks fine until the loop comes across a virtual component which doesn't have a definition document, so I need a way to check if the component is virtual and needs to be skipped.Here's the
Option ExplicitImports Inventor.LevelOfDetailEnumSub MainiLogicVb.UpdateWhenDone = TrueDim doc As AssemblyDocumentDim oLOD As LevelOfDetailRepresentationDim oAsmCompDef As ComponentDefinitionDim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesdoc = ThisDoc.DocumentIf. [code]....
I am trying to make port rims for pipes that can be swapped in and out of an assembly. However, the ports will all be different sizes and located differently so I need the cut to be part of the port rim component, but affect the entire assembly it is part of. I've been trying to get this to work for the better part of a day now,Here's a picture of what im talking about. I'm running Inventor 2008 by the way.
A drawing contained several layers, some of them locked, others de-activated during ongoing works. I wanted to edit a block used in the drawings. I selected the block and opened the block editor. After deleting some elements of the block, I had to explode a couple of elements from the block to delete further details. I selected all the remaining ones. Than I hit the toolbar button MAKE BLOCK, next I closed the block editor.
Now all of the model space appears empty except of the ONE block I edited, everything else disappeared. How can I undo the changes and bring the proper drawing back?
I tried the procedure on an earlier version - minor changes don't cause any harm to the file. But once I exploded parts of the block during editing, the error appears. When I lock up the block list, the edited one shows a sign saying "Dynamic Block" which may be the root of all evil (as the unknown is always the evil).
How to recover my drawing? Getting the backup from tape takes ages, deadline is close.
I have been working on a detailed section drawing in AutoCad 2013
I saved the file in different files as i gone along, I have been trying to open the file everytime i do all the layers are there but only two are visible all the other seem to be invissible.
I tried it with each file on different computers, same version of AutoCad no success.
It apears that in the preview before opening the file it is all there but when actually opening the file its only a random two layers that come up, missing around 10 others which have the majority of the drawing /details on there.
I tried the unhide, changing line weights in the layer menu, opening the back ups. is there anything else I can try.
I am having a problem with AutoCad Architecture 2014 on my Mac Pro running Parallels and Windows XP.
The crosshair, grid lines,and actual drawing do not show up on my work space, either Model or Paper. When I installed the software two days ago, the software was working properly. I could see what I was supposed to on the drawing space. Something happened that has caused those items to disappear. I have uninstalled and reinstalled the software two or three times but continue to have the problem. Since I am new to ACA, there is likely a setting that I have overlooked or accidentally changed.
I created *.ipn file and I tried to record the animation AVI file. After I finished playing the animation, I can see the AVI file was created but with 0KB, the avi is empty and cannot open.
I have no problem to create AVI file in my laptop but have such problem in my office's desktop computer.
When I go to animate an assembly in presentation, it will let me set the camera in the sequence view, however I can't seem to find a way to delete the camera. I put too many cameras and now the animations making too many transitions between tweaks. Is there a way to delete the set camera?
I have a large assembly in Inventor Pro 2012 where I'm trying to show the installation process in Presentation. Since the sequences behave as opposite to an explosion, all the parts return to their original location after a tweak.
However if I am trying to show a jig that works in the installation process that I want to show being removed, how can I do that. In the assembly, the jig is constrained to the the part being installed, which makes it very difficult to show it being removed since the move happens first then it mates to the part during an animation. Any way to reverse the animation sequence?
I want to assign the viability and open part commands to the marking menu in the presentation environment, but they are always greyed out. They show in the drop down menu below it though??
I have exploded my assembly in a presentation file, but I have not been able to record it. I have recorded videos previously, but this time the record button simply does not stay pressed. I have tried recording the video as WMV and as AVI.
Is there a way to remove the trails from a presentation one they have been added using the tweak components command ? These are shown on the animation but I can't seem to remove them without completely redoing the animation.
I have made a building and would like to do some cam shots while doing a "walk" from room to room. Is this possible with a the cam on point of view angle? have tried it out with showcase but the keyframe animasjon only give me overview shots.
should i go for 3dmax or can i do it with inventor studio/showcase /publisher...
I've created a view in my presentation file and tweaked all my components to where I want them. How do I change the level of detail associated with a particular explosion already created? I know when you create the view you can select which representation and level of detail to use, but how do you change these after the exploded view is created?
We have the following problem / bug and i was wondering if others can reproduce it.
(IV2013, SP1.1)
When adding a new sub-assembly to an existing ipn, the newly added assembly doesn't have the + sign to expand it. (see image)
Steps:
1. create a part. (anything will do) - Part1 2. make an assembly and add Part1 a few times. - Assembly1 3. make another assembly and add Assembly1 a couple of times. - Assembly2 4. create a presentation file with Assembly2, add a tweak for good measure. - Assembly2.ipn 5. Save the ipn. (and any other unsaved files) 6. now go back to Assembly2 and add another instance of Assembly1. 7. look at the presentation again, if it's the same as our situation there shouldn't be a + next to the newly added instance.
I hid a part or something in a presentation drawing. This was within the presentation environment.
It asked if I wanted to remove associativity. I did. Now I want to put it back. How do I turn it back on? Basically, I've added new parts and they won't show up in the presentation explosion.
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.