AutoCAD Inventor :: Toggle Sketch Only Geometry When Creating Drawing?
Jan 23, 2012Can we now toggle "sketch only" geometry when creating drawing view sketch transient geometry in the Inventor 2012 API?
View 2 RepliesCan we now toggle "sketch only" geometry when creating drawing view sketch transient geometry in the Inventor 2012 API?
View 2 RepliesTrim/ extend sketch geometry dynamically doesn't work with construction lines?
View 1 Replies View RelatedIs 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 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 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.
While remapping shortcut keys, I came across the default Alt-G: Geometry Selection Visibility Toggle.
What does it do? I can't see it changing anything.
Why is it that when I create a dimension across geometry the dimension shows true, yet if I create sketched geometry in the drawing view it does not?
What I need to do is create an arc of swing for a door. So I create a sketched arc and then want to dimension the arc radius of the door, yet the dimension shows not true. How do I make it true? And why can't I snap to model geometry in the drawing view?
does Inventor offers any option to break geometry lines in drawing behind the text (e.g. notes and dimensions)? I tried this in IV 2009 as well as in IV 2011, but the result is the same in both version, shown on first image. The text is sometimes difficult to read when it is crossed with geometry lines.
View 5 Replies View RelatedOne of our senior designers seems to think there is a setting when creating a sketch that will automatically dimension.
So if a straight line is draw and 5 mm length is entered a 5 mm line will immedialtey be created, he seems to think that you can then immedialtey Dimension said line??
I can't find anything, settings wise?
I am currently endeavoring to translate some (very) old print drawings of standard geometry used by my company to electronic format with Inventor. Many of these standards include a matrix of certain dimensions (noted by a letter variable on the drawing, such as "A") and what their values should be, given the required size of the geometry's main feature, like the cross section of an o-ring that is supposed to go with it. Is it possible to build such variable/multiple value dimensions in Inventor and have a corresponding matrix printed on the drawing with it?
View 1 Replies View RelatedI'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.
I have problem with creating of a Rectangle in a sketch. I would like to make a profile in assembly and then make a "revolve".
Dim oAsmDoc As AssemblyDocument
Set oAsmDoc = ThisApplication.ActiveDocument
Dim oCompDef As AssemblyComponentDefinition
Set oCompDef = oAsmDoc.ComponentDefinition
[code]..........
After I create a sketch, how do I center it about the origin? The origin is projected, I just can't figure out how to set the sketch about it.
View 4 Replies View RelatedI am trying to create a coil which from above, retains equal and thus parallel pitches whilst at the same time adheres to a semi-circular form in the cross section. You can see from the images attached that the first two revolutions are larger than the semi-circle outline.
These are the values I have used:
Cylindrical
r (t): 134.56924424045517662353735770102mm * t * 0.5
q(t): 1 deg * 360 ul * 3.0 ul * t
z(t): 10 mm * 6 ul * 0.5 ul * t * (1.5 * t) * t
tmin: 0 ul
tmax: 0.916 ul
I've got a problem with creating Path in Inventor VBA. I've created a source block definition in SourcePart.ipt, derived it in DestPart.ipt, placed this derived SketchBlockDefinition in Sketch3 and draw 3 extra lines. Now i want to add a SplitFeature with SplitTool as a Path of 3 lines, but first i need to create this Path. There is no problem with creating path from this 3 extra lines, but when i want to create path from lines that belongs to derived block - an error occurs.
Below is sample code (also included in attached file - DestPart.ipt). Try run it with DestPart.ipt as an active file. When Inventor is prompting for Selecting Sketch Entity first select one of 3 extra lines, macro ends with no errors. Then run it again, this time select one of 3 lines that belongs to SketchBlock - an error occurs.
When you try to add SplitFeature (Trim Solid) by UserInterface Button "Split" there is no problem with any set of 3 lines.
Sub CreatePathTest() Dim oPartDoc As Inventor.PartDocument Set oPartDoc = ThisApplication.ActiveDocument Dim oPickedSketchEntity As Inventor.SketchEntity Set oPickedSketchEntity = ThisApplication.CommandManager.Pick(kSketchCurveFilter, "Select Sketch Entity") Dim oNewPath As Inventor.Path Set oNewPath = oPartDoc.ComponentDefinition.Features.CreatePath(oPickedSketchEntity)End Sub
My System is Windows 7 32bit/64bit, Inventor 2012
I have a problem when I`m creating a new part in assembly.
I`m in assembly and I push a create button. Then I give it a name and OK. Then I push a plane where I want to make the part. New sketch comes but no sketch panel. I have to push right button from mouse and click finish sketch. Then when I go edit sketch the sketch panel comes like it suppose it to be.
I am trying to creating an extrusion with a sketch containing multiple circles. However, the AddForSolid() Method is not working properly, returning non-NOERROR is C++. Below is the code that I used to create a sketch(which is succeeded) and then try to create a extrusion (in my case cutting).
ApplicationPtr pInvApp;pInvApp.GetActiveObject("Inventor.Application");DocumentPtr pItem;pItem = pInvApp->GetActiveDocument();PartDocumentPtr pDoc;if(pItem->GetDocumentType() == kPartDocumentObject)pDoc = pItem;SelectSetPtr selectedItem;selectedItem = pDoc->GetSelectSet();FacePtr face;//printf("
[code]....
What I would like to do is create a custom dialogue for each of 3 or 4 standard sketch symbols we use on a regular basis. I'd like to load 'suggsted' values out of an excel spreadsheet and allow the user to pick from them or enter in a custom text string if required. The values would then become part of the sketch symbol.
I've spent some time looking into iLogic rules and I think I've determined that they're not flexible enough to do what I want.
If I'm correct, it is possible (or a good idea) to do this using a VBA macro? I'm a little hesitant to go down the full blown add-in route. While I'm pretty confident I could work it out.
Cant figure this out - I create a sketch in a drawing, but I cant see the lines as I'm drawing them. The lines are on a "solid" layer set to red as defined in my standard. The background of my drawings is black. When the line command is done, the line appears and it's red. Problem is I cant see it as I'm sketching. Is there any way to modify this? Can I have the line appear red (or white) as I'm sketching?
Product Design Suite Ultimate 2014
Vault Professional 2014
Windows 7 Pro SP1
HP-Z400: 2.67 GHz 12 Gb Ram
Nvidia Quadro FX1800 driver 276.42
I'm a student and a beginner in VBA. I'm writing a macro to automatically draw text and lines in a drawing and it goes pretty well. But now I have encountered a problem. When I add text like this:
Dim FreqBox As TextBox
Set FreqBox = oSketch.TextBoxes.AddFitted(oTG.CreatePoint2d(1.9, 1.95), GegevensForm.FrequentieVak.Value)
This is like I want it, but not the right font or size, so I add this:
FreqBox.Style.Font = "Arial"
FreqBox.Style.FontSize = 0.2
This goes well too, but then I want to add another TextBox, in another style, like this:
Dim VermogenBox As TextBox
Set VermogenBox = oSketch.TextBoxes.AddFitted(oTG.CreatePoint2d(3.7, 3.2), GegevensForm.VermogenVak.Value)
VermogenBox.Style.Font = "Arial"
VermogenBox.Style.FontSize = 0.5
VermogenBox.HorizontalJustification = kAlignTextRight
VermogenBox.Style.Bold = True
And suddenly when I run this, the other text is changing to these settings... (exept for the alignment).Is it possible to do this without the FormattedText option
Every time a select a plane to sketch onto, it rotates 180 degrees...... i have looked in the settings but cannot really find anything.. i have attached images for reference .
View 3 Replies View RelatedI have created a loft from 4 different sketches. Now I want to make a drawing with the front, side view and the dimensions of the 4 profile sketches from the loft. But I can’t find a way to put the sketches from the part on my paper. It works with copy-paste ;^) but this is not the way I want it (it’ll not change when I change the profiles in the part).
View 6 Replies View RelatedIs there a way to add a toggle button to the applications status bar? I would like to be able to quickly toggle the frameselection on and off.
View 0 Replies View Related