AutoCAD Inventor :: How To Click On Two Lines In A Part Sketch And Get There Intersection Point Using VBA

Oct 29, 2013

In assembly mode, how can I click on two lines in a part sketch and get there intersection point using VBA?

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Constraining A Part To A Sketch Point In The Assembly Environment

Aug 7, 2012

Unfortunately, it's chock full of proprietary customer data, so I can't share the parts or the assembly.  But I can pretty well explain what needs to happen, and I've attached a JPG that shows a bit of what I'm doing.

I need to design a bracket to hold an RPM sensor at a certain gap to a spiral bevel gear.  I've got a huge assembly model (non-Inventor) from the customer, as well as the model for the sensor.  My plan is to start a master IAM, insert the customer assembly, insert the sensor and constrain him, and draw the various hardware I need around the sensor.

So I start by making a work plane that matches the bevel angle and is in a location so the end of my sensor will be flush to that plane.  Create a sketch on that plane, then project 2 relevant axes to create the appropriate "origin" from which my location will be based.  Place a point on one line, at a certain radial distance and constrain my point.

So now I've got a point and a plane that are where I want my sensing face and my centerline axis to be.  What now?  I was thinking that I'd create a work axis "normal to plane through a point", but this workflow isn't available in the assembly environment.  I can't constrain a solid to a sketch point, so I really don't know what to do at this point in order to put the part where I need it.

View 2 Replies View Related

AutoCAD Inventor :: Red Lines Is Part Sketch Mode?

Dec 12, 2002

I know about the pink lines, green lines, and black line, but I recieved a part from another person and it had red lines for the sketch, how, what did he do to get those? He doesn't know how he did it.

View 8 Replies View Related

AutoCAD Inventor :: Hide Part Sketch Construction Lines?

May 16, 2011

Is there any way to hide construction lines in Part & Assembly sketches in the same way you can in a Drawing sketch?

I know you can change the line colour to the background colour but this makes the lines invisible in sketch as well.

Not being able to hide the construction is making some layouts pretty pointless since relevant detail is obscured by the construction lines. Grounding the geommetry and deleting the construcion lines isn't an option since the sketches are part of the design development and not fixed.

View 9 Replies View Related

AutoCAD Inventor :: Export Start And End Point Of Various Lines In Sketch To Excel File?

Oct 26, 2012

I have been searching for a macro to export the start and end point of a line coordinates to excel, but I can only find information on how to export 3D Points.

Is it possible to program a macro that allows me to export the start and end point of various lines in a sketch?

The objective of this is to connect an excel file which is updated when I create a line with it correspondent points, then i could not only import these x,y,z coordinates from excel to inventor but I whould be able to update my spreedsheet whenever I change my sketch.

View 1 Replies View Related

AutoCAD Inventor :: Skeletal Modeling - Cannot Use 3D Sketch Lines In Skeleton Base Part

Sep 14, 2011

Why can i use lines from a 3d sketch to constraint a part to a skeleton base part?

I have attached a example where i try to constraint the tube.ipt using 3D geometry lines of the part  Layout_3d_sketch.ipt in the assembly teste.iam, but i'm unable to select any lines from that file.

Why can't i use this 3D sketch lines in a skeleton base part?

View 9 Replies View Related

AutoCad :: Zoom Intersection Point Of Lines And Circle

Apr 7, 2013

I Posted This problem twice but it doesn't showed in the forum. I don't know why, whatever, My problem is making Array with a circle and a line[same as to radius]. When i use array between them to create 9 more lines, some lines are becomes bigger then the original line. why this happen? I attach a file to be understand clearly. Zoom the intersection point of lines and the circle.

View 3 Replies View Related

AutoCAD .NET :: Selecting Lines Around Intersection Point With Reference Line?

Sep 17, 2011

Is it possible to select lines (maybe up to 6 lines) around an intersection point  with a reference line. There is one intersection point and the lines are around it. And also, both the intersecting lines are in different layers. 

How to get the ObjectARX's ArxDbg tool working on autocad 2012. ObjectARX 2010 sample project fails to open in VS2010 express.

View 4 Replies View Related

AutoCAD Inventor :: How To Get Sketch Point Data From Sketch Entity

Dec 3, 2013

I was trying to query some sketch points data from a profile Path using code as below. However the program stopped without telling the reason.

