AutoCAD Inventor :: Trim Sketch Geometry Dynamically
May 5, 2012Trim/ extend sketch geometry dynamically doesn't work with construction lines?
View 1 RepliesTrim/ extend sketch geometry dynamically doesn't work with construction lines?
View 1 RepliesIs there a way to quickly remove all geometric elements that have been projected upon a sketch?
I don't want to remove the constraints that lock them. I want to remove the elements that basically have that constraint.
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.
I have an existing sketch and a new sketch onto which I want to project some lines from the existing sketch.
The panes of both sketches do not run parrallel.
Normally a projection is created by imaginary projection lines from the existing sketch to the new sketch perpendicular to the new sketch.
But now and want to project the existing sketch with imaginary projection lines that are perpendicular to the existing sketch.
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?
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 wish to delete all project geometry in the active drawingsketch with 1 click
But unsure how to get to these constraints.
Are these geometricConstraints?
What I have now doesnt work:
Select Case ThisDoc.Document.DocumentType
Case 12292:
Case Else: MsgBox("Current Document not a drawing document")
Exit Sub
End Select
[Code] .......
I am unable to select Sketch geometry via a crossing window to project to a new sketch.
While in the new sketch if I select " Project Geometry " I am only able to select one line at a time. quite tedious for some of my larger projects.
I can not honestly say that this feature was available in previous releases but it seems to me it was. Am I missing a variable somewhere?
"Path has discontinuous segments. Use Edit Sketch to change the path geometry"
View 5 Replies View RelatedCan we now toggle "sketch only" geometry when creating drawing view sketch transient geometry in the Inventor 2012 API?
View 2 Replies View RelatedI'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).
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.
View 9 Replies View RelatedI am trying to export geometry found in a flat pattern sketch overlaid onto the flat pattern.
Since I am creating the output file manually I gather the flat pattern boundaries and bend center lines for output to a file.
When I add flat pattern sketch entities to the mix they do not overlay properly. What matrix would I have to push the sketch entities through to get them to the same coordinates as the flat pattern?
I'd like to make it so that a user may add a button for my addin by only having to modify an xml entry.
None of the values (name, descrip, tooltip) are null, and reading from the xml is working properly. Each internal name is unique. Why this code would result in an error? The error message is attached.
If there's a known way to dynamically add buttons(in a loop), I'd be happy to use an established method as well.
Element[] QueryArray = query.ToArray();foreach (XElement item in QueryArray){string name = item.Attribute("Name").Value;string descrip = item.Attribute("Description").Value;string tooltip = item.Attribute("Tooltip").Value;tempButton = null;tempButton = oControlDefinitions.AddButtonDefinition(name, name, CommandTypesEnum.kEditMaskCmdType, m_AddinClientID, descrip, tooltip, Type.Missing, Type.Missing);oStandardsLinks.CommandControls.AddButton(tempButton);}
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
I've created a shared sketch and have used it with various features. Sometime those features are suppressed. The model works fine but the shared sketch generates a sketch doctor error because the feature that created it has been suppressed. Is there anyway to make the sketch suppressed so it doesn't trigger a sketch doctor error? Inventor 2013
View 2 Replies View RelatedHow 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.
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++; }
First we imported an ".igs" file to inventor, which produced "wires". Then by promoting the wires it produced a 3-d sketch.
The model is in one plane and 2-D, and we are trying to use Ansys 2-D analysis, but in-order to do so it needs to be in a 2-D sketch.
The model is too large to be redrawn on a 2-D plane, how to convert it to a 2-D sketch
want to change sketch 2013 into the sketch of 2010
View 1 Replies View RelatedWhen I edit certain sketched some other sketches disappear. see attached.
This is causing modelling to slow down as I can not project lines from the sketch that has disappeared.
After I create a adaptive part from projected sketch. How to modify the sketch? Please see the part attached.
View 6 Replies View Relatedwhat is the difference between a sketch and a planar sketch?
View 2 Replies View RelatedI'm having trouble with constaints, I'd like to constrain my sketch to a point in another sketch on a different plane. Is this posible in Inventor? If so how? If Inventor works differently how would you get a points in one sketch to be linked to points another?
View 2 Replies View RelatedHere I enclose file Cam_Profile.ipt, this is a spline curve made from an Excel matrix with 670 points in 3 decimals accuracy (VBA editor)
Extruding is not possible because of self intersecting path.
I want to trim both two free ends from the intersection and also close the intersection for extruding this profile. However ....., without displacement of any current point in the perimeter of the closed spline!
how do i trim away the section on RevolutionSrf1 underneath features RevolutionSrf2 and LoftSrf1 ?
Inventor 2012
I am having trouble with a part that I am working on. Trying to trim to the tangent edge. I cant post the part that I am actually using, but here is an example of a similar problem. In the attached file, open the "Negative Part.ipt". The sketch 2 contains a line (unconstrained). I need this line to be tangent with the curve below it.
I can project the edge of the curve to my sketch plane, but not the tangent of the radius.
Windows 7 x64 -12 GB Ram
Intel i7-930 @ 3.60ghz
nVidia GTS 250 -1GB (Driver 301.42)
INV Pro R2013, SP1.1 (update1)
Vault Basic 2013, SP1
I need to Trim or Extend Sketches. Is there any API to access the Trim/Extend Tool?
View 1 Replies View RelatedI recieved several .stp files from a vendor and most of them imported without incident. One part is giving me a major headache though. The envelope of the solid body is much larger than the actual part. This is causing the origin to be skewed by several orders of magnitude. Any way to trim down the envelope to the part size?
Using IV2011 Pro.
At my company we have a custom CC library with custom profiles for use in frage generator. We are having a problem with one of the frames. Everything goes well when the profiles is inserted.
But when I try to "trim to frame" the intersections of two profiles, it does not trim them correctly. It trims them in a 45 degree angle. As you can see on the attached jpg file.I tried everything. Checked the sketch, deleted the profile, republished the part.
How to set off the trim inventor does when one dimensions cross another one?
View 4 Replies View RelatedHow in import 2D geometry into Inventor so I do not have to redraw the profile, only extrude the existing geometry. I tried to export from Autocad a IGES file, and then create a sketch plane in Inventor and project the geometry onto the sketch plane, but I ended up with a bunch of open loops. Perhaps, I have figured it out and real question is how to I close open loops?
View 6 Replies View Related