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.
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?
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
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?
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.
I can't snap to a midpoint in a line. For example, If I draw a line 10" long, I can't draw a line from the center of that line. It used to give me an auto snap option to go to, but now it only allows me to snap to the ends of that line.
I opened my Autocad today to discover that none of the drawings I open are displaying any type of text. This includes dimension text, multi/single line text, and titleblocks. My coworkers can open with text, so I am confident that it is a setting of some sort in my program. I have looked thropugh every menu and option and I have been unable to find the setting that would need to be changed.
I installed ACADLT 2012. I am unable to find PFD design and symbols. I am not sure if LT comes with it or if needs to be downloaded separately as a separate package
I cannot find the drop down for Polar array. I just have the 4 squares for array when I click on it I can request polar as the array type but it gives me a quirky menu with grips and does not allow me to set fill angles and number of pieces. I had issues loading this program, Map3D 2013 and was wondering if it was skipped in the installation, The circular pattern button is not on list of commands but does show in the documentation provided.
I inserted a block into a very busy drawing. I can't find it now. Is there a way to locate it? I want to delete and insert a newer version, but I can't until I delete this one.
I can't find my Command Line Window. It somehow became undocked and is no where to be found on my screen. It does not appear to be floating anywhere. I've gone through all my display settings; however it says that it should be there and show 3 lines of commands.
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 have a client that is trying to use the Cable and Harness feature, but receives the following error:
"The Cable & Harness template was not found. The specified location for the project is: [C:Workspace|Design DataCable & Harness|en-US] Please verify that the template file exists.
He has Inventor installed on his D drive, along with most of his other programs. OS, etc are on the C drive. I have verified that he has harness.iam and a Cable&HarnessDefaultLibrary.iwl in the following location for Inventor 2013
C:UsersPublicPublic DocumentsAutodeskInventor 2013Design DataCable & Harnessen-US. As a stab in the dark, I had him copy those files over to his workspace, and re-start Inventor, but same result. Latest updates are installed.
I've recently installed auto cad 2007lt on our new computer. I set up numerous tool palettes with blocks that we use often. I was pulling images from the palettes to my drawing with no problem.
Today when I tried inserting an image from the tool palette it is saying that the image can not be found. I've tried under previous drawings and new templates and have been unsuccessful.
I have 26000 mtext that has overridden font inside the property. set to bold and print out look like crap.
see attached i want all the text to look like the text on the left. right is what they look like now. i just copied a few as an example.
can't find the font property in the mtext object:
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesButton1.Click Dim doc AsDocument = Application.DocumentManager.MdiActiveDocument Dim db AsDatabase = doc.Database [code]......
It says i can exclude parts from the assembly, when i insert it as a derived part, but the exclude button is greyed in the insert derived part dialog box.
I have been building an assembly and suddenly I am unable to move parts according to their constraints. I can move them as soon as they are placed but as soon as I add one constraint it's as if they are glued in place. For example, when I line up two holes I can no longer rotate one part around the grounded component.
Have a turned off some functionality of the program?
I am using inventor 2011 to make an assembly, and No matter wether I sketch off a face or a plane, I cannot get get my sketches to extrude, inventor wants to make cuts when there is nothing to cut. Not sure what I am doing wrong, becasue when I try doing the same thing on a new part it works just fine.
I have created a multi-value parameter in a part and exported it. I then linked it in the assembly but I am unable to edit it. I tried using iLogic but it also does not alter the part. Please see the attached 3 jpegs.
I am trying to switch component rows within my assembly file but can't seem to do so. All of the files are generated, yet and still I am not able to change component rows based on user parameters. Files are attached.
My code is as follow in Ilogic
MultiValue.Setlist("Material", "1", "2") If Material = "2" iPart.ChangeRow("RING", "RING-03:1") End If
I could not find Round Perforated Plate style / appearance on Autodesk Inventor 2013. Maybe it called "Perforated Metal 01 style" on previous Autodek Inventor version.
Please see attached image (I have tried to attach the part file but file size is to large to upload). I have created a sheet metal part, then converted to a solid component to utilize the bend tool. The actual part will need to overlap at the ends and will be joined using spot welds. I would like to be able to illustrate the overlap in the inventor model if possible but how to achieve this.
Before I call it a day and revert to AutoCAD or sketch this into a IDW,