AutoCAD Inventor :: Placing A Part In Assembly With Macro?
Mar 13, 2013
I have been working with macros basically making user forms to control the models. The program calls on a part that I use as an actuation template (its just a part with parameters that are then linked to the assembly contraints) then the macro will change the parameters and update the model.
What I need to do is to put in some code in the userforn initialize sub that gets the actuation template from the disk, for example: C:Other StuffActuation Template A.ipt. Then the macro places the part into the assembly. The userform then manipulates the actuation template (and the assembly model). Then when the userform is unloaded the part is deleted from the assembly.
View 1 Replies
ADVERTISEMENT
Apr 10, 2012
how to place part or assembly from the Vault or local Hard drive in to the existing assembly?
Basically I do have a list of parts (wall panels different sizes etc...) I was going to create an iLogic form with drop downs, so engineer can choose wall panel assemblies he needs and qty`s. iLogic will pull these assemblies from the vault/HDD in to the existing assembly. Currently we have to go to so many different folders to pick them up.
View 2 Replies
View Related
Nov 1, 2012
I have been trying to create a macro to control an assembly. The problem is that I need to access a certain parameter in a specific part in the assembly. I can get the exact parameter by using the "name" of the given parameter, ex .Item("d7") to call the parameter d7. The problem for me has been what name do I use to call out a given part, I have been using .Item(Index number), ex .Item(12), but this number can change as parts are added, deleted, or suppressed.
The question is what "name" should I be using and how do I use it. I have tried
"InternalName", "PrimaryDeselGUID", "DisplayName", "FullDocumentName", "FullFileName"
but there is no "Name" to input like the parameter.
View 5 Replies
View Related
Sep 26, 2013
Subject: Inventor placing Iparts in Assembly (Autodesk Inventor 2010)
Problem:
When placing an Ipart into a project Assembly it will make a copy of that variant and place it in the same map as the Ipart.
So when variant B of Ipart A is selected it will make a copy of variant B in the same folder where Ipart A is located.
Question:
Is it possible to make a “save as” option or another similar manner to save those copies of variant B in a project map of a project assembly?
Instead of saving all the Ipart variants to a single folder. So each time a new project is started they have all the parts in the same folder.
Reason:
I am making a local library for parts that are used for repairs. These parts have many variants and some times need to be customized for a repair.
The current system keeps polluting itself causing the users to loose their parts and accidentally delete the original parts etc.
I contacted Autodesk support and theyrecommended to post this question on this forum. They did mentioned that vba programming could achieve this. I have no knowledge of this type of programming.
View 1 Replies
View Related
Mar 2, 2011
In an assembly I'm working on, I need to place the same part multiple times, but I need this part to be a different scale each time. I'm working with Inventor 2010. Relatively new to the program.
View 3 Replies
View Related
May 28, 2013
I'm new in iLogic. I started making an assembly where it has a form where I put the dimension and iLogic controls the subparts including a frame generated profiles (in this case, iassembly don't work with FG).<br><br>The problem is: In the Larger assembly, I also put an iLogic and a form where I want this sub assemblies (this is the assembly mentioned above) to be driven by the parameters I will input on this large assembly. I don't know how to handle this but what I want is to:<br><br>1. I need that when I place this sub assembly there will be a form that will popup during the placement like when I put a bolt on content center.<br>2. Save as a new number and when the set of parameters exist on the previous large assembly it will notify that the sub assembly exist.<br><br>is this possible?
View 2 Replies
View Related
Aug 21, 2009
Can we Make code for Selecting Part Automatically?
View 9 Replies
View Related
Mar 7, 2013
I am messing around with a part at the moment so if I was to put it up as an .ipt file it would be crucified for not being constrained, dimensioned etc etc.
I am trying to get a 25 and 20mm return fold on the back of a curved panel. No matter what I have tried I cannot figure out how to do this, I manged to get the model bend on it however this will not flatten out in Sheet metal correctly and I will need to send a drawing out in a flattened state.
The folds needed are shown in picture as well as the curved part
They need to go on the outer bend of the plate. If I tell the mmanufacturers to weld it in points along the flange that's ok, I just can't seem to model it to get a final drawing out!
View 7 Replies
View Related
Nov 28, 2012
I have created the Sheet Metal part wtih negative flange value. Ipart is creating the parts. but unable to use in assembly
View 1 Replies
View Related
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
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
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
Nov 15, 2013
New user 2014
Part created in assembly does not update to part file.
View 9 Replies
View Related
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
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
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
Sep 4, 2012
I have made a macro that asks for a location on the file server (=client name) and then the project name. It then automatic creates the correct folders, opens my custom assembly template and changes an ipart that is by default in it.
That's all great and can save us a ton of time, but the last step is to automatic save the assembly! I just can't get it working and can't find the correct code.
I have defined the target folder earlier and the file name of the assembly is identical to this folder. For example
target folder = O:ProjectsclientNameClientProject1
file name = ClientProject1.iam
-> result: O:ProjectsclientNameClientProject1ClientProject1.iam
the code that I think should work looks like this:
Sub SaveAssembly() Dim oAssDoc As AssemblyDocument Set oAssDoc = ThisApplication.ActiveDocument oAssDoc.SaveAs ("O:ProjectsclientNameClientProject1ClientProject1.iam", False)End Sub
But it doesn't work, I always get the error message
"Compile error: Expected: ="
Whatever I do next I don't get the code to work
View 3 Replies
View Related
Jun 22, 2012
I have an assembly that includes iPart.
For example there are:
C: Part1
C: Part1 Part1-01
C: Part1 Part1-02 ...
C: Part2
C: Part2 Part2-01
C: Part2 Part2-02 ...
I need a macro to make the change in the assembly. You need to replace Part1-04 to Part2-04. Which method should apply for this?
View 6 Replies
View Related
Jul 10, 2012
When placing or creating a new part in an assembly it is visible in every view rep which is a huge pain the proverbial.
Is there a setting to tell Inventor to only make newly inserted/created parts visible in the active view rep.
I am so tired of having to go through all my view reps every time I add a new part to an assembly.
View 4 Replies
View Related
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
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
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
Mar 14, 2012
I have just installed Inventor 2012 and am experiencing a bizarre problem with placing content center parts. When I start a new assembly, and place a content center part, I would expect it to locate itself central to the assembly origin. What actually happens is that it grounds itself wherever I click on the screen. This doesn't happen with parts that I have created myself.
Is there a bug in the system or maybe an option that I have unknowingly switched off?
Inventor Professional 2012 SP1
Windows XP Pro 64 Edition SP2
View 3 Replies
View Related
Sep 28, 2012
I'd like to create a macro that I can run from within an assembly that will loop through each BOM item and add the quantity req'd to a custom property within the component. I'm very familiar with VBA from Office, but I'm new to it with respect to Inventor so I'm pretty fuzzy with object titles and options.
Here's an outline of what I'd like to do:
Execute Macro from within Assembly file
For Each BOM Item to # of BOM Items
If Vendor = "Make" then
Set Component Custom Property "Qty_Reqd" = Total Qty from BOM
Endif
Next BOM Item
View 9 Replies
View Related
Aug 28, 2013
Looking for example macro that can create a new sketch, add a few lines and arcs, Then revolve the sketch around an axis to create a solid part. For example a shaft?
View 2 Replies
View Related
Oct 22, 2012
i need a macro in VBA who export the structurated part list in xls separated by comme with only two cullom in order: Quantity and Part Number.
This .xls file mus be saved in the same folder where the .iam file is saved and with the same name of the .iam file. How to make this marco????
View 9 Replies
View Related
Apr 8, 2011
I got a macro job for creation the drawing for a part. I got a lot of problem.
1/ The first one is move view:
I already create a view (e.g. oIsoView), now I want to move it to the left.
I find the DrawingView.Position method, how can I use this method? I try many time, but it's not successful yet.
Do I need to use the SelectSet method??????
View 9 Replies
View Related
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
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
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
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