AutoCAD Inventor :: How To Hide Suppressed Elements
Jul 19, 2013
I have using Inventor api to open an assembly file.But while open the .iam file it will show all the suppressed elements.how can we hide this suppressed elements from showing?
here is my code
Dim asdoc As AssemblyDocumentasdoc = inventorApp.Documents.Open("F:ArunMasterMaster_RF-VH-ZZ-0800-0500-0600.iam")
we are using level of details to suppress few components. when we are trying to take BOM for that level of details. we are getting the suppressed components also. is there any control we can do avoiding that suppressed component. I know if you make the BOM sequesnce to reference that wont come in BOM. but we need that file for other LOD.
I have created some "programs" to automate drawing creation of some of our most common products. The problem I hav eis with my assembly drawing. When parts are suppressed and unsuppressed, they don't seem to behave the same way that features do. When you dimension a part feature in an idw and suppress that feature, if a week later you unsuppress that feature the dimenensions come back. Parts don't seem to follow this behaviour. If you dimension a part, suppress it, open and save the drawing, then later unsuppress it and open the drawing back up the dimesnions do not come back. Is there anyway for me to get these dimensions to "stick"?
How could I center the suppressed constraint? I woul like to selecet it in the listbox.
Private Sub CommandButton1_Click() Dim oAssDoc As AssemblyDocument Set oAssDoc = ThisApplication.ActiveDocument Dim oConstraint As AssemblyConstraint For Each oConstraint In oAssDoc.ComponentDefinition.Constraints If oConstraint.HealthStatus = kSuppressedHealth Then Call ListBox1.AddItem(oConstraint.Name) End If Next oConstraint End Sub
I am trying to model a large Control panel assembly using Inventor Pro 2011. It comprises of a main assembly with several adaptive sub assemblies containing the various items. (Relays assy, label assy, fixing assy etc). All works ok until I start using Levels of Detail to enable me break the assembly into smaller workable parts. I.e. Left door, right door, main panel full, main panel no doors etc. These will be used to create view reps from for my drawing views at a later date.
The problem I am having is I keep getting constraints failing on parts which are suppressed in various levels of detail. An example of this Is when I go to right door LOD and do a rebuild all, I get constraint errors from item relating to the main panel which is suppressed. I can suppress the constraint causing the error but when I return to the full panel LOD the constraint is still suppressed and the parts appear In the wrong place.
I started with a huge ipart table which was created by a collegue who has now left. The factory was unmanageable as it had reached the maximum amount of columns and was running very slowly.
To combat this, I decided to split the table in half so that the ipart will become two iparts. I am now working on the first half...
A lot of features are unque to one or a few parts, so doing this enabled me to delete columns if all values in the columns matched after the table was halved.
I thought this would speed up the file but I have now realised I have a bunch of features sat in the browser than are suppressed in every member!
Is there any way to use ilogic or vba to run a script that will delete a feature if it is suppressed in every member?
Inventor 2013 Certified Professional Autodesk Inventor Professional 2011 Windows 7 Enterprise, 64-bit
I have a configurator assembly, which is controlled with an iLogic rule.
one of the parts is being changed in a lot of ways according to the different configurations. But in one of the Configurations the part must be suppressed, which works fine, however next time i run the rule i get an error message from all the other instances where it would change a parameter if the part was active.
I have tried adding if [the configuration that makes the part suppressed] = False then, in the beginning of the the code that fails, to simply prevent it from running, but it still makes an error.
and as you can see i have a lot of lines where the part normally would be configurated.
Error on Line 628 : Method arguments must be enclosed in parentheses. Error on Line 629 : Method arguments must be enclosed in parentheses. Error on Line 633 : Method arguments must be enclosed in parentheses. Error on Line 634 : Method arguments must be enclosed in parentheses. [code]........
I don't understand how to enclose the argument in parentheses.
How to modify the code below to delete suppressed parts in a pattern (entire pattern)?
Dim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesoComps = ThisDoc.Document.ComponentDefinition.OccurrencesFor Each oComp In oCompsIf Component.IsActive(oComp.Name) = False Then oComp.DeleteNext
Code works fine if there are single instances of the part. It throws a error when you have a suppressed pattern.
I have a iLogic assembly with some parts and sub assembly. I need to do a copy of this " Generator " to apply the result later in other assemblies. (something like a member of a ipart or i assembly).
Is there any way to do the copy the assembly to a new folder without the suppressed parts and subassemblies (wich are suppressed in the initial main assembly by iLogic rules)?
I tried to use "Pack and go" and "iLogic design copy", but they always bring the suppressed parts and assembly's, to the new folder and which i don't need to apply in the other assemblies.
I have an Ipart I created and in some of the parts there is a swept feature. In other configurations it is suppressed.
The issue is that the 3D sketch for the sweep gets broken going to/from the configuration. The path is generated from an extruded cut that is also supressed.
I tried to recreate the sweep using a different sketch, but that wasn't successfull.
Is this a bug or is there a different aproach I can use?
Is there a way to work with parameters on a suppressed assembly using iLogic.Everything works fine, but when I suppressed a part ilogic rule give me an error: Parameter: The component named "xxxxx:1" was not found.
In the drawing environment, is it possible to use the same file to show a client (example) option a or option b from the file? Meaning, can I create a separate side by side view in the idw using the same assembly file, but in different suppressed states? Or how does this work specifically? Right now all I have done is saved out the file with the different suppressed state showing, but this became obviously cumbersome quickly since the parts are similar and keep updating, thus forcing me to create yet even more optional files. I'm thinking that iLogic could be a possible fix.
When I suppress a part or a sub-assembly in Inventor 2013 and then right click on the suppressed item in the browser window I always get an cadabundus error message (see attachment), after I press OK I get the normal right click menu hovering over the item.
I have Inventor 2013 RTM 64 bit Build 138, and running on Vista 64bit.
I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013
I'm trying to print a certain window of my drawing, but I'm not wanting to print every element contained within that window. How do I hide these elements when they're on the same layer as other elements that I want to print?
I like to export IPT images (Wireframes with Visible Edges Only) to documents and manuals, but I would like to hide lines where radii meet flat planar features in order to keep the image clean.
I have made a series of drawings from a Inventor file to send to a customer, but I am not willing to have the Bill of Materials print on them. Is there anyway to hide or set the BOM not to print?
Im running inventor 2013 and I want to hide a part in one view of an assembly, and for some reason when I go into the browser and try to deselect the visibily it is greyed out. I don't know why it happened.
I'm working with a series of 3D sketches. Some sketches must remain visible as reference. While creating the sketches, the dimension call-outs grow too distracting from the linear sketches. Is it possible to hide, or toggle off/on the dimensions while leaving the sketch geometry visible?
In the drawing the panel is detailed to show hole locations and sizes on one sheet and in another view @ 1:1 the silkscreen is shown.
The silkscreen is a feature on the panel, text either embossed or extruded .005" outward. The feature is colored (filled).
On my drawing all the silk screens show up like un-filled fonts. This really bothers some people and my task is to fill the fonts.
Also i need to get the silkscreen by itself and (suppress/invisible) remove the other features from the view.
Suppress will not work as the feature i am trying to show will also be suppressed. Visibility of features is not an option.
Q. HOW CAN I GET THE FEATURE SEGREGATED AND SOLID IN MY DRAWING? but still a feature of the part. i.e. i don't want to create an assembly with a panel and a silkscreen.
How do i suppress features in a view on the drawing?
Is there some way in an Inventor idw drawing to 'hide' a page. I have created an extra page with information for future changes but do not want it to printed or be counted in the total number of sheets.
I have created a cable/harness in my assembly. I have to edit the cable to change visability to centerline display in order to turn off visibility in a drawing view. The issue is that on one sheet of my drawing I need to show the cable, but not on the others. As soon as I turn the rendered display on, the cable shows up on all sheets and the visiblity command has no affect. Is there a hotfix for this? I don't remember a problem like this in 2011.