AutoCAD Inventor :: Reference To Original Sketch When Projecting Geometry
Apr 10, 2012
In an assembly document, if you want to project a sketch from one part into another, you go through these steps:
- select the part
- edit the part
- create a 2D sketch
- select the plane
- select project geometry
- select the sketch in the other part
- finish sketch
This creates a reference to the original sketch, so if I move the original sketch the new sketch will also move when I hit Assemble.
I am trying to do the same through the API, so I create a proxy for the original sketch and a proxy for the new sketch. I then use the AddByProjectingEntity method on the new sketch proxy passing the original sketch proxy.
This works for projecting the sketch, but it doesn't create the reference, so if I move the original sketch the new one doesn't move, even if I hit Assemble. How to create this link between the two sketches?
I'm trying to project an edge of a cylinder in a "detail" view. Here's the process I'm taking. Click the view and pick "create sketch", then I pick "Project Geometry". Then I pick the edges of the cylinder I'd like to project and it only projects one side. I can select the edge, but when I right-click and pick done it won't project it. It appears to me that it's only allowing one edge of the same object to be projected. I've tested other objects and it seems to only do this with cylinders.
We have some serious problems by creating assembly drawings with reference geometries in inventor 2010. Our target is, to create a drawing that look the way, the attachment shows (Picture-1) The sheet metal plates Pos 10-100 are an assembly. And the assembly in the back is the reference geometry. It’s a frame consists of steel sections. What we want: 1. The frame must be phantom lined in the idw. 2.
The Sheet Metal parts must be thick lined. 3. The Partslist of the Assembly should only contain the sheet metal parts and not the frame We have some ideas to solve this case, but each of them is nor perfect (please see the attachment Box.pdf) And there’s another problem (described in part 3 of attachment), we cannot position viewports or drawing elements to each other exactly. You have no possibility to give them dependencies. Also if you want to position symbols to each other. All of them are only near to be exact, but that’s a big problem. If you change contents of a viewport, another should be aligned to it, but that doesn’t work.
I have an iCopy solution that when resized smaller than the master some frame members no longer reference existing geometry (and aren't needed).
Is there a way to delete these with an iLogic rule? Curtis has a neat solution for sick constraints, I was hoping to use the same type of rule, but I'm at a loss as to how to reference the frame elements.
How can you force the geometry of reference parts to print behind to print behind your visible parts. I have my reference parts print out on a light gray layer to be shown indistinct on a drawings, but it prints over my object lines in effect hiding them. This is even true if a reference part is hidden. Then hidden line will print over the object lines as well.
I am having trouble with Iparts getting a red cross due to dimensions and constraints to unresolved reference geometry. If, for example, I have Hole 2 dimensioned from Hole 1 in one member and in another member I suppress Hole 1 and Hole 2 I get an error stating (correctly) that the sketch for Hole 2 has a "Dimension to unresolved reference geometry". I understand why I should get this error if Hole 2 was unsuppressed and Hole 1 was suppressed but why do I get this error when they are both suppressed.
If I get this error on a member that has these two holes suppressed and I switch back to a member that has them both active the error dissapears. I guess in the end this is a question for Autodesk. Can you set up Iparts so that when a feature is suppressed Inventor completely ignores it instead of still trying to resolve it. This functionality is a major headache for us because we don't want to leave models with the Red Cross on but if we want to dimension our features appropriately (ie referencing other, related features) we have to leave a model with errors in it.
See attached part. If you switch within the first 2 members there are no errors, if you move into the last 2 members you will see the cross highlight.
I am trying to place a simple Ifeature, its basically an offset from reference geometry but when I place the ifeature it offsets the feature the wrong side of the line.
We just upgraded from 2011 to 2013 and we are having SERIOUS problems with our projected sketch geometry in parts not updating. We have only done this about 1.1 million times over the past four years and now every one of our skeleton models we touch is failing to update and causing a whole mess of delays.
I looked through the Application options for sketching and didn't see anything.
Is there a way to hide project geometry from model sketch? I am modeling a sheetmetal part where I need to sketch centermaks, part number etc. for laser cutting. I want to use xy planes for symmetry reasons when sketching, but I don't want them to appear in dxf. This is a problem if I create a dxf directly from the model.
Usually I create dxf files from drawing by adding new sheet where I create flat pattern view from the spesific part (excluding machinigs etc, only thermal cut boundaries visible). In the drawing I am allso able to show model sketches and hide unwanted project geometry. Is it possible to include these sketches to dxf?
I'm using Inventor 2012, and experiencing some trouble with certain types of projected geometry that I'm using in a sketch associated with a view in an .IDW file - but only when the view involves a break (or breaks).
I'm generating section views to show the layout of hole details at various axial locations along the part. When placing a section line, I can't "pick up" any appropriate locating geometry from the view. So, after creating the view (using just a vertical section line), I edit the sketch that defines the section line. Project some geometry (the edges of the holes, in the attached example), draw some additional geometry constrained to that, then constrain the section line to that. That works fine; if I move the view around, the section lines stay attached to it. This is what is shown in the attached "before break" picture.
When I apply a break to the drawing, though, the section lines don't follow the changing view. They stay right there, as if the view had not been broken at all. This is what's shown in the attached "after break" picture. Move the view around, and they track with it - but always staying the same "real" distance apart from each other. It is as if that projected geometry were completely ignoring the break.
I observe something similar if I start with an IDW view with one or more breaks, then create a sketch associated with the view. If I project geometry, some of it projects where it should, but other geometry projects elsewhere on the page - as if no breaks were present in the view.
The part I've shown here is something I put together as a simplified example of what I'm observing. The part I'm actually trying to detail is more complicated (many more details), and much longer (so breaks are a requirement to put it on paper).
co-workers part file. in the assembly tree the part file has
Cut-->Sketch52-->Reference38.
Now from what I understand if I adjust something in the the assembly file that this Reference38 is associated to then the cut will be adjusted accordingly. My question is, is there a way to determine what Reference 38 is referring to exactly? Which assembly file and which component/part?
I am using projected and sketched geometry (2D sketches) in assembly space to create lines/ points that I intend to use to define planes and axes. The problem I have is that nearly all the geometry I create (lines and points in 2D sketches) is not "selectable" when I try to create planes or axes. I cannot even put a work points "on top of" my sketch points. Why are my sketches not usable in the assembly space? Since the components in my model are just two extruded rings I don't have any linear edges I can select to make this work/ define planes.
Using Inv 2013 and VB 2010. I am trying to reference a sketch within a drawing view, but I am having a hard time figuring out which view number and sketch number to use. I thought I had it figured out, but apparently I was wrong.
For example, see the 2 attached pics, Drawing A and Drawing B. For Drawing A I had the sketch reference set as
Dim oSheet1_View As DrawingView = oDrawDoc.Sheets(1).DrawingViews(3) Dim oSketch As DrawingSketch oSketch = oSheet1_View.Sketches.Item(1)
Drawing View 3, as it was the 3rd Drawing View in the list, and Sketch #1 within that Drawing View. I thought this was how it worked, because it worked with my code and it hid the sketch. However, moving on to Drawing B, I used the same code, and it does not reference that sketch at all. It did nothing to it. Even though the Flange_Holes sketch is in the same position. 3rd View down the list, 1st sketch.
So how does Inventor reference these views and sketches? Is it in order of creation? Is there a way to reference it by the what the sketch is named instead of trying to decipher the number it's assigned? I have a lot of drawings already made, and I'm not positive the views were taken and created in the same exact order each time.
In 5.3 I can create reference dimensions in sketch mode to my hearts content. They became very valuable as I would use them to determine placement of multiple features. Now, in IV 7, I have alot of trouble creating reference dimensions from adjacent features on the same surface. I have to change the way I'm working now and it has stumped me on a few occasions. is there a "new" feature I need to enable or is this the cost of progress?
I have a sketch reference that is giving a cross part failure error. I am unable to select the reference in the browser so I cant delete it or update it.
How to get rid of it. Deleting the sketch and starting again will be a disaster.
I have a VB program that auto updates the size of a door and frame assembly, and in turn, updates the shop drawings to reflect this change. I have a view on my shop drawing that I have drawn a sketch in. I start the sketch, add my dimensions, and I use 'Project Geometry' to project the edges of the actual part around the sketch to constrain my sketch and keep it in place. The problem is, as the program runs, and the door/frame changes height, the sketch loses it's dimensional references to the projected geometry. When I go back and reopen the drawing after running the program, all the dimensions that went to the projected geometry are gone.
Is there another way to anchor a sketch to a drawing view part instead of dimensioning to projected geometries? This doesn't seem to be working, and I've tried it every which way I can think of. Oddly enough, I have another sketch in a different view that is set up the same way, and it never misses a beat.
The hole tool will not let me complete the holes if I delete the cross part references & re-create them again.
Note that I had to change some adaptive hole locations to follow a part that was moved & I couldn't get adaptivity turned on for all components involved (adaptivity grayed out on actual part to change). Not sure why I could turn adaptivity back on. So I opted to just recreate the cross part hole references in the parts hole sketch.
I find I have to now delete the holes completely & start over which causes extra work in IDW & IPN files downstream.
Is this as planned or am I doing something wrong. This used to be easy in 2012.
I'm having a senior moment. When you substitute one xref with another, the reference retains the name of the original xref. However, there's a simple trick to update that reference to the new name - but I've forgotten it.
I need a path on a sphere like on the image I attached (sphere_spiral) for the result similar to image called "gomb". The only problem, metric spiral or coil / 3d helical curve path won't work because it doesn't end the result I need, because the lines are converging each other. So, I figured out I need a logarithmic spiral 2D sketch or maybe a sinusoidal path.
I need a path from the sphere's top center point to the bottom center point, projected to its surface with equal distance of lines.