AutoCAD Inventor :: VBA Code To Calculate Interferences Between All Parts Of Assembly

Mar 6, 2012

I want to make a vba code to calculate the Interferences between all parts of an Assembly.

First I modify all holes with thread. Next with de CommandManager I Launch the AssemblyAnalyzeInterferenceCmd. And finaly I modify all holes with thread back.

My question is :

How to wait until the AssemblyAnalyzeInterferenceCmd is finished to continue the code.

Sub Interferences()
 Call BeforeAnalyzeInterference
    ThisApplication.CommandManager.ControlDefinitions.Item("AssemblyAnalyzeInterferenceCmd").Execute
 Call AfterAnalyzeInterference
End Sub

View 4 Replies


ADVERTISEMENT

AutoCAD Inventor :: Calculate Cost Of Parts In Assembly

Oct 5, 2012

I am trying to recurse through an assembly, extract the mass of each part, mutiply it by the unit cost of its material and then update the cost property for each part so this can be displayed in the BOM.  I can access the iProperties of the assembly but not the properties of the individual parts. 

View 1 Replies View Related

AutoCAD Inventor :: Creating Separate Assembly Out Of Various Component Parts In Existing Assembly

Jul 10, 2012

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 ?

View 2 Replies View Related

AutoCAD Inventor :: Place Assembly Constraints With Parameters From Parts In Assembly?

Oct 30, 2012

it is possible to make a constraint that utilized a parameter of a part within the assembly.

For example, if I wanted to use the thickness of a plate, which I defined in the part, could I call that parameter in a constraint?

View 1 Replies View Related

AutoCAD Inventor :: Make Sub Assembly From Parts From Main Larger Assembly?

Oct 31, 2011

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.

View 4 Replies View Related

AutoCAD Inventor :: Saving Assembly Parts As New (sub) Assembly?

Nov 28, 2011

Can I select a bunch of parts in an assembly and say "save these pieces as a new assembly"?

It is just such a needed tool but I cant find an easy way to accomplish this.

View 2 Replies View Related

AutoCAD Inventor :: VBA Code Not Working For Workplane In Assembly

Oct 15, 2004

I have assembly file in which I have created a work plane "Work Plane19" . Now I wanted to create a new work plane which will be paralle to workplane "WorkPlane19" & offset by 10.5 mm in same assembly document through VBA subroutine. I have tried with following code but getting error,

Public Sub NewWorkPlaneCreate()
Dim oAssly As AssemblyDocument
Set oAssly = ThisApplication.ActiveDocument

[Code].....

View 6 Replies View Related

AutoCAD Inventor :: VBA Code To Get Coordinates Of Each Part Of Assembly

May 9, 2012

I try to develop a vba code to get the coordonates of each part of an assembly and after export them to an excel file.

I build this : 

Public Sub Export_Layout_COG()

If MsgBox("Cette Macro va exporter les coordonnées du COG de chaque layout, continuer ?", vbYesNo) = vbYes Then
Dim RefDoc As Document
Set RefDoc = ThisApplication.ActiveDocument
Refdocdisplayname = RefDoc.DisplayName

[Code]...

The code return an error on the red line, I don't catch why?

View 3 Replies View Related

AutoCAD Inventor :: ILogic Code To Set Parameter In Bunch Of Parts?

Jun 25, 2013

Is it possible with iLogic code to set a parameter in a bunch of parts equal to another paramter?

I want some iLogic code that will go into my pipe parts and make the PL param = D2.

View 1 Replies View Related

AutoCAD Inventor :: VBA Code To Constrain Two Parts Using Mate Constraint?

Apr 27, 2013

Im looking for VBA codes to crate mate constraint between two parts?

I have crated two parts and called up those two parts in assembly document as occurances

but i'm unable to constrain it.

View 1 Replies View Related

AutoCAD Inventor :: How Solidworks Output G-Code To Machine Parts

Jun 24, 2013

How Solidworks has the ability to output G-code to machine parts without the use of a seperate CAM software.

If Inventor has the ability to do this with some sort of add on? Or even if Autodesk offers a program that does this that would work well with Inventor or if I must use a seperate CAM software to do it. I have used Mastercam in the past but wasn't sure if there was an easier way to do so.

View 9 Replies View Related

AutoCAD Inventor :: Interferences Very Difficult To Spot On Large Assemblies

Jan 20, 2011

Running 2011 Inventor. Interferences are very difficult to spot on large assemblies, especially if they are small. The red color seems to be way lighter  compared to the previous versions of Inventor. Are there any settings to turn on that can bolden the color?

View 2 Replies View Related

AutoCAD Inventor :: Cannot Join Parts In Assembly

Dec 2, 2013

I am trying to assembled these 2 parts but the elbow gives no options..how can i constrain the elbow to the straight pipe?

