AutoCAD Inventor :: Remove All Fixed Constraints With ILogic
Sep 24, 2013
How does Inventor "Remove fix constraints" so quickly? Can this be replicated in iLogic?
The way I've previously done this requires looping through the constraint collection and deleting one at a time which may take a few minutes on a complex sketch, but when Inventor deletes fixed constraints throught the menu option it does it in a few seconds on the same sketch so Inventor must be able to select them all at once and delete them all at once. Is there a way to do this through the API or iLogic?
View 9 Replies
ADVERTISEMENT
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
Mar 28, 2012
FEA of a hollow metal ball.
The case is-
1. hollow steel metal ball OD 200mm, ID 190mm
2. Outside surrounding uniform pressure 10 MPa.
3. The ball is floating in a kind of liquid, so the gravity is neglected.
How to run FEA on this ball? How to add fixed constraints.
View 7 Replies
View Related
Jun 1, 2012
I set rules to turn parts off, and they are Suppressed, but I keep getting errors on constraints underneath the suppressed part. I did a screen capture of what the problem is.
View 9 Replies
View Related
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
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
Jul 12, 2013
Is there a way to edit constraints inside a subassembly from the main assembly, using ilogic?
I would like to supress a constraint (let's call it mate:8), which is inside a subassembly. When I right click on that constraint, and select "Capture Current State", it inserts Constraint.IsActive("Mate:8") into my iLogic code. However, there is already a mate:8 in my main assembly, so how can I be more specific so that iLogic knows which constraint I am talking about?
Inventor 2014
HP Pavilion dv6t-6b00
Intel Core i7 2670QM
AMD Radeon HD 6490M
8gb RAM
Windows 7 64 bit
3Dconnexion SpaceExplorer
View 9 Replies
View Related
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
Aug 12, 2013
I am migrating our old Inventor data to our new system. I will do an ilogic script for that.
I know how to add custom iProperties with iLogic but how can I remove them? Is it possible with iLogic? I would like to clean out all old iProperties that we don't need anymore.
View 2 Replies
View Related
Oct 28, 2013
Is there a way of using ilogic code to untick the highlighted component below. To run at assembly level to itterate down all levelsUntick (Use color overide from source component) update all parts
View 6 Replies
View Related
Aug 21, 2013
I am looking for a way to create an external rule that will allow me to turn off the visibility of bolt generator items in the model while I am looking at the drawing. Bolts may be buried several subassemblies (4 - 6) deep.
View 6 Replies
View Related
Jul 5, 2012
Why can I not constrain placed objects with three constraints? Anything I place constrains with one constraint then is virtually fixed (without being) and cannot even be moved to allow for further constraining.
View 9 Replies
View Related
Jun 6, 2011
The bug giving incorrect lenths of frames created on internal cutouts with fillets using merge hasnt been fixed in 2011 SP2 (64bit). Base part attached for testing.
Any chance of a hotfix?
View 9 Replies
View Related
Jan 6, 2014
I created a sketch on a 'fixed workplane' and extruded it. I would like to know if it is possible to move the workplane? I understand I can change the workplane if it is a 'plane by offset from plane'.
If moving a fixed workplane is possible, does the extruded features move along together?
View 2 Replies
View Related
Jan 6, 2014
I am creating an assembly where I need to add a light probe that is length X from a sensor to an LED. I would like to create a cable modeling this transition to make sure it can be routed around other components. I can't seem to find how to lock the length for the cable from point A to point B, it only changes based on what points I add on its path.
View 1 Replies
View Related
Jul 27, 2006
I've come across this many times now. When in an assembly, I create a sketch. I then try to project geometry and I will sometimes get this error:
"Cannot constrain or dimension reference or fixed geometry."
why I can't project edges/faces/points of certain parts?
View 9 Replies
View Related
Aug 19, 2013
how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies
View Related
Nov 2, 2012
The fixed width function did not work when I wanted to draw a fixed width rectangle. Is there a new way to do this in CS6?
View 4 Replies
View Related
May 8, 2013
I'm sure this has been asked many times but none of the queries I used brought up a similar question. My issue is that I recently spent a lot of time annotating a detail view with leaders attached to geometry, leaders not attached to geometry, and sketches constrained to geometry projected from the view.
I made some modifications to the model which didn't re-locate any of the components that I'd annotated, but somehow the detail view got shifted, and all of my leaders are pointing to the wrong place and the parts of my sketch that weren't constrained to geometry are in the wrong place as well. Some of the leaders seem to have held to their posts better than others, but for the most part my annotations are worthless and will need to be re-done.
View 6 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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