AutoCAD Inventor :: Get Details Of A Constraint From A List Of Assembly Constraints / C++

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


ADVERTISEMENT

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 :: Part Details From Assembly View

Apr 2, 2013

Is there a quick way to detail parts from an assembly without having to browse to a part and then search through and select a part and insert a Base View?

For instance from within SolidWorks you can insert a view of an assembly and if you need to detail any part within that assembly you can simply click/select on the part in an assembly view and right click insert view then your View Menu pops up and you are moving forward. If you have to detail several parts you can spit out their Base Views in a matter of seconds. Even if you are making a seperate sheet just for the parts it is easier to insert an assembly view off the sheet and select the parts from there insert all of your part views then delete the assembly view if you want. You can also go to the properties of each view and link the balloons to your assembly BOM.

It is very useful if you are generating drawings such as I do with most parts for the assembly being detailed on the same sheets. 

So is there a quick way to get the parts detailed?

View 9 Replies View Related

AutoCAD Inventor :: File - Open Uses List Not Details In View Menu?

Aug 12, 2005

When I use File > Open or Place Component the Windows file browser opens in List mode which means that I have to use the horizontal scroll bar to browse the directory. I would like it to open in Detail mode [List and Detail are some of the view choices under the View Menu of the Windows file browser window] allowing me to browse with the vertical scroll bar. -- I think it's ergonomically eaisier.

I can make the change from the View Menu but it doesn't hold. I have checked to see that Windows 2000 is set for Details when using Windows Explorer.

Are there any settings in Inventor to force Detail mode?

View 6 Replies View Related

AutoCAD Inventor :: List Of Sketch Constraints

Nov 11, 2013

Does Inventor (2012) have the option to view sketch constraints as a list? I feel like I am playing pictionary trying to find out what constraint is what and what it is constraining and it doesn't work that Inventor stacks anything nearby on top of each other.

I've attached a file showing what the problem is, please don't judge the model tree.  I was prototyping as I went so it is messy.

View 9 Replies View Related

AutoCAD Inventor :: How To Find Cross Section Details In Assembly Level

Jun 27, 2012

How to find the cross section details like area and movement of inertia  at particular cross section

in( solid works there is a direct option select the section and select the face and click on the calculate automatically gives the are and movement of inertia etc in part and sassy level also) but in inventor in part level its possible but in an assembly level.

View 7 Replies View Related

AutoCAD Inventor :: C++ Samples Of C Assembly Constraints

May 24, 2013

Are there any C++ samples of the use of C Assembly Constraints? The syntax is so much different with VB a few real examples would be really useful.

View 2 Replies View Related

AutoCAD Inventor :: Deleting Constraints In Assembly

Feb 14, 2013

Why is it when I select multiple contraints for a component that I can use the delete key on the keyboard to eliminate them but when I select only a single constraint, I have to right click and select delete on the context menu.  The delete key will not work  on a single constraint.

View 7 Replies View Related

AutoCAD Inventor :: Parallel Constraint In Assembly

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

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 View Related

AutoCAD Inventor :: Rotate WITH Constraint In Assembly?

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

AutoCAD Inventor :: Assembly Rotating Constraint

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

AutoCAD Inventor :: Search For Suppressed Constraints And List Them In A Listbox?

Jan 16, 2013

how could I search for suppressed constraints and list them in a Listbox.

View 2 Replies View Related

AutoCAD Inventor :: 2013 - Assembly Constraints Cannot Edit

May 7, 2013

Just started converting over to 2013 and I can no longer edit constraints.  Is this part of the new way.

View 1 Replies View Related

AutoCAD Inventor :: Part Movement Constraints In Assembly

Jan 20, 2012

In an assembly we can set driven constraints to drive parts etc.. or we can set the contact solver to show contacts.

Is it possible to set something like a driven constraint but so it is flexible between the set parameters?

when creating designs i like to move stuff around with the mouse to see how it works and the potential problems that might arise etc.. however  i would like to still move stuff around with the mouse but restrict the movements with constraints.

so if you have a hingy flappy thing, the constraints would be set so it can rotate round the hinge as required but also an angular constraint could be set do it would work between set angles, say 0 to 50 degrees and if it gets to the limit it stops?

Is this possible, I think it would be very useful?

View 4 Replies View Related

AutoCAD Inventor :: Assembly Constraints Snowballing Errors

Nov 16, 2011

I have a bunch of assemblies that are acting this way and I am not sure why.

I have built the parts and built the sub-assemblies with-out errors, once everything looks good I place the subassemblies into my top level assembly.

Everything still looks good with no errors.

I do a rebuild of the top level assembly and find 20 or so errors.

