AutoCAD Inventor :: Reference A Sketch Within Drawing View
Jan 8, 2013
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.
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.
Is there a way to incude the sheet number that a drawing view has been moved to? I have an elevation tag that shows the view identifier, I am looking to have the sheet number referenced where I show "Field Text-Manual" in the attachments below. I am using inventor 2014.
I can "Get Model Sketch" to make it appear visible in a drawing view. But I can find no way to use these "edges" or "lines" or "entities" or whatever they are, later in a drawing view sketch. No way to project them from Model Sketch to Drawing View sketch. I can attach leaders and dimensions to these Model Sketch entitites but I can find no way to use them in a sketch owned by the drawing view. Am I missing something?
I use the same sketch to create a break out view in one type of drawing. I may be blind, but I can't seem to find a way to save that sketch and reuse it when I want to create a break out view.
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?
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.
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?
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 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.
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.
Any intelligent way of referencing the sheet with the parent view? E.g. i put a detail or section view on Sheet 2 from a parent view on Sheet 1 and want to reference from what sheet the view is taken from.
I have an assembly that uses reference parts. I do not want them in the BOM, but they are used in other drawings in the BOM. When I make them reference, the iso drawing view boundaries are not correct. Can I change the size? Crop will only decrease the size not increase?
I created view representations in my assembly, for example a column with k-polates and base plates, the column is a FG part, so now i create drawings and place views on that drawing, what i am askign for is I want to place the name of the view representation in my view label as a paramater so in the event i change my view names in my model they update in my drawing, this is important because i can create a cross referance to my 3D DWXF file views.
One of the new features in 2013 is the ability to copy a view that is on the idw. Is there a way to copy/paste a view, then replace the reference of ONLY the part in the view that was just copied?
What I have is two parts. For simplicity, just imagine both as a square plate. One has a hole in it, one doesnt. I have already dimensioned the square plate. Now I copy the view and paste it back on the sheet. I want to replace the reference of the one I just copied and change the reference to the part with the hole. If I use replace model reference command, it will replace both references, which is what I dont want.
Just a wish I guess, but the only way I can do this now it to place the second part on the sheet and start dimensioning it. Seems like a waste when we almost have the tools to quickly complete this.
I need an urgent solution to my issue.I have created section view from a sketch (a line constrained to the projection of a work plane) from my derived part to my drawing using the "Get model sketches ". When i update the iassembly and update the the view using model state the view tries to update but throws an error see attached document.When i delete the section line and create a section line manually ie. by creating a normal sketch in the drawing the same model gets updated without any error.
When I edit a part directly in an assembly, clicking on 'edit sketch' (frequently) changes the view from the one I had set while looking at the assembly. Is ther any way to turn this OFF?
I just installed the trial version of Inventor pro, 2013. I'm having a problem with the view changing on creation of a sketch. It goes to the home position. The "Look at sketch plane on sketch creation" is un-ticked in options.
Click on Component->Create. Once the Component is created, click 2D Sketch. View spins to the Home position. This is really annoying. I learned Inventor 2010 in school. I don't remember this ever happening.
If I select a plane from the browser prior to clicking the Create 2D Sketch, the view remains the same as expected. This is only a problem if you want to create the initial sketch using a face of another part as the sketch plane. Is there an option I'm missing?
I attached a sketch to a view, fully constrained the lines in the sketch to the PG from the lines in the standard view.
Everything looks good but when I click "Finish Sketch" and it leaves the sketch environment the lines from the sketch shift slightly out of alignment.
The dimensions I have to these lines are in the right locations so it looks like they aren't going to the sketch lines. But if I try to "connect" the dimensions to where the lines are actually being show it gives me errors saying there is nothing there to connect to.
We often have drawings with multiple sheets.Usually the first couple of sheets are devoted to identifying components and where they should be placed. The remaining sheets provide details on specific components (dimensions, tolerances, etc.).
It would be nice to be able to reference (associatively) other sheets, so it is easy to find information on a component when looking through the drawing package. For example, add a note that says "See sheet 12", and have the 12 update if that sheet (or drawing view?) changes location in the package.
I am getting this error in my production drawings.
My setup is as follows:
- EG.dwg has my existing surface in it. I create a data reference to use it in other drawings.
- Level One.dwg has the EG surface data referenced in, and I use this to create alignments, profiles, and finish surface. All of these are turned in to data references.
- Storm Sanitary.dwg has my pipe designs. I data reference in the two surfaces, profiles, and alignments, and create pipe networks. I create references for these networks.
- Plan Profile.dwg is the production sheet I'm getting this error from. Every one of my civil objects is data referenced in to this drawing. Everything is inserted correctly, the pipes show correct FG surface elevations for their rims, etc.
BUT when I open this drawing, I get this error. I assume it's because my FG surface is not directly in the storm sanitary.dwg.
How do I get rid of this error, without combining drawings, or promoting the surface to one or more drawings? Isn't this exactly what data references is made for?
i can't find where to tell inventor to not switch back to the home view after finish a sketch edit. sometimes it is handy but often it is nice to see the part update after doing some sketch editing rather then the home view spinning the part away. i think we are capable of hitting F6 ourself if we wanted that view.
i have found that inventor 2011 will always do this when you are looking square onto the sketch and then finish the sketch . am i right to say that this is only a 2011 thing? i cannot recall previously this happened. i am finding that i am always finishing my sketch and having to hit F5 after inventor swings away to home view.
In solidworks, if I have several similar parts to draw, I can draw one part and annotate it and then to save time and effort I can save the drawing as one of the other parts and then change the part reference in the drawing as I open it up.
Is there a way in iLogic to iterate through all curves on a drawing. We manually apply radii labels to each drawing view but would like to automate the process with iLogic. How could I reference and cycle through all the radii on my drawing view?
I did some digging and found the option to replace a model reference in an entire drawing, but I'm looking to change the reference in just a view. Consider the picture I have attached. I'm depicting top down views of these layers. Each layer requires changing the view identifier each time I drop a view. This would be considerably less time consuming if I could just copy/paste the view and change which part file it was pointing to.