I have an Inventor drawing which contains multiple sheets. One of the sheets is a drawing of the master assembly. Another sheet is a drawing of a part that is in the master assembly. This part shows up multiple times. I'd like to have a text box or something in the part's drawing that I can put: "Quantity: [Quantity]" where [Quantity] is the number of occurances of the part in the master assembly. I've been searching for a while and can't find a way to do this.
I am trying to find the interior volume of an assembly (when am I not?!?!) by subtracting the assembly from a block that surrounds the most of it. Somewhere the assembly has a "leak" and I have been trying to use the Cross Section Analysis to track down where the inside lump is connected to the outside lump to be subtracted. Is there a less time consuming way to dynamically drag a plane across and get cross sectional views?
Even better is there a simple way to animate the analysis plane moving across the block so I can hopefully just watch and pause it when I find a leak?
I have an assembly that has both downloaded parts and self created parts.
The problem I have is that if I isolate and then later undo isolate, Inventor will appear to freeze. If left for may be 40 mins or so the undo isolate action will have completed. The progress bar (bottom right hand corner) will freeze on a particular component (I think - the numbers by the side of the progress bar no longer count).
There are maybe 70-80 parts within the assembly and there are no showing errors. Is it possible to identify the 'corrupt' component? So I can replace it.
Computer:- HPz210 16Gb ATI FirePro 5800
Snap! Snap! I've Finally Cracked! ---=//////////=--- HP z210 16Gb ATI FirePro5800 Autodesk Produst design Suite 2012
I have an i assembly with some lengthy and unique ilogic to control what parts are included / excluded based on user inputs in a form. To begin, the program includes all components, and then excludes the ones that aren't needed. This is basically, briefly what the first part of that looks like:
For Each oCompOcc In oCompDef.Occurrences i=i+1 'Include all currently excluded components If oCompOcc.Excluded=True Then oAssObj=oCompDef.Occurrences.Item(i) oDoc.SelectSet.Select(oAssObj) ThisApplication.CommandManager.ControlDefinitions.Item("ExcludeCtxCmd").Execute()InventorVb.DocumentUpdate() Else End If Next InventorVb.DocumentUpdate()
So this works just fine, mostly. I run into an issue with the component occurrences that are within patterns (I have 2 patterns - 1 circular and 1 rectangular). This code will "Include" all occurrences inside an "Excluded" pattern, but the pattern itself remains "Excluded". In other words, in the browser, the pattern name appears greyed out and crossed out, but all the elements and the components within them appear "alive", so to speak. But the BOM indicates a Qty. of ZERO for these components since the pattern that.
I can toggle include / exclude of patterns using the same method:
When my colleague opens one of my assembly's which has content center items in it his inventor cannot find them and vice versa. I am assuming my content center items are coming from my hard drive and not a server from the same place as him. How do you set it up so both our computers take content items from the same location?
I'm dreaming of a Macro to automate the following process that we use every day. We use it to highlight connectors so people can build our product easier.
We manually do the following:
In a drawing view we select a whole set of components (the connectors). Afterwards we change the color to green (using properties) & press hidden lines. This way you can clearly see where you need to place the connectors.
-> see .pdf attached with some pictures making it all clear
I'm being busy to create the code for this but I'm stuck over adding occurrences to a selection set so I can then apply the hidden line command
This is my code so far:
Sub AutoColor()'Step 1 Select a drawing view ' Get the active drawing document. Dim drawDoc As DrawingDocument Set drawDoc = ThisApplication.ActiveDocument ' Have the user select a drawing view. Dim drawView As DrawingView Set drawView = ThisApplication.CommandManager.Pick(kDrawingViewFilter, "Select a drawing view.") Dim docDesc As DocumentDescriptor Set docDesc = drawView.ReferencedDocumentDescriptor ' Verify that the selected drawing view is of an assembly.
[code]....
Step 1 works
Step 3 works
Step 4 & 5 are for a later moment
Step 2 calls the sub "SelectOCC". this sub cycles true the occurrences, I can filter them on file location so I only get the components needed (the connectors). In theory it should be possible to add the given occurrences to the selection set so I can run Step 3 afterwards on it.
But I don't succeed in doing this, I've tried countless of methods but without success.
How to find the cross section details like area and movement of inertia at particular cross section
in( solid works there is a direct option select the section and select the face and click on the calculate automatically gives the are and movement of inertia etc in part and sassy level also) but in inventor in part level its possible but in an assembly level.
My application, writing in C#, exports all vertex-data of parts in an assembly to external files.It uses the surfacebody.getExistingFacets method to do this and shows a progressbar to visualise progress.
The application works fine, only when it is finished, when I zoom in or zoom out in inventor, a huge delay exists before the actual zoom is done. And everytime I scroll the mouse wheel or touch my 3D mouse the delay is there.It's really up to several seconds everytime.
However when I close the assembly and re-open it again immediately after my app finished, these delays are not there anymore.Do I have recalculate something, or do I have to invoke a 'free-something' command ?
I have an assembly with 10 parts in it. We use many assembly features at the assembly level (Revolve cut, Extrusion cut..etc). How to find the mass difference of each part by comparing at its parts level and its assembly level.
I have a dll which shows simple dialog, which in its constructor reads from a file located in the same folder as the dll, to populate some of the controls in the form, like combo boxes. The assembly works perfectly at local pc, but when I take release copy of the dll and the file at work, I cannot read from the file.
I am able to load the dll with the Netload, but when i start the command it shows - "Unable to find assembly 'Pressurized Pipes, Version=1.0.0.0, Culture=neutral, PublicKey Token=null'. And when I click OK button shows second dialog saying "Unhandled exception has occurred in a component in your application. If you continue, the application will ignore this error and attempt to continue. Invalid Argument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex.
Details:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at Plumbing_Pipes.Pressurized_Pipes_Form.populatePipeTypeComboBox() at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
It seems to me that I am not able to Deserialize the file and read from the list in the file, which list I use to populate the combobox.
I am using just the name of the file to deserialize it, assuming that the dll will look in the folder where the dll is located.
C3D 2011. 64 bit. sp1 and sp2 installed windows 7 enterprise 64 csharp 2010 express
no problems referencing managed dot net libraries; already developed some working solutions..now I need to reference the COM libraries..when I try to reference the AEC Base 6.5 Application Library (program files ........ aecxuibase65.tlb) the response is error: cannot find wrapper assembly.I have tried:
1 - the registry edit from the api training session
2 - downloading the object arx sdk and referencing x64 dll's from there
This is probably very easy using ssget or something, but I don't know exactly how that works. All I need to do is to explode any occurrences of a block with a particular name.
I'm looking for the best way to create a separate assembly out of various component parts in an existing assembly so that the whole thing can be placed in an assembly as you would a part, I know it's possible to demote components within an assembly but are there any other methods similar / better ?
We have an iLogic assembly with to parts in it. Maybe to cylindrical parts. The iLogic rules should do the following.
1. Start a Rule after open document.
2. This Rule starts a Rule in the first cylindrical component.
3. This Rule ask the user for a diameter.
4. The assembly gives this new parameter value to the second component
5. Then the assembly calls another rule in the second component to change it with the new parameter
Everything is working fine when the following combinations are taking place:
1. I open up the assembly out of vault or from a local drive or an accessible server drive
2. I insert the assembly as sub assembly in another assembly from a local drive or an accessible server drive
It don't work with the following situation:
- I insert the assembly as sub assembly in another assembly out of vault
Then the user becomes the dialog "Choose a diameter" twice.
I don't know why, but I have the idea it has something to do with the functionality of inventor to insert a component more than once. If you insert a component in an assembly Inventor gives you the opportunity to add more than one occurence after each other.
change that behaviour? Maybe a switch to change that inventor "add more than one occurence" behaviour.
I have encountered a problem with the Tube and Pipe styles.
As you can see, I have a rack assembly with a custom tube and pipe style. A wire as a tube in orange, and a tube support in white. Both have their seperate colorations at a style in the tube and pipe styles editor
When placing the rack assembly into the main assembly, it reverts to the coppor coloration I changed from the original style.
Steps I've taken:
Exported the styles .xml and Imported the styles into the master tubeandpipe.iam
Imported the user created .xml styles into the main assembly file nothing seems to work
My assembly has grown (about 50 parts) to where I need to consolodate some parts into subassemblies for reuse and alternate iterations of the basic design.
When I import the original parts into a new assembly, all of the constrains I created are not there of course.
I've tried creating a new empty part and then deriving a new part from the assembly, but I can't add, delete or edit any parts.
I looked at using Shrinkwrap, Substitutes, iParts, Multi-body Parts, and Multiple Solids but I remain confused.
In retrospect, maybe I should have created the subassemblies between the part and assembly stage but I didn't.
I want to be able to control the location/position of a component in an assembly. This is easy enough through the iProperties/Occurrence tab and then adjust the location of the X,Y, and Z offsets. Is this possible using iLogic? I have been unable to find a function to access via iLogic. Ultimately I am trying to translate a component about an axis not a pattern.
I have a two part duct fire damper assembly. The IDW has the combined two part assembly, which I know how to turn the CoG on, so that it can be dimensioned. The problem is each piece will more than likely be hoisted separately so I would like to show the CoG for each piece, not the combined master assy.is there a way to do this?
Inventor 2014 Windows 7 Pro SP1 Intel(R) Core(TM) i7-3770k CPU @ 3.50GHz 16GB RAM NVIDIA Quadro 4000 3D Connexion SpaceMouse Pro
I would like to see if there is a routine that allows my iLogic code to detect if my assembly contains another assembly within it. If my assebly contains assemblies then I don't want "MyRule" to run. Else if it does then I want "MyRule" to run.