AutoCAD .NET :: Unable To Find Assembly?

Feb 17, 2012

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.

View 6 Replies


ADVERTISEMENT

AutoCAD Inventor :: Find Interior Volume Of Assembly By Subtracting Assembly From Block

Apr 23, 2012

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?

Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013

View 2 Replies View Related

AutoCAD Inventor :: Find Part In Assembly From BOM

Nov 25, 2013

I've created a BOM of parts from a large assembly and it has an item just listed as pt.1.

View 9 Replies View Related

AutoCAD Civil 3D :: Cannot Find Wrapper Assembly

Jul 13, 2011

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

View 9 Replies View Related

AutoCAD Inventor :: Find Volume Of Parts In An Assembly?

Oct 2, 2013

How do i find the volume of the parts in an assembly?

View 9 Replies View Related

AutoCAD Inventor :: How To Find A Corrupt Ipt Within A Large Ish Assembly

Jul 4, 2012

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

View 9 Replies View Related

AutoCAD Inventor :: How To Find Parts That Start With S In Assembly Using VBA

Sep 3, 2013

how to find parts that start with an "S" in an assembly using vba and show it in the msg box?

View 3 Replies View Related

AutoCAD Inventor :: Using FindUsingPoint To Find Assembly Occurrences

Sep 30, 2013

I'm using FindUsingPoint to find Assembly Occurrences
 
Inventor.SelectionFilterEnum[] filter;filter = new Inventor.SelectionFilterEnum[1] { Inventor.SelectionFilterEnum.kAssemblyOccurrenceFilter };Inventor.AssemblyDocument activeEditAsmDoc;activeEditAsmDoc = (Inventor.AssemblyDocument)inventorapp.ActiveEditDocument;
Inventor.AssemblyComponentDefinition oAsmDef;oAsmDef = activeEditAsmDoc.ComponentDefinition;Inventor.ObjectsEnumerator istDaWas;istDaWas = oAsmDef.FindUsingPoint(oBias2, ref filter, suchRadius, false);

Works fine within a top level Assembly (ActiveDocument == ActiveEditDocument).

While in-place editing a sub assembly calling this code FindUsingPoint throws an "ArgumentException".

(oBias2 and suchRadius are tested)

View 2 Replies View Related

AutoCAD Inventor :: Find Excluded Component Patterns In Assembly

Mar 12, 2013

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:

oDoc.SelectSet.Select(oPattern)
ThisApplication.CommandManager.ControlDefinitions.Item("ExcludeCtxCmd").Execute()

But it seems I can't identify which patterns are excluded to start with, like:

If oPattern.Excluded=True Then...

I get an error when I try this.  Is there a way around it?  How can I find and select excluded component patterns in order to toggle them to "Include"?

View 2 Replies View Related

AutoCAD Inventor :: Can't Find Content Center Items In Assembly

Mar 20, 2012

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?

View 2 Replies View Related

AutoCAD Inventor :: How To Find Cross Section Details In Assembly Level

Jun 27, 2012

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.

View 7 Replies View Related

AutoCAD LT :: Unable To Find Midpoint

Dec 22, 2011

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.

View 6 Replies View Related

AutoCAD Inventor :: Unable To Find ID For JPG

May 28, 2013

I can get the DWG translator Add-In with :

Inventor.TranslatorAddIn dwgAddIn = (Inventor.TranslatorAddIn)InventorOpen._invApp.ApplicationAddIns.get_ItemById("{C24E3AC2-122E-11D5-8E91-0010B541CD80}");

But I can't find ID for JPG.

View 1 Replies View Related

AutoCad :: Unable To Find Setting That Would Need To Be Changed?

Aug 13, 2012

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.

View 4 Replies View Related

AutoCAD LT :: Unable To Find PFD Design And Symbols?

Aug 17, 2012

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

View 3 Replies View Related

AutoCAD Map 3D :: Unable To Find Drop Down For Polar Array

Jun 26, 2013

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.

View 2 Replies View Related

AutoCAD 2013 :: Unable To Find Inserted Block

Nov 5, 2012

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.

View 4 Replies View Related

AutoCad 2D :: Unable To Find Command Line Window

Feb 9, 2007

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.

View 9 Replies View Related

AutoCAD Inventor :: Unable To Expand Assembly In Presentation (ipn)

Nov 19, 2012

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.

View 8 Replies View Related

AutoCAD Inventor :: Unable To Find Cable And Harness Template

Apr 20, 2013

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.

View 2 Replies View Related

AutoCad :: Unable To Find Image From Tool Palette For Inserting

Aug 16, 2011

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.

View 2 Replies View Related

AutoCAD .NET :: Unable To Find Font Property In Mtext Object

Jan 24, 2012

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]......

View 2 Replies View Related

AutoCAD Inventor :: Unable To Edit Part In Assembly / 2014

Jun 7, 2013

When I double click a part in an assembly it does not edit the part.

When I right click "edit" is greyed out.

How do I edit a part in an assembly.

View 1 Replies View Related

AutoCAD Inventor :: Unable To Exclude Parts In A Derived Assembly

Jul 14, 2013

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.

View 4 Replies View Related

AutoCAD Inventor :: Unable To Move Unconstrained Parts Within Assembly

Nov 8, 2012

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?

View 9 Replies View Related

AutoCAD Inventor :: Unable To Extrude Sketches On Assembly 2011

Jul 30, 2013

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.

View 3 Replies View Related

AutoCAD Inventor :: Unable To Alter Linked Parameter In Assembly

Sep 12, 2012

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.  

View 9 Replies View Related

AutoCAD Inventor :: Unable To Switch Component Rows Within Assembly

Oct 4, 2011

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

View 2 Replies View Related

AutoCAD Inventor :: Unable To Find Round Perforated Plate Style

Nov 13, 2012

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.

I just found Oblong Perforated Plate as attached.

View 1 Replies View Related

AutoCAD Inventor :: Unable To Find Suitable Modeling Method For Part

Nov 28, 2012

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,

View 9 Replies View Related

AutoCAD Inventor :: Unable To Find Supplier Content On New Mosaic Website

Mar 13, 2012

Assist with locating the Supplier Content in the new Mosaic website?

[URL].......

There is no obvious links to browse and download the contents as before.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved