AutoCAD Inventor :: Assembly UCS To Part UCS Constraint
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
ADVERTISEMENT
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
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
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
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 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
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
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
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
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
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
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