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 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")
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 would like to find out how to fix two components in an assembly relative to each other, and using VBA.
What I want to do is to build the assembly (which consists of two components A and B, and also other components) and then animate the joint in component B. In order to do so, I have to fix A to B so that A moves along with the joint motion. But my problem here is that the attachment of A to B is not definite - it depends on other components in the assembly, so I cannot predefine a constrain between the two.
Is there a way I can easily fix two components relative to each other in an assembly without prior knowledge on how they are positioned relative to each other?
I'm thinking of measuring and then constraining the origins of the two part files in 6DOF, but I'm not sure how i can extract the angle between the axes and then constrain them in the correct way (mating using angles has always been confusing for me).
I use hinges in my door assemblies and they are basically placed into the assembly each time and become flexible so the doors can operate. The hinges are one size and don't change in any way or shape. What is the best practice for inserting these hinges into my door assemblies?
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
I made a simple aluminum frame with clear polycarbonate shields. Somehow, when I put it on drawing sheet, some parts behind the polycarbonate are missing. If i make the polycarbonate invisible, the missing parts appear again. This strange phenomenon started today. It didn't happen before, and no parts were missing behind the clear polycarbonate.
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.
In ipn file, after I created sequence and wanted to add in some more components. When I edit the sequence, I cannot find the place to add the components.
I would like to know if there is any possibility to replace a component with another one, that has a different internal name. Losing the dependencies would be acceptable.
ReplaceReference and PutLogicalFileNameUsingFull always return the error "wrong parameter".
I'm attempting to run an FEA of a preliminary design to isolate the best locations for weight reduction. When I attempt to do the analysis with convergence criteria of
Maximum number of h refinements: 2Stop criteria: 8%h Refinement Threshold: 0.5
I get the following issue:
Mesh failed: Face failure: Spar:1Model separates into 36 independent componentsSoft spring was added Is there anything I can do either model or simulation wise that will keep the model from separating?
Why can I not constrain placed objects with three constraints? Anything I place constrains with one constraint then is virtually fixed (without being) and cannot even be moved to allow for further constraining.
Look at the vifdeo file attached. I have not problem to create one component fade out (from 100% to 0%). But how to show the another component fade in (from 0% to 100%)? Studio does not allow fade from 0% to 100%.
I was using "copy components" inside an .iam without any problem. Suddently, when I tried to copy more instances, inventor was blocked and I was not able to copy anymore components. Then I had to close inventor because it seems to be in a bucle.
I have a VBA macro that places selected virtual components into an assembly. I can place virtual components with different part numbers into the assembly with no problem. When I try to place the second instance of a virtual component with the same part number I get an error.
For example: If I place a virtual component with the part number C123A456 into an assembly it shows in the tree as C123A456:1 If I try to place C123A456 again it errors at this line.
'Add selected line as a virtual part Set oOcc = oOccs.AddVirtual(sPartNumber, oMatrix)
I can place multiple virtual parts if I append -1, -2, -3 etc to the part number but I would like to let Inventor use the :1, :2, :3 to keep track.