AutoCAD Inventor :: Accessing Features From A Part In An Assembly

Aug 22, 2012

I'm crating a macro wich would allow me to select multiple parts in an assembly and then calculate the length of each part. The parts are tubes wich are made of a sinlge sweep.

I started from the example truesweeplength, and built from there.

Now my problem is accessing the sweepfeature from the assembly.

In the part enviroment i use this:

Dim oDoc As PartDocument
Dim oDef As PartComponentDefinition
Dim osweepcount As Long  
Set oDoc = ThisApplication.ActiveDocument
Set oDef = oDoc.ComponentDefinition
osweepcount = oDef.Features.SweepFeatures.Count

The sweepcount is simply to check how many sweep features are in the part.

This works fine in part level.Now from assembly level I first create an obecjtcollection from all the parts I selected

Set oOccurrences = ThisApplication.TransientObjects.CreateObjectCollection

Then I try to acces the first occurence

oDoc.SelectSet.Item(1)

But then I'm stuck. I cant find the way to acess the features of the selected part.

View 6 Replies


ADVERTISEMENT

AutoCAD Inventor :: Passing Down Assembly Features To Part Level

Dec 11, 2012

How do you save features added in an assembly to the part? For example, if I add a hole in an assembly, presently I cannot see it when I open the part. It seems like a very basic function, I'm not sure why it doesn't do it automatically.

View 6 Replies View Related

AutoCAD Inventor :: IAssembly - Accessing Part Parameters

Jul 13, 2012

How we can access the part parameters after hitting create iAssembly. do I need to make i parts first and then bring them to an assembly and make an iAssembly??

View 5 Replies View Related

AutoCAD Inventor :: Access Assembly Features Through ILogic

Nov 19, 2012

I'm now having an issue accessing the features in an assembly, the error message is attached and the following is the relative code.

The error line is between the 2 Test Messages:

'Create a Component Definition relative to the Part Document

Dim oFeature As Features
Dim oAssembly As AssemblyDocument
oAssembly = oCompOcc.Definition.Document
MsgBox("Test 1")

'Cycle through all features in the Part
For Each oFeature In oAssembly.ComponentDefinition.Features
MsgBox("Test 2")

View 3 Replies View Related

AutoCAD Inventor :: Suppress Assembly Features In Drawing?

Mar 8, 2005

Is it possible to suppress an assembly feature in a drawing view?We make some components in an assembly oversized and then do a final machine step after welding or brazing. We show the completed assembly in the drawing but would like to see the assembly prior to machining in some views.If I suppress the machining features in the model it affects all views. Can we suppress the features in just one view?

View 6 Replies View Related

AutoCAD Inventor :: IAssemblies - Assembly Hole Features Not Updating?

Dec 17, 2013

I have made an iAssembly with a main body and flanges attached to the body.

Assembly feature holes have been created act on the main body, and these holes are relative to the position of the flange.

When I change the factory member - the position of the flange changes, but the holes stay in the last location and so the model is wrong.

The only way to overcome this error, is if I go to the Manage tab and manually select 'Rebuild All'.

I need this to work automatically as drawings are generated wrong when changing model state. 

My intention is that this will be used in an iLogic routine, linked to an external sales package.

View 4 Replies View Related

AutoCAD Inventor :: Single Composite Derived Assembly / I Features

Jun 24, 2012

I've derived an assembly into a part file. On inserting an i feature, Why can't I select a face of the single composite body?

You can create a sketch on a face, but not insert an i feature on a face.

View 9 Replies View Related

AutoCAD Inventor :: Create Derived Part Using Only Some Features?

Jan 12, 2014

it's possible to create a derived part using only some of the features of the base components i.e. I've got a funny shaped part with a bunch of holes in it, and I need another part with exactly the same shape but totally different holes (location and size)I know you can do this with the different solids in the part (only use some of the solids) but I haven't been able to figure it out with features, if it's possible at all.

I could probably create one base part (just the shape) and derive both parts from that, but then I've got a part lying around doing jack.using IV 11.

View 5 Replies View Related

AutoCAD Inventor :: Possible To Suppress All Part Features Using ILogic?

Jul 20, 2012

I have a couple of dozen features in my part, of which only one will be active at any time. The feature tree may be subject to additions, so I am looking for an ilogic rule that will first suppress all of the features in the part, and then switch on the specific feature I require (using a parameter). Any code to suppress ALL features?

View 9 Replies View Related

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 :: Auto Snap To Features When Designing Parts In Assembly?

Aug 27, 2012

I recently started working with Inventor (Solidworks user for 15 years).  When designing new parts in an assembly in Solidworks, there was always an auto snap feature to align parts (centerline, midpoint, etc).  I cant seem to find this option in Inventor 2013.  Im trying to design new parts in an assembly but cant seem to snap to any other existing parts features or centerlines.  Is there a quick way to activate this option?  Is it even available in Inventor?

View 2 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 :: Large File Size For Part With No Features

May 23, 2012

why I have a part file that is almost 12MB in size yet it contains absolutely no features? I would attach the part but it's too big to upload.

View 2 Replies View Related

AutoCAD Inventor :: General Opinion On Calculations Of Part Features

Aug 15, 2012

Using inventor to calculate specific distances or counts of features on a part.  Say for instance, the lineal feet of a radial edge, or the number of cutouts a part may have.  If so, how are you approching this?  Can be programs written with the API/iLogic or just general setup I am pretty versitle and open to any discussion.

View 6 Replies View Related

AutoCAD Inventor :: Delete Work Features From Derived Part?

Nov 10, 2011

How do I delete work plane 1 from the attached part, 'test derived'?

workflow.

create a part, pattern a plane, save as 'test deriver'

create new part, derive work plane 1 from 'test deriver' sketch onto work plane 1, save as test derived

go back to 'test deriver, delete the pattern and create a new pattern, work plane 2, (i couldnt just edit it because the real life case was a series of patterns at different distances)

open part 'test derived', edit the derived part to include work plane 2, (work plane 1 doesnt exist in 'test deriver' anymore) redefine the sketch onto work plane 2

try to get rid of work plane 1 from the part?

View 4 Replies View Related

AutoCAD Inventor :: Work Features Cannot Be Made On Bent Sheet Metal Part

Jan 21, 2013

I have attached a simple model to detail what I am having trouble with.  

I have constructed a sheet metal tube by first creating a flat sheet face and then by folding the sheet with two, 180 degree bends and large radius.  I am doing it this way in order to simplify the drawing of the cutouts that are required in the "real" sheet (with many more cutouts than in the sample I have provided.)

When I try to add work points or work axis to the holes shown in the sample, only the holes on the second bend will accept the work features, the holes on the first bend will not - giving the error:

TEST.ipt: Errors occurred during update Projected loop failed because of multiple vertex solutions Work Point8: Could not build this Point Copy Point Zero or multiple solutions for Point Copy Point. Use Redefine Feature to change its definition.

I am using the work point as reference to the center of the hole in order to position a rod.

View 3 Replies View Related

AutoCAD Inventor :: Adding Part To Frame Generator With ILogic Rules For Features

Jul 17, 2013

I have a wire trough that we typically use on all our units. Instead of modelling each trough as it's own separate part to length, I would like to add this part to frame generator for tracking there cut lengths etc...

A few items, there is two sizes that we use, but for now I will work with just one.

I have modeled the part and renamed the important parameters.

-WIDTH - stays the same

-HEIGHT - stays the same

-LENGTH - adjusted by frame generator

-RIBS - the part has 6 currently, but there is a rib added for every 1/2 inch. it is a rectangular pattern

-SLOTS - will be added to the trough every 2 inches of length, it is a rectangular pattern

-SLOT_DISTANCE - is 2 inches and never changes, if the trough is cut on a slot, which ever is easiest, to show half a slot or none, doesn't matter, this is just for a visual and BOM reference

I found a video that shows me how to publish parts to FG, but I am stuck for the iLogic part. Part attached.

Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49

View 6 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 :: 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







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