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


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

AutoCAD Inventor :: Assembly Constraints Doesn't Move The Part After Applying Them

Mar 21, 2013

I noticed when creating assemblies, applying a positional constraint, the parts don't move. In order to get the parts to "move" to their constrained position I have to try and drag them with the mouse then they snap into place. Also updating the assembly works as well.

What setting could I have changed so that once I press apply on a constraint it moves the part immediately?

Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49

View 5 Replies View Related

AutoCAD Inventor :: Using Parameters In Constraints - Drive Multiple Constraints?

Aug 10, 2012

I need to drive more than one constraint at a time.  The assembly consist of a hydraulic ram that pulls a cable which is routed around a few pullys and then pulls another linear moving member.  I don't really care about modeling the cable right now, I just want the cylinder piston and the final member to move in unison.   I can only drive one constraint at a time, so I figured I could relate the two constraints together by setting them equal to a parameter (variable), but that isn't working.  Is it me or is driving multiple constraints at a time something that would be very useful for a lot of applications?  

View 3 Replies View Related

AutoCAD Inventor :: Coincident Constraints Becoming Fixed Constraints

Aug 28, 2013

I'm modeling cables running through a series of cable clamps.  I'm working in an assembly with my structure as one part, clamps as seperate parts, and cables as separate parts.  I modeled the clamps first and am using them to create my 3d spline to run the sweep.  The clamps have moved several times and each time, the sweeps (cables) do not update to follow the new clamping path.  I have tried multiple ways of solving this.

I've tried to redo the splines using "Include Geometry" and running the spline through the centers of the clamps. I've also deleted the constraints (which for some reason turn into fixed) and reapplied them as coincident constraints. However, once I setup these coincidences, they always change back to fixed.

In a last ditch method, I've created 2d sketches at EVERY clamping location (yes that's alot of sketches, time and effort) and projected the circular geometry to get a center point.  This has seemed to work, but is so much work, there's no way we could use it regularly.

View 6 Replies View Related

AutoCAD Inventor :: 3D Sketch Constraints

Apr 23, 2012

Why do we not have the "=" (equals) constraint option in 3D Sketch mode? It seems like a very basic need for a constraint. Is there a reason why one should NOT want to have an "equal" constraint in a 3D Sketch?

View 3 Replies View Related

AutoCAD Inventor :: Alignment Without Constraints

Feb 16, 2012

All I need to do for now is to align one part to the center axis of another part. Later I will constrain but for now I just need to see  where the two meet so I can project geometry onto a draw surface. So, all I need to do is make their central axes coincide on one straight line.

I can achieve the same result by counting the various lengths but I'm hoping there's a simpler solution.

View 3 Replies View Related

AutoCAD Inventor :: How To Configure The Constraints

Aug 20, 2012

Assume a beam like the one in the picture below.

How must I configure the constraints?

The left constraints should be a "Fix constraint" on the edge(not the face) I assume.

But the right constraints must not fix all DOF's.

How can I configure the right constraint?

View 1 Replies View Related

AutoCAD Inventor :: Missing Sketch Constraints

Oct 13, 2011

I've just installed 2012 and I seem to have a problem with constraints. 

The basic problem is that the SHOW CONSTRAINTS command doesn't show the constraints for geometry that clearly has them.  For example, if you delete a horizontal constraint from a line and then add a horizontal constraint to the same line, the line will be constrained but the constraint will not show up.

View 2 Replies View Related

AutoCAD Inventor :: Copy And Paste Constraints

Aug 12, 2012

is it possible to copy and paste parts in an assembly but also keeping any constraints set on the part?

I.e. if I had a square block constrained to a flat face of a floor, when I copy and paste the block many times I would like all the copy blocks to still be constrained to the floor.

View 1 Replies View Related

AutoCAD Inventor :: Constraints Between Selected Parts

Sep 6, 2012

Is there a way to get a list of constraints that exist between two parts in an assembly?

It will take forever to go through each and every constraint for one of the parts, checking the "Other Half" of each just to find all constraints between to specific parts.

View 2 Replies View Related

AutoCAD Inventor :: Editing Constraints Of Parts In C#

May 22, 2012

I'm trying to build a c# program where I can test a simulation for a robot project I have made angle constraints in inventor and now I want to be able to send numbers to specific joint.

With the code listed below I can get all the constraints from a selected part and get the name of the specific constraints.

I find it confusing that most of the documentation is in VB so this is what I have discovered on my own, perhaps this isn't at all the way to do it.

Inventor.SelectSet selSet=asmDoc.SelectSet;
try
{

[Code].....

View 1 Replies View Related

AutoCAD Inventor :: Constraints On Gimbal Not Working?

Nov 22, 2013

Trying to create a gimbal with a supporting frame, an outer square frame, and an inner square frame. when i insert the outer square frame into the supporting frame, i constrain it so that the axis of the hole i have drilled in my frame and the axis of the hole through my supporting frame are aligned, i then constrain a face of it to be a set distance from a parralel face of the supporting frame to centralise it. this works ok, and i can rotate this frame as i like. When, however i insert the inner frame and constrain the axes of the holes drilled through it to the axes of the other holes drilled through the outer frame, and two faces to be a set distance apart, it allows me to rotate my inner frame, but no longer allows me to rotate my outer frame! what have i over-constrained?

View 3 Replies View Related

AutoCAD Inventor :: Line Tool Constraints

Mar 27, 2012

I'm using the line tool in a 2d sketch. First, I draw a polygon with the tool. Then, when I come to move one of the lines with the mouse cursor, it detaches from the other lines, and becomes a single floating line on its own.

As far as I can tell, it has nothing to do with the fly down constraint menu options, but i may have changed another option elsewhere in inventor and not have realised it.

View 5 Replies View Related

AutoCAD Inventor :: How To Drive 2 Constraints In Sequence

May 6, 2013

Using "drive constraint" I would like to simulate the action of a "soft close" mechanisim on a drawer...fast movement for the first portion of travel, then slow movement for the very last portion of travel...

View 1 Replies View Related

AutoCAD Inventor :: Constraints Not Moving Object?

Nov 4, 2011

I have some "insert" constraints for DIN rails in holes. I've moved the holes, but the DIN rail doesn't move. The refresh button isn't "lighting up", or when it does, it does not do anything to move the rail. Is there something that's been "shut off" to keep things from moving?

View 7 Replies View Related

AutoCAD Inventor :: Creating Collision Constraints

Oct 13, 2011

How do you mate two surfaces so that the item will not move any further once it makes contact with that surface? i.e a rotating cam which is designed to stop once it comes into contact with an object / surface.

View 2 Replies View Related

AutoCAD Inventor :: Constraints To Assemble Project

Feb 10, 2012

Something is strange with the constraint activity.

I'm using the constraints to assemble a project. I select the parts with the proper constraint, when "apply" is clicked the parts do not "pop" to location as they use to. I have to go up to "manage" the click "rebuild all" for the parts to move to new location.

View 8 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 :: 2012 - No Preview On Constraints

Apr 25, 2013

Out of the blue, my IV 2012 has decided to stop showing the preview when applying contraints.  I have made no changes to any options or configurations.  Preview check box is checked.

I tried unchecking and rechecking it to no avail.   Any thoughts on this behavior ?

2nd out of the blue issue - when I insert a part into my assy (part file is in the same folder where the assy file is located) IV decides it needs to create a sub-folder and re-saves that part to the sub-folder. I mean, WTF ?  The part file is already there.  Why create another version of the part in a sub-folder. And why would it just start to do this out of the blue.

Again,  I have made no changes to any configurations, options, settings, templates, etc...

View 8 Replies View Related







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