AutoCAD Inventor :: Flush Constraint Between Two Workplanes In Assembly With Two Parts?
Oct 1, 2013
If I have two parts as occurrences in an assembly, how can I programatically constraint two workplanes (one from each part) to a flush constraint.
My problem is that I can get the Occurrences, say ...
CComPtr<ComponentOccurrence> pTube1Occ = ...
CComPtr<ComponentOccurrence> pTube2Occ = ...
...but I don't know how to delve into these two pointers to get hold of two named workplanes within them. I'd then pass the two workplanes (somehow?!) to the AddFlushConstraint function.
get_SurfaceBodies doesn't seem right and neither does get_SubOccurrences.
View 9 Replies
ADVERTISEMENT
Jun 14, 2012
Whenever I am using mirror command in assly . The mirrored part do not get constraint again I have to use the constraint or I have to make that part grounded.
View 4 Replies
View Related
Apr 1, 2011
How do I set a Window Assembly to be flush to the outside of a Wall? I'm expecting an embarrassingly simple answer, but I really cannot figure this. the infills and the mullions move out 7-1/16", but the two frame elements just will not be moved.
View 1 Replies
View Related
Dec 29, 2011
This is probably a simple one that I am missing, but how do I get a parallel constraint applied to these two edges.
View 4 Replies
View Related
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
Jun 24, 2013
I have an assembly wherein one part is mated to another grounded part, with a face-to-face coincident mate. The click + drag type of movement appears to move the part, while continually solving this constraint.
However, it seems like there is no way to do a rotation in the same manner, where the constraint is continually updated. There appears to only be the "Free Rotate" command, which ignores the constraints.
Is there really no way to do this in Inventor? The application is that I am laying out a mold for many, many small parts, and I am trying to move and rotate them into position to get good packing efficiency and density. Each part will be attached to a mold base with one of the aforementioned face-to-face constraints, then slid & rotated around manually.
This seems like a really important piece of functionality. Solidworks can certainly do this, do a part rotation in an assembly, while solving for existing constraints.
View 8 Replies
View Related
Mar 24, 2013
I am using Autodesk Inventor Professional 2013.
Motor Model 1:1 is used to turn the wheel holders at various angles. The part named "front gear spring holder" is supposed to revolve and turn the inner part of the "front wheel holder" My problem is that I want to simulate the turning of the front wheel's using contact sets or 3d/2d contact sets in the dynamic simulation environment. I do not know how to do this, but I'm almost certain the program is capable of doing so. Also the spinning of the front wheels must be able to be done along with various angles of the front wheels(while turning, the front wheels must be able to still spin with the front gear spring holder".
I have seen threads and articles that say that making gears with contact sets is not recommended or possible but i have two instances here where they work perfectly fine using the dynamic simulation with 3d /contact sets. Take a look at the simulation I have saved as well.
I will need more on this assembly in the future, including how to create bevel gears that work at 90 degree angles or spur gears with contact sets instead of just simulating their movements .
View 9 Replies
View Related
Jun 28, 2013
I am trying to model a large Control panel assembly using Inventor Pro 2011. It comprises of a main assembly with several adaptive sub assemblies containing the various items. (Relays assy, label assy, fixing assy etc). All works ok until I start using Levels of Detail to enable me break the assembly into smaller workable parts. I.e. Left door, right door, main panel full, main panel no doors etc. These will be used to create view reps from for my drawing views at a later date.
The problem I am having is I keep getting constraints failing on parts which are suppressed in various levels of detail. An example of this Is when I go to right door LOD and do a rebuild all, I get constraint errors from item relating to the main panel which is suppressed. I can suppress the constraint causing the error but when I return to the full panel LOD the constraint is still suppressed and the parts appear In the wrong place.
View 1 Replies
View Related
Sep 22, 2004
after the first constraint I can't drag the part,
only thing i can do is use the rotate command
View 9 Replies
View Related
Nov 17, 2011
I am trying to assemble two parts together by the constraint feature, but the problem is that I mirrored one of the parts to make the other and now that I am trying to assemble them together they both light up showing that they are the same part. I am trying to make them to individual parts so that I can assemble them. Can I fix it in the Assembly or Part drawing?
View 2 Replies
View Related
Nov 29, 2012
In my assembly I've set up angle constraints between 2 Plane's of 2 parts (min: 40 deg max: 160 deg). If I move the parts slowly the angle constraints holds but if I swing it hard sometimes it flips and gets out of the angle constraint.
View 2 Replies
View Related
May 14, 2013
I am trying to add an angle constraint to an assembly of a ladder design. I need for the ladder to be able to be set at an angle against a wall and not vertical. The ladder design is such that the base brackets are fixed to the ground and the rest of the ladder may move about the axis of the bolted connection at the base of the ladder. I cannot get the angle constraint on the ladder to allow this.
Inventor 2013 Release 2013 SP2
Product Design Suite Ultimate 2013 64-Bit Edition
64-bit HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
Anthony Goodwin ~ Cad Manager/Senior Designer
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
View 4 Replies
View Related
Sep 30, 2013
How could I center the suppressed constraint? I woul like to selecet it in the listbox.
Private Sub CommandButton1_Click()
Dim oAssDoc As AssemblyDocument
Set oAssDoc = ThisApplication.ActiveDocument
Dim oConstraint As AssemblyConstraint
For Each oConstraint In oAssDoc.ComponentDefinition.Constraints
If oConstraint.HealthStatus = kSuppressedHealth Then
Call ListBox1.AddItem(oConstraint.Name)
End If
Next oConstraint
End Sub
View 7 Replies
View Related
Apr 25, 2013
This is noce Made sub assembly everything is good to go. Put in main assembly and flip..
Yeah lets not fixs bugs...
Sub Assembly
Insert in Main Assembly
Nice.. And no i have not constrained it to the main just put it in...
View 1 Replies
View Related
Jan 5, 2013
I got a problem with editing angle constraint in assemblies. I tried edit property of constraint but it didn't move model. Simply changing Angle attribute of constraint item don't work.
Only way I achieved movemenet is
if(oOccurrence.Constraints[i].Name.Equals(name))
{
AngleConstraint a = (AngleConstraint)oOccurrence.Constraints[i];
Object oEntity1 = a.EntityOne;
Object oEntity2 = a.EntityTwo;
String sVal = "" + angle + " deg";
[Code]...
but this is really slow, as much as changing throught parameter:
if (assemblyDoc.ComponentDefinition.Parameters[i].Name == "d655")
{
Inventor.Parameter invParam = assemblyDoc.ComponentDefinition.Parameters[i];
invParam.Value = Math.PI * angle/180;
inventorApplication.ActiveDocument.Update();
}
View 1 Replies
View Related
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
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
Mar 30, 2012
I have an assembly that is nearly completed. I am trying to change the lengths of two side rails (arrow pointing to one of them). On each end of these rails are several components that have been constrained to the rails.
When I change the length of the rails, many of the constraints show errors. I expected that all components would move with the ends of the rails as they are shortened since that is where they were constrained, but this has not happened.
The constraint recovery tool has not been useful to me.
View 3 Replies
View Related
Nov 24, 2011
I have an Assembly2 in Assembly1. I'd like to insert Assembly2 to Assembly 3 without losing any constraints or adaptive feature to Assembly1, while Assembly2 replaced with Assembly3.
Assembly1.iam
- Assembly2.iam
+ Part1
+ Part2
This is what I want:
Assembly1.iam
- Assembly3.iam
- Assembly2.iam
+ Part1
+ Part2
But Assembly2 shouldn't lose any constraints to Assembly1.
Software: Inventor Series 2011 SP1 x64
OS: Vista Business x64
CPU: E6400
RAM: 2*2Gb GeIL
VGA: Quadro FX 550
View 2 Replies
View Related
Jul 22, 2013
I have 4 different sub assemblies , each with a common part , I need to line up all these common parts in my main assembly.
View 5 Replies
View Related
Sep 17, 2011
How do I make multiple views (Front, Top, Side & Isometric) when driving an assembly constraint? I want to be able to show an assembly moving from different perspectives all at one time.
Inventor 2013
Windows 7 Professional 64-bit SP1
HP EliteBook 8470w
Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Memory: 16 GB
AMD FirePro M2000
3D Connexion SpacePilot
View 6 Replies
View Related
Jan 18, 2012
I've got a relatively simple assembly (attached) containing 3 iparts. I change the center component the assembly and I lose all the constraints. Only the length changes, I'm sure I did this before but yet it turns out to be an epic disaster.
View 1 Replies
View Related
May 28, 2013
Given the list of AssemblyConstraints how do I list them textually? For example
// error checking removed for brevityCComPtr<AssemblyConstraints> pConstraintList;pAssDef->get_Constraints(&pConstraintList) ; _tprintf_s (_T("The assembly has %d constraints
"),pConstraintList->Count);const int ikNum = pConstraintList->Count ;for (int iConstraint = 0 ; iConstraint < ikNum ; i++) { CComPtr<AssemblyConstraint> pConstraint; hr = pConstraintList->...
what to put here? how to print out more data here...? }How do I get each constraint from the list?
View 3 Replies
View Related
Nov 1, 2011
I have a linear slide assembly, for which I've set up limit constraints in the open and closed position.
It all works well, with one being able to drag the slide open and closed and the parts stopping in the correct positions.
I then inserted 4 of these assemblies as sub assemblies in a parent assembly.
I then constrain another part to the 4 slides.
I want to just drag on this part, to make the slides move to open positions.
This is to check kinematics etc.
One cant do this. You can only drag one slide open, by activating that slide in the model browser.
Any way to make limits work properly in upper assemblies?
View 2 Replies
View Related
Jun 17, 2011
When I record an animation in .avi using the Drive Constraint command here's what pops :
-The codec you selected to compress this AVI video stream cannot handle the current screen color depth and/or the graphics frame size. Please try another codec.
-Then I press OK and it records but the AVI file is empty and no video is watchable.
What can I do?
I'm using Autodesk Inventor 2012 ans a windows 7 64bit brand new computer with Nvidia graphic card.
View 6 Replies
View Related
Aug 5, 2013
On AssemblyConstraints what is the difference between EntityOne(Two) and GeometryOne(Two). When should one be used over the other?
Likewise with AffectedOccurrenceOne(Two) and OccurrenceOne(Two).
View 2 Replies
View Related
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
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
Aug 31, 2012
I would like to determine the Proxy ObjectType returned from Constraint.EntityOne (i.e. If oConst.EntityOne = kWorkPointProxyObject Then ....)
Property EntityOne() As IDispatch**
how IDispatch works.
Dim oAsmDef As AssemblyComponentDefinitionSet oAsmDef = oAsmDoc.ComponentDefinition
Dim oConst As AssemblyConstraint
For Each oConst In oAsmDef.Constraints'Below will print the Enum 67120288 (kEdgeProxyObject) or 67119520 (kFaceProxyObject) if
'it is constrained. It will Err if a Work or Sketch Proxy Object is Constrained Debug.Print oConst.EntityOne Debug.Print oConst.EntityTwo Next
View 2 Replies
View Related
Aug 26, 2013
Why can't Inventor constrain an ellipsoidal contour with a line? We have pressure cylinders which uses a 2:1 ellipse. These cylinder get welded to a base stand fixture. The surface of the ellipse nestles in between contact points of the base stand, in this case lines of geometry. Yet Inventor can't constrain them as such. Any good workflow (at the assembly level) so that we don't have to ground components and use the Analyze Interference tool to make sure we are right on the surfaces? I don't understand why it will work for a cylindrical surface but not an elliptical surface.
View 7 Replies
View Related
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