AutoCAD Inventor :: Setting Document Visibility Via API
Jul 11, 2013
Is it possible to make a document invisible after it´s open? I would like to keep it in memory but not reachable to the user.
Making the document view(s) invisible is not what I´m looking for. I need to clear/close/delete all views WITHOUT closing the document..
( So it has the same state as if opened through API with the visible parameter set to false, e.g. Document.VIews.Count = 0
View 7 Replies
ADVERTISEMENT
Jul 13, 2012
My part unit length has been setup as millimeter(mm).Once I created a line within 2d sketch by VBA script, the result of length always become to 10 times of value.For example, the two points of line is (0,0) and (0,4). But the result of length measured is 40.
My problem is how to create a line with part document setting?
View 1 Replies
View Related
Aug 17, 2011
Attached is a lisp that reads an attribute block value and uses that value to set a named view. The attribute block is a diesel expression field which reads the drawing number, so it changes as the drawing is saved to a new number. I use it when I am preparing road alignment drawings. I prepare the first drawing in the set, saving views for all drawings and when I'm done I copy that drawing 001 as many time as I need, rename them drawing 002, drawing 003 etc. and use the attached lisp with scriptpro to set all my saved views.
I also have a dynamic block called "key" in the drawing with visibility states matching the named views.
either expand this lisp or create a new lisp to set the visibility using the "VN" variable.
View 6 Replies
View Related
Feb 11, 2013
I tried to print thisdrawing.modeldocument in a vba sub, but it doesn't work.
View 4 Replies
View Related
Oct 17, 2011
While making a drawing and there is something which I want to turn visibilty of for a while, I will select from a sub-menu "Visibility" (see the attachment) But what I must do if I want to turn the visibility on again for example to that hole shown in screen shot?
View 2 Replies
View Related
Jul 27, 2012
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.
View 2 Replies
View Related
Mar 30, 2011
For some of my asemblies I have had to turn visibility off in some parts.
How do I turn it back on?
View 5 Replies
View Related
Oct 22, 2012
Did something change in 2013 as far as the way surfaces are displayed in an idw? the surfaces always always had to be "included" in a idw view. now they come in as regular geometry.
win 7 64 bit sp1
cpu intel xeon E5-2687W0@3.106
eight core
two solid state hard drives
32 gig of ram
Autodesk product design
suite premuim 2014 64bit
Nvida quadro 4000
Space Pilot ver. 1.6.2 2010
View 9 Replies
View Related
Oct 11, 2011
I want to turn off visibility of certain parts in an overlay view but when I right click on the parts or the view(s) the visibility is greyed out. Why does this happen and how can I correct it?
Inventor 2013
Windows 7 Professional 64-bit SP1
HP EliteBook 8470w
Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Memory: 16 GB
AMD FirePro M2000
3D Connexion SpacePilot
View 3 Replies
View Related
Oct 15, 2013
I have 2 problems:
1. created a turbine whose blades are made from some planes that I applied thicken offset command. I applied circular pattern to multiply the blade around center point but i get too many planes and i must to make invisible each one. How can i make invisible all planes in the same time.
2. After i make them invisibile i exit from that part but when i start that part again or when i place it in an assembly all planes are visible. What should i do to make them invisible for ever.
View 2 Replies
View Related
Apr 8, 2013
The attached part has multiple holes in multiple locations...... I want to show in the .idw one set "row" around the circumference at a time.
So I want to show set one, how far in from the end of the tube, then how many and at what degrees around the 360*. to do this i can only suppress the other features right now.
so when I make another View those same parts are suppressed and i cant change it around otherwise it messes with the holes I want and don't want to show in the previous view.
View 4 Replies
View Related
Mar 20, 2012
I sometimes edit parts in assemblies. When I turn sketch visibility on or off it does not stay the way I left it. I should be able to edit a part in part view or assembly and the view setting off or on should be how it was last saved. If I saved an ipt with the vision it should be on in any & all assemblies it lives in but its not. I have noticed the difference in new version 2012 - 2011 was no problem.
View 1 Replies
View Related
Jan 9, 2013
Using Inventor 2013. In an IDW, I have toddled off visibility of lines in a view. I would like to regain visibility of these lines. HOW?
View 2 Replies
View Related
Apr 17, 2013
See attached screenshot.
Somehow my top level assembly shows the UCS triads for hundreads of my parts (but not all of them). I know I didn't turn the visibility of all these UCS triads on manually. Now I cannot get them to turn off.
When I toggle the visibility status of a few and save the file they come back when the file is reopened.
Note, they are NOT visibile in their respective part files, just in my top level assembly.
View 6 Replies
View Related
May 7, 2012
How to manage the visibity of parts on a particular view? For example, in a view there 10 parts appeared. I would like to make only selected parts visible on the said view.
I have the manual steps on how to hide them but when I try to code it using the said step, the parts on the model file were hidden not in the view.
I use oView.ReferenceDocumentDescriptor.ReferenceDocument in traversing the parts but this refers to the model file.
Here is my
Set ViewDocument = oView.ReferencedDocumentDescriptor.ReferencedDocument
For Each ViewOccurence In ViewDocument.ComponentDefinition.Occurrences
If Not nozzleName = ViewOccurence.ReferencedDocumentDescriptor.DisplayName Then
ViewOccurence.Visible = False
End If
Next
View 8 Replies
View Related
May 10, 2012
How to manage the visibility of components in a particular view?
In attach file,View 2 is a detail view of view 1. On view 2, I want to display only the nozzle (Drain (H):1) and shell (C1306388341:1) component. So I need to set the visibility of the other component to false.When I try to code this, the components of model file of view 1 was updated not the view.
Set ViewDocument = oDetailView.ReferencedDocumentDescriptor.ReferencedDocument
For Each ViewOccurence In ViewDocument.ComponentDefinition.Occurrences
If nozzleName <> ViewOccurence.ReferencedDocumentDescriptor.DisplayName Then
ViewOccurence.Visible = False
End If
Next
The reference document I set for my code is not the document which contains the view 2. So I need to the actual reference document where view 2 belongs which is in the box of view 2 that contains 5 components.
View 2 Replies
View Related
Jun 12, 2013
I am trying to control the layer visibility on different sheets of the same drawing but have not quite figured it out yet.
We add a DXF sheet to drawings with flat pattern views to export to DXF for our laser. I wrote a VBA macro that adds the sheet, copies the flat pattern view and removes the dimensions to clean it up before creating the DXF. I am having a problem turning off the visibility of the bend lines on JUST the DXF sheet. I can turn bend lines and hidden lines off with this:
'Turn off bend lines and hidden linesFor Each oView In oSheet.DrawingViews 'Set the layers collection Set oLayers = oDrawingDoc.StylesManager.Layers 'Turn off all bend lines and hidden lines For Each oLayer In oLayers If Not InStr(oLayer.Name, "Bend Centerline") = 0 Or Not InStr(oLayer.Name, "Hidden") = 0 Then oLayer.Visible = False Else End If Next Next
but it turns them off on all sheets. I want to only turn them off on the DXF sheet. How would this be done?
Inventor Professional 2014 64 Bit
Windows 7 Professional
NVIDIA Quadro FX 4600
Dual Intel Xeon E5540 CPUs
16GB DDR3 Ram
View 6 Replies
View Related
Jul 13, 2012
I have a sketch that has visibility on. In 2013 I can't find the turn visibility off.
View 3 Replies
View Related
Sep 22, 2011
I have a code generated a rendered view on my idw. My dimension lands on a specific location in my view that makes the dimension difficult to see due to the rendering colors... Is there anyway to have a dimension have a white box behind it to obscure some of the rendering to make the dimension value more visible?
View 2 Replies
View Related
Mar 30, 2012
when in assembly mode when i right click on a part workplane there is sometimes the Visibilty option and other times there is no Visibility option ?
View 3 Replies
View Related
Jun 25, 2013
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.
View 4 Replies
View Related
Mar 26, 2012
I am currently having trouble viewing welds on drawing views. The outer line of the weld is visible but there is no fill or hatching. I have tried to edit visibility settings, etc and nothing works. Also note that other welds show up and that all the physical welds do show up on the assembly models.
View 9 Replies
View Related
Mar 21, 2013
I'd like to set up a keyboard shortcut so that when I press the 'V' key, inventor toggles the visibility of the selected part or assembly. However, "Visibility" seems to be about the only command that doesn't exist in the list of keyboard shortcuts*. I found this post in which someone says it's not possible, but might be using VBA. I've done some iLogic but know nothing about Inventor's inner-working VBA. I'm wondering if there's some workaround, VBA or otherwise, that'll allow me to toggle visibility using the 'V' key.
*actually it does but it says it's only available for use in Inventor Studio. Go figure.
Using: Autodesk Inventor 2013 Product Design Suite
View 2 Replies
View Related
May 19, 2008
Just thought I would post this since I didn't see it anywhere else. With Inventor 2009, the views in IDW are automatically set to associative which causes the visibility option for parts/assemblies to be grayed out.
View 3 Replies
View Related
Mar 19, 2012
I use INV2012. It was very easy in the older version of INV to switch off all unwanted items in drafting. But, now we have to work with design view rep. Currently, I am working on a drawing which has surfaces. Though I saved the view rep without those surfaces, still I am getting it in drafting. I have unchecked assosiative in drawing view rep still no use.
View 1 Replies
View Related
Jun 11, 2012
Ok we just got 2012 and now i cant view that weld surface look, where instead of just a chamfer if actually looks like a weld. the setting was automatically on in 2012 but in 2013 it isnt.
how do you turn it on?
View 1 Replies
View Related
May 20, 2013
My customer is using the Autodesk Inventor 2012, He has a problem which is unable to turn the visibity of the parts on or off in the assembly environment.
there is no any option for visibility when right click to the part in the browser.
refer to the image attachment.
View 2 Replies
View Related
Jul 24, 2012
As I learn more about Inventor I have been doing more and more skeletal modeling. It work well for what we build here. But the biggest problem is the visibility of all the workplans and sketches. I know of the buttons to turn them on and off, but everytime I make a sketch and edit a sketch, inventor default turns all of them on. Making it impossible to see what you are working in the assembly enviroment. Not only that, it bogs down my machine untill I turn them off. Same goes for workplanes, if I create one the rest appear.
View 9 Replies
View Related
Oct 11, 2011
I've noticed that one can turn off the visibility of an entire component pattern by manually right-clicking the pattern in the browser and unchecking "Visibility". However, when one tries to automate this process with the following code, only the first element of the pattern is made invisible.
Component.InventorComponent("Pattern1").Visible = False
Is there a better way to do this, or will I be forced to develop a "workaround" like first changing the number of elements to 1?
I've been desperately trying to find a way to "turn off" unneeded assembly components without iAssemblies or LOD's, but Inventor always finds a way to stop me. This workflow of turning off visibility and setting BOM status to "Reference" would work if only I can make patterns invisible, also.
View 1 Replies
View Related
Jul 21, 2008
The API doesn't appear to provide the ability to turn visibility off on a custom table row. Is there anyway to turn off the visibility of a row?
Auto desk: do you have plans on adding this functionality to the API?
View 4 Replies
View Related
Jan 10, 2013
Opening large assemblies containing LODs some components missing. The assemblies are build with inventor 2010 and now is totally migrated in in 2013 SP1.1 Update1. If you open the sub assemblies these are correctly on. I've tried to set visibility on, off, change representation of view, positional and activate various LOD, including Principal LOD.
If you position another instance of the sub assemblies, one is on but the other isn't visible. In the drawing all is correctly represented
See the attached .PDF
This occurs in Factory and Product design suite. Graphics card and relative drivers are certificated. I can't attach a P&G because is a very large file (250Mb).
View 5 Replies
View Related