AutoCAD Inventor :: Assembly Within Assembly Detection
Sep 3, 2013
I would like to see if there is a routine that allows my iLogic code to detect if my assembly contains another assembly within it. If my assebly contains assemblies then I don't want "MyRule" to run. Else if it does then I want "MyRule" to run.
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 ?
We have an iLogic assembly with to parts in it. Maybe to cylindrical parts. The iLogic rules should do the following.
1. Start a Rule after open document.
2. This Rule starts a Rule in the first cylindrical component.
3. This Rule ask the user for a diameter.
4. The assembly gives this new parameter value to the second component
5. Then the assembly calls another rule in the second component to change it with the new parameter
Everything is working fine when the following combinations are taking place:
1. I open up the assembly out of vault or from a local drive or an accessible server drive
2. I insert the assembly as sub assembly in another assembly from a local drive or an accessible server drive
It don't work with the following situation:
- I insert the assembly as sub assembly in another assembly out of vault
Then the user becomes the dialog "Choose a diameter" twice.
I don't know why, but I have the idea it has something to do with the functionality of inventor to insert a component more than once. If you insert a component in an assembly Inventor gives you the opportunity to add more than one occurence after each other.
change that behaviour? Maybe a switch to change that inventor "add more than one occurence" behaviour.
I have encountered a problem with the Tube and Pipe styles.
As you can see, I have a rack assembly with a custom tube and pipe style. A wire as a tube in orange, and a tube support in white. Both have their seperate colorations at a style in the tube and pipe styles editor
When placing the rack assembly into the main assembly, it reverts to the coppor coloration I changed from the original style.
Steps I've taken:
Exported the styles .xml and Imported the styles into the master tubeandpipe.iam
Imported the user created .xml styles into the main assembly file nothing seems to work
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?
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.
I want to be able to control the location/position of a component in an assembly. This is easy enough through the iProperties/Occurrence tab and then adjust the location of the X,Y, and Z offsets. Is this possible using iLogic? I have been unable to find a function to access via iLogic. Ultimately I am trying to translate a component about an axis not a pattern.
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
So I created the rail sub assembly everything looks great in sub assembly composer.
Start a new dwg data reference in the rail alignment, Note the rail alignment type is set to rail.
Create an assembly and under the Construction tab for the assembly the Assembly Type is set to Railway. Attach my custom sub assembly to this assembly.
Created a corridor and I get this error: Something wrong with current subassembly: Operation is not valid due to the current state of the object.
So I delete my sub assembly attach the Civil 3D Rail Single sub assembly. Re run corridor and everything works fine.
So I promote the alignment change type to centerline. Delete the Rail Single sub assembly put my rail sub assembly back. Rerun the corridor and everything works.
So then I undo everything up to the point of promoting the alignment.
Opened the base file changed the alignment type to centerline.
When I tried to synchronize the references I ended up a broken reference with the following error. Invalid reference. Synchronization failed
Not good we already have plan sheets cut.
where in sub assembly composer were do I define the sub assembly to be for Rail?
I have a finished corridor, but now I need to add marked points to label a few key grade breaks in my cross sections. When I attempt to add the marked points on some of my sub-assemblies it gives me the error that the sub-assembly is not part of the assembly. I can right click the sub-assemly and choose "Add to Assembly" but when I rebuild the corridor it strips all the sub-assembly data from my assembly and leaves me with essentially a null assembly for the range.
I wanted to add an extrusion to an asembly. I was able to highlight the required geometry and create the feature, but is not showing up. In the browser, there's a red "up arrow" beside it. Why is it not showing?
Is there any way to get an area for the entire assembly on the BOM? If you go to i Properties --> Physical it is shown there. But how to pull it from there and have it as Column in BOM? Can it be done using API ?
I'm working on some vb.net code which updates the sizes of parts within sub assemblies and then selects the correct sub assemblies to place and constrain into a larger assembly.
When I run my software all the sub-assemblies should open, resize and then get placed into the larger assembly.
This code works up to a point. However I'm having some trouble when one of my sub assemblies is placed and constrained into the larger assembly - Inventor crashes.
If I step through my code line by line, it works fine. I think that this is because Inventor has more 'time to think' about what it is doing between placing the sub assembly and constraining it (updating the parts i guess).
After discovering this I wrote a line in my code which uses the vb.net stopwatch class to wait 20 seconds between installing the part and constraining it, this allows everything to work without Inventor crashing.
What I'd like to know is if there is a command i could use in vb.net which would allow me to wait for the sub-assembly to be ready to be constrained rather than waiting 20 seconds? Although this works I don't think it's the 'correct' method of doing things.
I want to add dimensions in an assembly through VBA ,but all my work is just in vain . Now I can add dimensions one after another ,but I want to finish dimensioning in the assembly once for all .
How to save an assembly as a new file, in a new location, and not have it update when the individual parts are modified? I need to be able to track the revision history of an assembly, and be able to revert to an assembly, as it was, at any time. I tried pack and go, but the sub-assemblies remained parametric, and reflected the current state. I would like to have file a1.iam, file a2.iam and file a3.iam, all using the same part or sub assy files, and not have them change when I create file a4.iam.
Is there a way to extrude a cut through an assembly but only cutting the parts I want cut? I am using Inventor 2012. Basically I want to use a part in the assembly as reference for the cut. But I do not actually want to cut that part only the surrounding parts.
I use the "M" measure command a lot, Is there any other good ways to dimension in assembly? I often need to know the distance between the edge of a part and another based on a fixed view, which if the two edges are straight and on the same plane works ok but I need to measure the height of two parts which are on different planes or the distance between arcs and curves as these tend to always work from the centers?
I need a command that will basically fix the plane to the current view to get the required dimensions, is there anything available?
I'm having two assembly issues. I've attached the parts that I made and a little sketch to make it clear what's going on.
First, you'll see two curved pieces attached to a cylinder. I can't make the wholes on the side line up and mate. I'll get mates but they're in the wrong places. The two holes on the side of curved bar should meet up with the two holes on the straight cylinder.
For the second one, I can't get the smaller armpit piece to fit inside the larger, black piece. I've gotten so it seems snug but then one little part of the "plastic" piece sticks out the top of the black piece. Hopefully the drawings make it clearer, but I attached the parts as well.
Im having trouble animating an assembly i made. It is a twin cylinder foot pump for car tyres, nothing special. When i try and animate it i have trouble getting the pump to move. When trying to animate constraints it doesn't like it and parts move about all over the place. I've also tried animating parts and this doesn't work either.
How to place an ucs on a part, with identical orientation as the containing assembly. I have placed a grounded workpoint in the part, on the assembly origin, but When it asks for a point to give the direction of X and Y, I am unable to select anything as I am in part edit. the only things I seem to be able to select are vectors on the solid. But those cannot be used, since the angles are different from the assembly's.
Under the modify tab in a part file, I can drop down and click "bend part." We have a bunch of frames made out of stock tubing that are welded together, then bent as a whole. Is there a way to bend at the assembly? I want the model to represent the production process. I don't want to have to bend each tube alone, then reassemble. That would double my parts/part numbers.
I'm trying to make an assembly that would move. however I'm having trouble right now, when i try to move things by mouse, it seems they just go everywhere without respecting the constraints. At first i was using the drive constraint on the slider delete for the movement but it doesn't work either.
I am using inventor 2011 btw. Here are the files, assemblage.iam was working correctly but when i added the arms, they don't work ( assemblage2.iam).
Is there a way I can use the emboss feature in an assembly? We typically laser mark during final assembly and would like to show that as a step in the assembly instructions.
I typically create a sketch with the text and extrude(cut) in the assembly. It works fine for flat surfaces, but cannot do it for other surfaces.
The one way I can think of doing it would be creating ipart with text and using it in the assembly. I would rather not do it this way. Is there any other way to accomplish this with out altering the components (.ipt)?