Code below:
i = 0;
foreach (ProfileEntity oSourceProfileEntity in oProfilePath) { switch (oProfilePath[i].SketchEntity.Type) { case ObjectTypeEnum.kSketchArcObject: { SketchArc srcSkArc = default(SketchArc); srcSkArc = (SketchArc) oSourceProfileEntity.SketchEntity; // error points[i] = srcSkArc.StartSketchPoint.Geometry; break; } default: { SketchLine srcSkLine = default(SketchLine); srcSkLine =(SketchLine) oProfilePath[i].SketchEntity; // error points[i] = srcSkLine.StartSketchPoint.Geometry; break; } } i++; } 

View 2 Replies View Related

AutoCAD Inventor :: Copy Part Sketch Into Drawing Sketch

Sep 20, 2012

How do I duplicate the 2D line work from a part level sketch into a drawing level (overlay) sketch?

I started a simple 2D piping system diagram sketch by opening a new part file and using a sketch to stick draw the system schematic including some annotations.  Then I opened a new drawing file and made a base view of the part file to bring a view of the original sketch into the drawing.

I realize now that it would have been much easier to have created the schematic directly in a 2D sketch at the drawing level, which would have made editing the annotations much easier at the drawing level, and there is really no need for the part file to exist.  I have no intention of creating a 3D model or "real" part in the .ipt file, was just using it as a jumping off point to sketch.

I was thinking that I could correct my error in judgment by just copying the sketch and pasting it into a new sketch on the drawing, but it doesn't want to work that way.  I have tried copying both the whole sketch at the browser level, and the entire sketch contents (all of the lines and annotations) from the opened part sketch, but when I attempt to paste either of those into the drawing, paste does not seem to be an option.  I'd rather not have to draw the whole thing again, as in typical fashion, my once simple sketch has grown in proportion and complexity from its simple beginning.

View 4 Replies View Related

AutoCAD Inventor :: Dimension At An Intersection Point?

Oct 13, 2011

How do we create dimension at an intersection point between arc and line?see attached picture. I need to create dimension as red line.

View 3 Replies View Related

AutoCAD Inventor :: Project Sketch From Part To Another Part In Assembly?

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

AutoCAD Inventor :: Find Intersection Point Between Line Segment And Workplane

Aug 31, 2011

I have to create a hole (extrude) in a wall part in my assembly document where a stack will be installed.

To determine where, I verify if a line segment pass through the wall (XY Plane).

But I get an error with the command: IntersectWithLine

Here's my

 Public Function IntersectionPoint(ByVal app As Inventor.Application,
ByVal wp As Inventor.WorkPlane) As Inventor.Point
Dim oTransGeom As Inventor.TransientGeometry = app.TransientGeometry
Dim startPoint As Inventor.Point = oTransGeom.CreatePoint(Me.StartVertex.X,
[Code] ......

View 2 Replies View Related

AutoCAD Inventor :: Find Intersection Point Between LineSegment2D / DrawingCurveSegment Object

Sep 14, 2012

I'm attempting to find the intersection point between a LineSegment2d Object and a DrawingCurveSegment object unsuccessfully.

View 1 Replies View Related

AutoCAD Inventor :: Intersection Point Between Cylindrical Curve And Faces In Body

Feb 7, 2013

I want to find the intersection point between a cylindrical curve and faces in a body. I have the start point an start vector and a rotational velocity. With this values it should be possible to create this cylindrical curve.

Is there a function in inventor which I can use?

Currently I am using the function "FindUsingRay". But I thing that there is only the possibility to fire a linear function through the body.

Today I found the command "FindUsingVector":

Sub FindUsingVector(OriginPoint As Point, Direction As UnitVector, ObjectTypes As SelectionFilterEnum(), ByRef UseCylinder As [defaultvalue(-1)] Boolean, ByRef ProximityTolerance As [optional] VARIANT, ByRef VisibleObjectsOnly As [defaultvalue(-1)] Boolean, ByRef LocationPoints As [optional] VARIANT,

I did not find any information in the "Autodesk Programming help". what is the difference between this both functions?

Is the argument "UseCylinder" for a switch into cylindrical coordinate system?

View 7 Replies View Related

AutoCAD Inventor :: Make 2 To Sketch Lines Instead Of Floating Lines?

Jan 28, 2013

Is there any way to make 2 to sketch lines instead of floating lines so that I can dimension them?

For example, if I have a part that can change lengths and I need to print off a new drawing, it would be good if I could say that the lines were a set distance from each end of the part or some features of the part.

Then I could update the part length, then just open the part drawing and not have to adjust anything.

View 1 Replies View Related

AutoCAD Inventor :: 3D Sketch Only Allow One Edge Through A Point

Jan 18, 2012

I use vb.net draw a cube frame (just point and add edge to link points) in 3dsketch. But at the corner, I got only one edge, the others are filled that is a arc is inserted between the 2nd & 3rd edge to the corner point. There is no second edge is extended to that point.

Just wondering why I got the result. There is no fillet command in my code.

View 1 Replies View Related

AutoCAD Inventor :: Coincidence Point In 3D Sketch

Dec 15, 2012

I want to concide two points of two different lines.These two lines have been created in two different workplanes with 2D sketch.

View 7 Replies View Related

AutoCAD Inventor :: Cannot Set Values Of A Sketch Point

Jan 17, 2012

I'm trying to contrain the end points of 2 lines using iLogic. I know the end points but I cannot get the values into the SketchPoint object. The real odd thing is I can create the lines no problem. I tried it 2 different ways shown below. The first way gives me this error..."Object reference not set to an instance of an object.". The second says "Unable to cast COM object.."

Dim oTG As TransientGeometry
oTG = ThisApplication.TransientGeometry
Dim EntityEndPt As SketchPoint
EndPtX = 0 * 2.54
EndPtY = 3 * 2.54
‘Code Fails Here!
EntityStartPt.Geometry.X = EndPtX

View 5 Replies View Related

AutoCAD Inventor :: How To Get The Center Point For Sketch

Nov 11, 2013

I just want to know that how can I get the center point from a Sketch Object ?

View 1 Replies View Related

AutoCAD Inventor :: Add Sketch-point To Midpoint Of Arc?

Mar 16, 2012

How would one add a sketch-point to a midpoint of an arc? For a SketchLine its easy...

oSketch.GeometricConstraints.AddMidpoint oSketchPoint, oSketchLine

However, I can't see how to do the same operation to find the midpoint of a SketchArc. The interface of course has a selection filter for this so I assume the API can do the same?

View 6 Replies View Related

AutoCAD Inventor :: Add Sketch On Part's Face By Vba

Oct 22, 2012

I can add sketch on a part's workplane (xy, xz, yz) by using sketchs.add.is there anyway i can select a face of part and create a new sketch?

View 6 Replies View Related

AutoCAD Inventor :: CAM Follower In A Part Sketch?

Jul 27, 2012

I have a feature that is very similar to a CAM that I need to cut other feature with. The second feature needs to maintain its position way from the CAM feature just as a CAM follower would. The CAM is made up of arcs. If it were made from a spline I would be all set. Is there a way to either convert the arcs to a spline or make a CAM follower type arrangement in a part sketch?

View 1 Replies View Related

AutoCAD Inventor :: Constraining A 3D Sketch To A Part

Dec 13, 2011

I am trying to make a 3D sketch that is constrained to two different parts in an assembly.  I want the sketch to be constrained to each of these parts so that if you move the parts relative to each other the sketch will adapt. 

I have tried using work planes and project geometry but when I go to move the part the geometry won't always follow the part.  I am using a spline for the 3D sketch so it should be able to adapt when the parts are moved but the problem is constraining it to something that follows the part.

View 1 Replies View Related

AutoCAD Inventor :: Sketch Origin Center Point

May 6, 2013

The screen shot below shows three coincident constraints and a projection icon on the origin.

 looks like a projection icon - what does it mean?

I want to delete the three coincident constraints. But when I delete the coincident constraints there is no Sketch origin center point (the sketch origin center point is a square-yellow dot at the x-y intersection). How to delete or move the three coincident constraints with out deleting the sketch origin center point?

View 2 Replies View Related

AutoCAD Inventor :: Can't Use Sketch To Create Point Or Axis

Oct 4, 2011

I have this assembly shown in the pic. below. I'm trying to create a point or axis in the blue corner points (to attaches something later on) but it just won't let me choose it for some reason. I know that it's possible to to do that (almost sure I already done this trivial thing in inventor.)

Any reason it's not letting me choose the sketch points/line to in order to create points or axis(s)?

Inventor 2012 Pro.
I7 workstation

View 8 Replies View Related

AutoCAD Inventor :: How To Make A Plane Through Sketch Point

Sep 27, 2013

I cannot make a plane parallel to a surface and through a sketch point.

I can't also select the sketch point or line in order to make an axis. the sketch point, line from the sketch or anything from a sketch isn't selectable.

View 4 Replies View Related

AutoCAD Inventor :: Retrieve Start Point On New Sketch

Apr 24, 2012

how do I retrieve the centre point in my design axis in Inventor, when I create a new sketch, like the point at x0:y0:z0

View 2 Replies View Related

AutoCAD Inventor :: Can't Grab / Move Any Point On Sketch

Sep 20, 2013

It goes f.e. like this:

I draw a line (no constrains) and I can move it by grabing an end or whole line by click&hold mouse button, great.

But after couple minutes of work with part and sketches I can't grab anything. Even on new created sketches and new lines. Click and drag just open rectangle selection. Oh, between these phases there is a phase when 2nd click&hold works...

When I open/create another part it is normall, but this one I must close and open again.

View 2 Replies View Related

AutoCAD Inventor :: Get Point Location Of Mouse Click Using ILogic

Mar 4, 2013

I'm trying to get the point location of a mouse click in an Inventor drawing using an iLogic Rule. Any examples of using mouse events in iLogic?

View 9 Replies View Related

AutoCAD Inventor :: Part Sketch Not Showing In Assembly?

Oct 15, 2013

I am using Inventor 2014.  I have a sketch on a part that does not show up when I put the part into an assembly.  Any way to make the sketch show up in the assembly?  It is a 3d sketch that is projected to a surface.

View 1 Replies View Related







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