View 7 Replies View Related

AutoCAD Inventor :: Rename Of Assembly And Parts

Mar 7, 2012

How could I rename a hole assembly and all parts (pre- or suffix)?

View 2 Replies View Related

AutoCAD Inventor :: Deriving Parts From Assembly?

Nov 20, 2011

I am designing a component whose internal mechanism is housed in a plastic shell. I want to use the boss feature in the shell so I can hold together the components internally, but the boss feature is only available in the part workspace, but in order for me to know where the internal components are so I can design my shell accurately, I have to be in the assembly workspace.

Now, if I opened the shell as a part alone, and imported (through the Derive command) the parts that need to be fit into the shell, they will appear at random positions, and because you cannot create constraints in the Part Workspace, I have no effective way of holding them where they should go.

View 2 Replies View Related

AutoCAD Inventor :: CoG Of Selected Parts Within Assembly

Sep 4, 2013

I have a question about getting CoG of my assembly.  The only problem is that i only need 2 parts (the rest are just dummy solids with 'default material'.

When i control select two parts, right click and go 'iproperties' - the physical tab doesn't let me determine CoG of the two parts combined.

View 3 Replies View Related

AutoCAD Inventor :: BOM - Best Way To Organize Parts In Assembly

Mar 15, 2012

I have 4 columns in BOM that I call out in Parts Lists on my drawings.

I need to be able to organize parts in my assembly somehow and to be able to display if needed (on Parts List) only parts belonging to one category (level?).

I could do it by creating another custom iproperty in a part template and each part would belong to a particular group. Then I could sort them in BOM in .iam environment and have particular category visible on Parts List with the other categories with visibility turned off.

View 9 Replies View Related

AutoCAD Inventor :: Assembly - Parts Not Visible

May 11, 2012

I'm working on a small Assy (25 parts). When I open one of the parts from this Assy and work on it then go back to the Assy many parts are not visible. The update button is usually off so I can't use it.

This started only about 2-3 weeks ago - in every assy. I changed the nvidia driver but didn't work.


Inventor pro 2012
Win 7 Pro. sp1 64 bit
Intel Core I7-2600 CPU
Ram - 8GB
Quadro 2000 D
Nvidia 275.89 (tested nvidia 296.70 with no luck)

View 4 Replies View Related

AutoCAD Inventor :: Referencing Parts In Assembly?

Jan 18, 2013

I have a rather complex assembly that I didn't draft but I am trying to work with. Most of my experience is with Solidworks. I'm trying to create a hole in a plate that lines up with a hole in a different part in the same assembly. I know there is probably a way to create the hole in the assembly and reference the other part but I dont know how.

Autodesk Inventor 2009

View 2 Replies View Related

AutoCAD Inventor :: Moving Parts In Assembly

Apr 8, 2013

When I place parts in my assembly they are stuck in the position I place it and can only be moved once I mate it to another part of my assembly. I have only recently encountered this problem, as usually when I place a parts in an assembly I am able to simply click on the component and drag/move that part around to put it in a place that suits before I use any constraints.

What is the problem, have I clicked on some function unknown to myself which has disabled the ability to move parts/assemblies when I place them into an assembly?

View 4 Replies View Related

AutoCAD Inventor :: Adding Parts To Top Down Assembly?

Sep 28, 2011

I've created an assembly from the solid bodies of a part. Is there a way to add more parts to that assembly from other solid bodies of the original part? If so what is the procedure?

View 7 Replies View Related

AutoCAD Inventor :: Editing Parts Within Assembly?

Nov 25, 2011

I have a machine with some internal parts.To see the inside parts i need to make the outside parts Glass.Can i make the outside parts Glass while in the assembly or do i need to open each part up from there folder and make the material Glass.This would be slow if i need to open up each part to make the material Glass and when finished would again have to open the part up and set back to original material.Can all this be done while in Assembly mode?

View 6 Replies View Related

AutoCAD Inventor :: Create Parts In Assembly

Oct 31, 2013

When creating a new part in an assembly and I select a face of an existing component, how does Inventor determine the orientation and origin of that new part?   I understand how Inventor works when I select the plane/origin of a part or pick out in space in the assembly.But the placement based on the face of an existing component seems random..

I normally do not like creating parts inside of an assembly but I was trying some new workflows.

View 3 Replies View Related

AutoCAD Inventor :: Editing Parts In The Assembly?

Jan 26, 2012

I have firgured out how to create a part within the assembly.I have also figured out how to add a feature in an assembly, but that feature does not attach to a

component when I need it to.What I haven't figured out is how to edit an existing part within an assembly to add a feature that references another part.  Basically having an external reference (SW term).Also, is there a way to see the features of a part within the assembly?

View 8 Replies View Related

AutoCAD Inventor :: Parts Not Updated In Assembly

Sep 22, 2011

On a different station, a component was checked oud, altered (100mm became 110mm), the corresponding dwg was also checked out and updated, and then everything was checked in.

Now i have an assembly that contains the part that was modified, but i still have the old version of it stored locally, as well as the assembly containing the part. Now when i open the assembly, i get the message stating some components had changed and that the assembly should be updated. After selecting YES to update the assembly, i get it on screen, but the part itself had not been updated. The vault tree now does show that i don't have the latest version though (red filled circle). In order to get the part to appear correctly, i need to manually select "refresh from vault" to get the correct version.

After selecting the YES i want to update the assembly I expect the parts to be updated properly without requiring additional manual actions. This has already resulted in out-of-date drawings to hit the production floor. Obviously, THIS SHOULD NOT HAPPEN!

I know one way to overcome this issue would be to delete the local source files after having used them, but i have lost plenty of work by allowing that setting to be enabled. (IV crash during check-in resulted in deletion or corruption of the files and they were not properly checked in.)

Should i log this issue or is there a solution available i failed to find?

View 1 Replies View Related

AutoCAD Inventor :: Use Only Visible Parts In Assembly

May 13, 2013

in my assembly part visibility is controlled by a Ilogic rule which selects an Iassembly. This assembly is a parametric model controlled by excel. The visible parts have to be exported to dxf.

Everything is working (iterating through parts, export sheet metal to dxf), but how can I check whether a part is visible within the assembly?

View 1 Replies View Related

AutoCAD Inventor :: Update All Parts Within An Assembly?

Oct 18, 2012

It is possible to create parts that can update there size from changing the "root" (possibly called the derived-from part??) dimensions. I have a tubular frame structure and there is sheet metal components that enclose this structure.

We make these units in 2 standard sizes, but in the last few months, we have been getting requests from clients for extra components to be installed or sometimes components to be removed. This changes the size of the unit. Also depending on which mine they go to, some need to be shorter or longer and wider or narrower.

I have created a frame that I can change easily to to required dimensions, but it would be a dream if all the sheet metal components updated to the frame size. Most times these doors and sheet metal components stay in the same location, so if everything updated with a simple change to the frame size, that would make my job easier, and leave me more time to create new products.

I can't upload any files due to size, but I have attached a few screen shot to clarify things. Basically it is a frame unit, with doors and access panels to electrical components inside.

View 9 Replies View Related

AutoCAD Inventor :: Open All Parts In Assembly At Once?

Oct 3, 2012

is it possible to open all parts in an assembly at once?

I tried to select them all in the modelbrowser, and then open, but ain't working. I tried also with the design assistent, but also not working.

I will use this function to place all (open) parts from an assembly in one drawing. Then i am sure that i don't forget any parts.

View 7 Replies View Related

AutoCAD Inventor :: How To Take Away Lines From Assembly Parts

Mar 4, 2013

I've just started using Inventor and am getting the hang of things, but one thing that really annoys me is these lines that are all over the parts I use in assembly. Screenshot attached.

View 5 Replies View Related

AutoCAD Inventor :: Add Rule To All Parts In Assembly

Aug 29, 2013

I have a three part question. First, I have an iLogic routine in an assembly that opens all the parts within the assembly, runs a particular rule, and then closes that part. Is there anyway I can get this to run in the background. I don't want my users to see all of my part files opening and closing.

Here is my
 
'assign path values in iproperties to be equaliProperties.Value("RD FLANGE:1","Custom", "FilePATH") = iProperties.Value("Custom", "FilePATH")Dim FilePATH As String = "FilePATH"customPropertySet = ThisDoc.Document.PropertySets.Item _("Inventor User Defined Properties")Try prop= customPropertySet.Item(FilePATH)Catch customPropertySet.Add("", FilePATH)End TryIf
[code].....

My second question is how do I add a routine that as the part files are opened checks to see if "MyRule" is there. If "MyRule" is not there add "MyRule" else if "MyRule" exist move on to the next part.

My third and final question is there anyway for my code to distinguish between standard parts and sheet metal parts. Basically, if the opened part is not a sheet metal part then I do not want "MyRule" to be inserted and I do not want "MyRule" to be run. I want it to move on to the next part within the assembly.

View 5 Replies View Related

AutoCAD Inventor :: Assembly Moving Parts

Mar 21, 2013

So I have this assembly with all parts constrained properly yet it won't let the parts move the way they should under the constraints applied and it's telling me I have interfering constraints.

I checked the "broken" constraints over but they look fine. It's a relatively small assembly (10-15 parts), although the parts have been used in a previous assembly. Would this affect their behavior?

View 5 Replies View Related







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