Most of the errors are bogus and editing the constraint with-out changing anything removes the errors, typicaly.

On a bunch of the sub-assemblies the error showed up in the top level assembly, so I edit the part only to find the constraint is relevant but with errors so I suppress it to remove the error. Save and go back to the top level assembly only to find there is another constraint error in the same assembly that I suppressed the constraint to remove the error. This goes back and forth between top level and sub-assembly till all constraints are suppressed or deleted for the sub-assembly. Then the same thing happens to another sub-assembly.

The only solution that I have found is to delete all constraints and rebuild each sub-assembly with the same constraints that were initially used.

How do I stop this snowball effect?

View 2 Replies View Related

AutoCAD Inventor :: Assembly Constraints Driven By Ilogic?

Apr 4, 2013

I want to use I logic to adjust an assembly constraint based on T/F value passed from a master sketch. 

I have passed the paramater T/F and/or a user paramater as described in this thread using link (neet trick).. but when the code fires it only works on the true application and not the false.. if i open the rule and then close it the update button  becomes available and when updated the false condition updates sucessfully. I have tried just re-running the rule to no avail. It seams that the only way I can get it to triger a false condition is to open the rule... close it and update. 

If Parameter("iTrigger0101000") = 1 Thend37_Header1 = -.25 ind34_Header2 = -.25 inElseIf Parameter("iTrigger0101000") = 0 Thend37_Header1 = -.25 ind34_Header2 = 0.0 inEnd If

View 2 Replies View Related

AutoCAD Inventor :: Mirroring Assembly And Retaining Constraints?

Jul 12, 2013

I am atempting to mirror a large assembly, and noticed that not all of my contraints were retain, is there a way to make to mirror and retain all of the contraints?

View 2 Replies View Related

AutoCAD Inventor :: Assembly Mirror Loses Constraints

Feb 9, 2005

I place and fully constrain two components in an assembly them mirror them. To my surprise, the mirror parts are not constrained. I grab them and move them anywhere I want. I closed without saving, reopened and grounded the mirrored components.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Create Assembly Constraints

Dec 30, 2013

Im after programmatically mating 2 components together in an assembly. My stages are as follows:

1)Create New Assembly

2)Add .ipt's

3) One-by-one, mate all the parts together (each part has a plane named "WPStart" and "WPEnd". In each part im after the WPStart being flush mated with the WPEnd of the 2nd part - see image attached. In addition I would like to mate al the XZ planes in each of the parts fluch together and likewize the YZ planes.

3) Mate the parts together

Dim FlushConst As FlushConstraint

FlushConst.AffectedOccurrenceOne = oAssyDoc.ComponentDefinition.Occurrence.Item(1).Workplanes.ItemByName("WPStart") <--------

FlushConst.AffectedOccurrenceTwo = oAssyDoc.ComponentDefinition.Occurrence.Item(2).Workplanes.ItemByName("WPEnd")  <--------

View 2 Replies View Related

AutoCAD Inventor :: Adding Angle Constraint To Assembly

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

AutoCAD Inventor :: Search For Suppressed Constraint In Assembly

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

AutoCAD Inventor :: Parts Do Not Get Constraint In Assembly If Use Mirror

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

AutoCAD Inventor :: Constraint Flip When Inserted In Assembly

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

AutoCAD Inventor :: How To Change Angle Constraint In Assembly

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

AutoCAD Inventor :: Best Way To Copy Parts In Assembly To Retain Constraints?

Jun 6, 2012

Looking for views on what the best method is to copy a selection of parts in IV 2013 which will result in the copied selection to retain it's constraints ? I have an assembly which I have used the mirror method on a batch of parts, also used the standard copy method and pattern components.

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 7 Replies View Related

AutoCAD Inventor :: Previewing Assembly Constraints Before Hitting Apply?

Oct 29, 2011

I just recently installed Inventor 2012 and I'm finding it extremely annoying assembling parts together. I recall in 2011 I could see the parts interact and how the constraints would effect assemblies as I change offsets, relstionships, etc. But now in 2012 I can't see any of that until I acutallly apply the constrain and if it's wrong I have to back and edit it over multiple times till I get what I want. Is there anyway to get a preview of what will happen before I click the apply buton?

View 2 Replies View Related

AutoCAD Inventor :: Assembly Constraint Errors When Resizing Component

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

AutoCAD Inventor :: Replace Assembly With Its Subassembly Without Losing Constraint?

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

AutoCAD Inventor :: Constraint In Subassembly Driven From Main Assembly

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

AutoCAD Inventor :: Multiple Views When Driving Assembly Constraint?

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







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