AutoCAD Inventor :: If Statement Between Part And Assembly Document

Oct 11, 2011

I'm trying to write my first VBA program for Inventor with very little programming experience.  I would like to create a userform which displays the materials list within a combobox.

The problem I have is that I would like the userform to remain open no matter which type of file is active. I would like the combobox to display the material list and current material when in a Part file and display N/A when in Assembly file.

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Part Inserted In Assembly File As Tube And Pipe Run Part?

Mar 28, 2012

Dear Sir, In particular project, when I insert part in Assembly file, It is inserted as a Tube & Pipe run part. so that It is not Grounded automatically. What is the settings by which I can insert as a normal part in assembly file ? I have attached herewith the JPG file also.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Rule For Each Part In Assembly To Change Part Parameter

Apr 1, 2013

I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)

The one below doesn`t work.

Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub

View 5 Replies View Related

AutoCAD Inventor :: Simplified Part - Assembly Won't Merge Into One Seamless Part

Dec 11, 2013

I would like to simplify this assembly into one seamless part for FEM calculation:The assembly consists out of parts that, in reality, will be welded together. Due to their form, there is no way to place them exactly onto each other, therefore there are slight gaps between the parts:

Now when I try to merge the assembly into one part via "simplify" --> "create simplified part" and choose "single solid body with seams between planar faces merged", Inventor does not fill these gaps (even though it displays only one part in the bottom right corner of my window). Unfortunately, the remaining gaps brings "contact" problems in the FEM simulation.

how to close the gaps and really merge the assembly into one part?

View 6 Replies View Related

AutoCAD Inventor :: Part Created In Assembly Does Not Update To Part File

Nov 15, 2013

New user 2014

Part created in assembly does not update to part file.

View 9 Replies View Related

AutoCAD Inventor :: Can Part Make Alterations To Other Part When Inserting In Assembly

Mar 29, 2012

I have a part that has protrusions. When i mate that part up to another part that second part needs to have cutouts/holes to receive those protrusions.

i mainly use it in sheetmetal parts. and use the rectangular protrusions on de contour to mate up with corresponding cutouts in the other sheet. this works with positioning and also makes for a nice weld spot/area.

But also for making holes to accommodate a mold pin used in custom punch dies. I want the intervening part to receive a corresponding (propperly tolleranced) hole automatically. Much like a bolted connection does.

same for parts like circlips. i want them to automatically generate the seat in the part it's mated to. Rather than using the axle generator.

Ofcourse one can place the parts and do an in assembly interpart projection and go from there, but i want the part to generate the (predifined) modification to the other part. It would save time and also reduces problems as the parts are moved about or even removed.

View 7 Replies View Related

AutoCAD Inventor :: Find Mass Of A Part At Its Part And Assembly Level

Jul 1, 2013

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.

View 1 Replies View Related

AutoCAD Inventor :: CoG Needed For Each Sub Assembly In A 2 Part Assembly On An IDW

Oct 3, 2013

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

View 5 Replies View Related

AutoCAD Inventor :: Find Part Which Is Inside Another Part Or Assembly?

Aug 20, 2013

If I want to find part which is inside another part or assembly, which means no matter how I turn camera, I always cannot see that part.

Does inventor has this function? Or is it possible to develope by .NET API?

View 4 Replies View Related

AutoCAD Inventor :: Project Sketch From Part To Another Part In Assembly?

Feb 7, 2013

I can't seem to find how to use the Inventor 2012 API to project an entire sketch profile from one .ipt to another .ipt file from within an .iam file.

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 2 Replies View Related

AutoCAD Inventor :: Mirrored Part Gets New Part Number In Assembly

Dec 3, 2013

Why when I mirror a part in an assembly the mirrored part gets a new part number? I want to mirror only the position of the part which is always the same part. Is it possible to do that in Inventor?

View 7 Replies View Related

AutoCAD Inventor :: Get All Reference Document Without Opening Assembly?

Mar 22, 2012

in inventor VBA, is it possible to get all reference documents without opening an assembly file in inventor?

this is i am using right now,

Dim oAssyDoc As AssemblyDocument
Set oAssyDoc = oInvApp.Documents.Open(sAssyPath)
oAssyDoc.Update
Dim oAllRefParts As DocumentsEnumerator
If Check1 = True Then
Set oAllRefParts = oAssyDoc.ReferencedDocuments
Else
Set oAllRefParts = oAssyDoc.AllReferencedDocuments End If

Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2013
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2013
Visual Studio Express 2010

View 6 Replies View Related

AutoCAD Inventor :: Copy Assembly Document To Another Folder

Jul 25, 2013

Can I copy and past an assembley file to another folder in my system,as like as packandgo using inventor api ?

View 2 Replies View Related

AutoCAD Inventor :: Create New FeatureBasedPattern Within Assembly Document

Dec 6, 2013

if there is any way to create a new 'FeatureBasedPattern' within an assembly document. I have 2 assembly occurences - parts. In the Part1 i created a RectangularPattern of workpoints. The Part2 is going to be used in the new pattern. I tried the following VBA code, but it doesn't work.

Dim oPart1 As ComponentOccurrence
Set oPart1 = oAssDef.Occurences.Item(1)
Dim oPart2 As ComponentOccurrence
Set oPart2 = oAssDef.Occurences.Item(2)
Dim oTG As TransientObjects
Set oTG = ThisApplication.TransientObjects
[code]...

The Call function breaks with: "Invalide procedure call or argument". I also tried "Set oAssemblyPattern = oAssDef.OccurencePatterns.etc...." instead of Call function, but with the same result. Same error for declaration change of "oAssemblyPattern" to "FeatureBasedOccurrencePatternProxy".

View 1 Replies View Related

AutoCAD Inventor :: Convert Assembly Into Text Document

Dec 5, 2011

I've tried opening an Inventor Assembly file (.iam) with Microsoft Word, Notepad, and Wordpad but there is a big problem with text conversion.  When I open them I get radical characters that makes it impossible for me to make sense out of.

My hope was to open an assembly file as a text document and modify it to get a different result when opening the model (i.e.- moving a part from one position to another in the assembly by modifying text).  Sort of like when I modify a post processor in MasterCAM to produce a different program with if/then statements or changing text.  Ultimately I want to create an assembly model that reflects our inventory as sort of a "virtual warehouse" where a quick look at the model would let you know where you have space to move and store new inventory.

I think being able to modify inventory locations by modifying text and letting the model update would be faster and easier than someone modifying the model at the end of each day with Inventor.

Is there any type of text conversion software that could take an Inventor assembly file and convert it into readable text?

View 8 Replies View Related

AutoCAD Inventor :: Create Workplane From A Face In Assembly Document

Jul 15, 2011

In an assembly document, I try to add a MateConstraint between male and female side of an 45 degrees elbow. The male side is built on the XZ Plane and Y Axis And I try to create a workplane on the female face.

But a got an error with the last line of code.  Here's my code (vb.net code) :

' Get application object
Dim app As Inventor.Application = GetObject(, "Inventor.Application")       
Dim doc As Inventor.AssemblyDocument = app.ActiveDocument           

[Code] .......

View 3 Replies View Related

AutoCAD Inventor :: Create Dimension On Drawing Document Between Two Parts In Assembly

Feb 8, 2010

From a VB.Net program, I'm trying to create a dimension on a drawing document between two parts in an assembly. I can get the parts using component occurrence. The line marked below throws the following error: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).

As you may see, I have allocated memory for both "Edge" and "Face" (Dim oEdge1 As Face) albeit one is commented out. Attached is the screen shots from the attribute helper add-in. In it, you will notice that the attributes are of type: "Face".

Public Sub CreateDrawingDimension(ByVal Part1 As String, ByVal Part2 As String, ByVal AttName1 As String, ByVal AttName2 As String)
' Get the Active Drawing document
Dim oDrawDoc As Inventor.DrawingDocument
oDrawDoc = invApp.ActiveDocument
[code]........

View 2 Replies View Related

AutoCAD Inventor :: Rotate Body In Part Document?

Aug 5, 2013

I am trying to rotate a body in a part document using a .net add-in through the API. I saw this mod the machine post [URL] which appears to be exactly what I am looking for. As I try to incorporate this into my add-in it doesn't recognize the MoveDefinition or PartDefinition.Features.MoveFeatures, as if these were not included in the SDK. The VBA code that is listed will run, but I cannot convert it to C#.net code. Is there something I am missing, perhaps an extra reference? I am using Inventor 2013 with the updated 2013 SDK downloaded from here  [URL]

View 5 Replies View Related

AutoCAD Inventor :: Get Assembly Name From Part?

May 8, 2013

I am in Inventor customization using VB.net as development language. 

There is one issue which is troubling me from some time. 

Is it possible to identify the name of parent  assembly of part/sub-assembly.

For Instance there is a Sub-Assembly/Part, how can i identify the parent assembly using VB.net without opening that assembly.

View 7 Replies View Related

AutoCAD Inventor :: How To Create A Line With Part Document Setting

Jul 13, 2012

My part unit length has been setup as millimeter(mm).Once I created a line within 2d sketch by VBA script, the result of length always become to 10 times of value.For example, the two points of line is (0,0) and (0,4). But the result of length measured is 40.

My problem is how to create a line with part document setting?

View 1 Replies View Related

AutoCAD Inventor :: Change Part Within Assembly

Oct 1, 2013

I have an assembly of  stair made from steel. There are lots of part the same. Is there a way to make a hole (inside assembly) to one and that hole would appear on all of them.

And another problem, how can I made cut (inside assembly) through more then one part so that would affect a part also when I open it alone.

View 9 Replies View Related

AutoCAD Inventor :: Replace Assembly With Part

Oct 6, 2012

I am capturing a book-case design that I made long ago into Intentor.  I am almost finished, and I want to produce .dwg files and a bill of materials of parts that can be held.

For various reasons, almost all the items in the existing design are assemblies, and the underlying parts correspond more or less to half of physical parts that are contained inside a repeating cell.  I will almost certainly continue using this approach.

A simplified design that shows this is at [URL]..... in the file Display.iam

I created the file Slat.ipt by using derive (Slat.iam).

If I replace the Slat assemblies with the file Slat.ipt, the bill of materials will show parts that correspond to physical parts that I can hold in my hand, or list on an invoice.  I can do this with many, many mouse operations.

To make this modification quickly, I attempted to do Component -> replace on the Slat assembly.  I use this operation a lot to replace one version of an assembly with another.  When I do it with a .ipt file, the system pauses for some tens of seconds, then crashes.

A brute force work around is to use the mouse to do the replacement, essentially rebuilding the entire project in place.

View 1 Replies View Related

AutoCAD Inventor :: Placement Of A Part In Assembly?

Sep 27, 2013

When i create a part in an assembly, i select a plane or face with the cursor, but then i select again a plane for the sketch.

Why this double selection, and what does the first selection do, if the part is actually sketched on the plane i selected in the second time.

View 8 Replies View Related

AutoCAD Inventor :: New Part Or Assembly Numbering?

May 28, 2013

Normally you start with new models/assemblies/and drawings when you use the templates the naming by default  is part1.ipt, assembly1.iam,  drawing1.idw

I am currently at part431.ipt and assemby57.iam

I am concerned I may eventually reach part1000.ipt  LOL

Currently using Inventor2012.

View 6 Replies View Related

AutoCAD Inventor :: Transparent Part For An Assembly

Aug 1, 2013

as you can see from the image, the blue cone isnt transparent. i set the material properties to "clear blue" to make it "see through", i want to show whats under the cone. however the cone isnt transparent. how can i get the cone to be transparent? is there a step im missing?

View 7 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 Inventor :: Part Colours In An Assembly

Sep 14, 2012

I have a part that is inserted in an assembly. If I change the color of certain portions of the part it isn't reflected in the assembly.

View 5 Replies View Related

AutoCAD Inventor :: Edit Part In Assembly

Mar 26, 2012

I have written a program where i will copy inventor assembly tree to custom form in tree format. Now my problem is whenever i click a part in tree i must edit the part. I am trying to access the Fx parameter/IAssembly to use it but not getting desired results .

View 8 Replies View Related

AutoCAD Inventor :: How To Use Part Parameters In An Assembly

Jul 30, 2012

I need to use parameters of a part in an assembly. How to do this? Do i need to define a rule? How is this done?

Can i do it without using an Excel sheet as a parameter source for both the assembly and the part? The target is to have inventor update an array of assets as soon as the width of a part is changed whether in Excel or in the Factory properties of the asset.

View 5 Replies View Related

AutoCAD Inventor :: Rotating Part In Assembly

Aug 29, 2013

I have an assebly where i have imported parts and other assemblies. Unfortunatly during process of assigning them together they have rotated by various angles.Is it possible to somehow "reset" the rotation of part according to global xyz?

View 3 Replies View Related

AutoCAD Inventor :: Assembly UCS To Part UCS Constraint

May 16, 2013

My need is to assembly parts into an assembly by a known position in the assembly. The part has a UCS and I create  UCS on the assembly programatically. What I cannot do is to constrain the two UCS. I tried this (Inventor 2013 x64 on W7/W8 64, c++ 2010 by the way DEBUG mode is not working from the IDE):

       CAssemblyComponentDefinition compDef = doc.get_ComponentDefinition();
       // MOdules UCS
       CUserCoordinateSystems coords = compDef.get_UserCoordinateSystems();
       CTransientGeometry geom = m_InventorApp.get_TransientGeometry();
                    CMatrix matrix = geom.CreateMatrix();
[code]...

View 3 Replies View Related







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