While looking at the different tolerance methods, I see a couple called MIN and MAX, which just tack these words to the end of the dimension. Is there a way to customize the tolerance methods to add suffixes or prefixes to dimensions, such as TYP or 2 PLCS or something like that, so that I can minimize my detailing time.
I have a drawing I am trying to ordinate dimension and I was wondering if it was possible to place a symetric tolerance for a dimension on a second line under the actual dimension?
I'm trying to get hole tolerance by Inventor API using c++ but the value returned is not correct.
the code is:
Parameter* diam = m_Feature->GetHoleDiameter(); // m_Feature is a given HoleFeature double tol = diam->Tolerance; // returned 1.0 BSTR str = diam->Tolerance->HoleTolerance; // returned "0". // The correct value is 2.89
Is it possible to set the default tolerance of a part via the API? If so ,How? Also, how would I ensure that those values are used in the drawing dimensions. I don't see any link to the values that I put into the model and the dimensions in the drawing.
I have the simple (for you ) question about hole tolerance window: I want to open hole tolerance dialog box and "click" OK button (ofcourse I want to do that via VBA code). Only this, I wouldn't change tolerance type or value of tolerance.
When I export .idw in autocad .dwg, the tolerance text height of dimensions with 'Limits/Fits-Show tolerance' change, becoming the same of the dimensions text, while the tolerance text height of dimensions without 'Limits/Fits-Show tolerance' remain the same of the .idw file. Why? There's something I can do, to ensure that text height no change? See the attached pictures that show the problem.
Any method to set all the Tolerance Types for a GeneralDimension via VBA.
The Tolerance object, accessible via the GeneralDimension object, offers methods to set Deviation, Fits, Limits & Symmetric tolerance types, but I can’t find a way to set other Tolerance types, such as Reference, Basic, Max & Min
I've got an iFeature created that's very handy. It's basically a reamed hole with a counter bore for a purchased locating pin.
Here's the rub: Is there a way to specify a tolerance to that hole that will come through the i Feature? As in, I can draw the hole with a diameter of 0.501" within the definition of the iFeature. That's easy. However, when I do a print, I'd like to be able to just snap a leader to it that will have the "Use Part Tolerance" box checked and will reflect the correct tolerance.
As an aside, one of the reasons I want to do this is because I use Hole Tables a lot. In a hole table, I can manually go in and change the call out for the hole to show the correct tolerance, but in order to keep the grouping together, I have to do EVERY hole individually.
All the values I put in to set my tolerance are being rounded to three decimal places even though the value is four place and I am setting the dimension precision to four place.
For Example: I have a hole of diameter 2.0466. It is to have a tolerance of +.0005/-.0000. When tolerance.setToDeviation is called, the .0005 is strangely forced to .001 and is set as this in the part file. The precision value had already been set to 4 at this point.
I am using the following code in Inventor 2010:
'Create hole feature Call oCompDef.Features.HoleFeatures.AddDrilledByThroughAllExtent(oLinearPlacementDef, dDiameter, kExtentDirection) 'Get hole feature just created Dim oHole As HoleFeature Set oHole = oCompDef.Features.HoleFeatures.Item(oCompDef.Features.HoleFeatures.Count) ' need most recent index
I need to change one dimension using iLogic. It changes due to the path taken to manufacture the part. In a nutshell majority of the time the "OD" has a +.004 / .000 tolerance and the model is drawn at the minimum size. There are cases when the "OD" has a +.005/-.005 tolerance and is modeled at the nominal size. I've learned some of the iLogic to make the change I'm after but not all. I'm having trouble setting ModelValueType to change the model size.
Is there a way to define the export tolerance of a step file? Now the tolerance is always set to 0.01mm but i need a tolerance of 0.001 to go further in another CAD / CAM System.
I keep hving trouble with a hole and the diameter tolerance.
Create a simple hole, single diameter concentric and specific depth. I go to the tolerance window for the diameter and change it to a Limits-Linear. I enter my values .3758 and .3754. Precision is .1234. I clikc OK, then go back to the tolerance, and its reset both values to .3756 What gives???? I've deleted and recreated the hole, edited it about 10 times, and still the same effect.
I have noticed that as I increase my tolerance value in CONTACTS in the simulation settings my results will dramatically change.
My initial settings are 0.004" with SEPARATION as default. After completing the automatic constraints, I will manually bond all the necessary components such as nuts to bolts and welds to the plates.
Then if I change 0.004" to 0.5" and leave it as SEPARATION, to pick up clearance holes, etc., the result will resemble the way the assembly should behave.
But if I change the separation to 1.0" (and nothing else) then the simulation will run with results that are not correct, giving large deformations and very high stresses.
I'm still learning autodesk inventor, I have problem about tolerance. My tolerance more big than my primary dimension. How to edit this text..? or how to reset style editor for factory setting..?
i have a problem in Inventor 10 with the add method, which i didn't have in inventor 8, it's very puzzling. I open an assembly, add some parts (this goes without problems) then i open another assembly, change some stuff,close it again, so i'm back in the first assy and then the next add method fails.
Public Sub AddOccurrence() ' open assy Set oAssy = ThisApplication.Documents.Open("C:TempAssy.iam", True) ' Set a reference to the assembly component definition. Dim oAsmCompDef As AssemblyComponentDefinition Set oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition [code]....
I am trying to display the Tags and Values of an inserted AutoCAD block in an Inventor 2013 dwg. I am using .Net studio10.I can list the properties of the block object but cannot get the "GetPromptTextValues" method to work. Problem is at the bottom of the code listed below.
' Connect to a running instance of Inventor.Dim invApp As Inventor.Application' Check to see if a drawing is active invApp = System. Runtime. InteropServices.Marshal.GetActiveObject("Inventor.Application") If invApp.ActiveDocument.DocumentType <> Inventor. DocumentTypeEnum. kDrawingDocumentObject Then MsgBox("Need to have a drawing document active")Return End If ' Create ref to active drawing document Dim oDrawingDoc As Inventor.DrawingDocumentoDrawingDoc = invApp.ActiveDocument. [code]....
Basically a project could contain one idw file, or it could contain 20 idw files or 100 or more.
Our titleblock has about 12 entries of project information that will be consistent on all sheets whether that's one sheet or a 1000 sheets.
Is there a way to link an excel file to each idw? (I'm pretty sure not : ) ) or some way to have a central repositor for those properties so that if something changes, we don't have to go back and change each idw?
I have seen the drawing transfer management wizard, but it seems like overkill to a situation that has to have existed a long time - that being needing customer info on a titleblock. Seems like it'd be the perfect think for linking an excell file or having actual properties in the project file.
I need to get familiar with the Inventor API for my thesis.Currently, I need to extend the face of a part.I started with selecting the face edge by
Dim ActiveDocument As Inventor.Document Dim spline As Object Set spline = ThisApplication.CommandManager.Pick(kPartEdgeFilter, "please choose the face edge!")
This is working fine.I know that the next step would be to use the ExtendFeature method of PartFeature, but I do not know exactly how to do this. Do I need to get the face as parent of the edge? How can I invoke the extesion then?
Looking for the method to query oDrawingDims.Tolerance. to see if SetToSymmetric (.0625) is the current value for a given dimension.
oDrawingDims.Tolerance.Type results in 50377984, no matter what method is active in the dimensions.
From Here. You get the Loop to reset,
'symmetric example' Set a reference to the select set of the active document. DimoDocAsDrawingDocumentoDoc=ThisApplication.ActiveDocument' Find all selected occurrences and add them to an ObjectCollection.DimoDrawingDimsAsDrawingDimension'Loop through all dimensionsForEachoDrawingDimsInoDoc.ActiveSheet.DrawingDimensions'set Tolerance MethodoDrawingDims.Tolerance.SetToSymmetric(0.5)Next
As well as this code to reset to default if a tolerance falls with in a certain set values,
' Set a reference to the select set of the active document.DimoDocAsDrawingDocumentoDoc=ThisApplication.ActiveDocument' Find all selected occurrences and add them to an ObjectCollection.DimoDrawingDimsAsDrawingDimensionForEachoDrawingDimsInoDoc.ActiveSheet.DrawingDimensions'Loop through all dimensionsIf oDrawingDims.Tolerance.Upper = ("0.15875") And oDrawingDims.Tolerance.Lower=("0")oDrawingDims.Tolerance.SetToDefaultEndIf Next
Is there any better method to find the overall size of a part model? I tried Range Box method and that gives some inaccuracy if the model have loft feature and fillet on that. But if I use GetExistingFacets the size gives more accurate. At the same time in a round part model with a cut, the GetExistingFacets give inaccuracy and range box method gives better result. Below is the X, Y, Z sizes of the two models with the above mentioned methods.
Round Part (Part1)
Measured with GetExistingFacets method = 129.934196472168 x 126.422719955444 x 25 Measured with Range Box method = 130 x 126.514225996919 x 25
Rectangular Part (Part2)
Measured with GetExistingFacets method = 300 x 300 x 30.0000286102295 Measured with Range Box method = 300 x 300 x 30.4094903224854
Trying to get the tolerance on a hole to be what I want. I changed the tolerance on the hole, but my idw did not change. When I went back and looked at the tolerance on the hole, it was back to the original value. No matter what I do, it will not change to what I want it to be in the part. Here is a short video.
The dimension I am changing is .9688 and it keeps jumping back to .9686 when I go back into the hole tolerance.
Tried other values too and they would not take either...
I have found that if I use the drop-down to select a new part file, it does not use the default (and only) part template in my templates folder. I know this as there are several settings that do not match. If I click on the icon to open the new part dialog, it displays my templates (part, assy & drw) and creates the new file based on those accordingly.
Any setting that needs to be changed to correct this behavior?
What is the data type for the second parameter of retrieve dimension method? Coz it's optional parameter.Retrieve(ViewOrSketch as Object, [DimensionToRetrieve]) as GeneralDimensionEnurator
We've tried to put the parameter name of the model as parameter but error had occured "DATA TYPE MISMATCH".Here's our
Please see attached image (I have tried to attach the part file but file size is to large to upload). I have created a sheet metal part, then converted to a solid component to utilize the bend tool. The actual part will need to overlap at the ends and will be joined using spot welds. I would like to be able to illustrate the overlap in the inventor model if possible but how to achieve this.
Before I call it a day and revert to AutoCAD or sketch this into a IDW,