AutoCAD Inventor :: Retrieve Dimension Precision In IDW
Oct 17, 2013
I've recently been playing with the "Retrieve Dimension" feature in IDWs to pull the model dimensions and tolerances from the IPT. I'm wondering if I am understanding the behavior correctly.
The IPT Document Settings > Default Tolerance "Use" and "Export" standard tolerance values boxes are checked.
I have standard tolerances defined for .xx and .xxx precisions. Default in the IPT is .xxx.
If I place a sketch dimension and extrude a feature, place that part in an IDW, and "Retrieve Dimension," the result is that the dimension's precision and tolerance are defined by the active IDW style.
However, if I place the sketch dimension, and then modify its precision to be something other than the IPT default, when I "Retrieve Dimension" in the IDW, it pulls the modified precision and tolerance from the IPT settings.
Is this the expected behavior? When I see the box in the IPT Default Tolerance tab that says "Export Standard Tolerance Values," I understand that to mean that the standard tolerance values in the IPT will be propagated to the IDW. Is this incorrect?
I was trying to reposition a retrieved dimension in drawing. I was able to position the text, however the dimension line however still stays in its default retrieved position. how I can reposition the dimension line as well?
Dim mydim As Inventor.ObjectCollection Dim invDimConstraints As DimensionConstraints Dim invDimConstraint As DimensionConstraint invDimConstraints = invPartDef.Sketches.Item("MySketch").DimensionConstraints
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
Is it possible to edit the percision for an aligned dimension. I know that the aligned dimension requires walls to be parallel. But what if two walls are .000000002 degrees off from being perfectly parallel? Would that really be enough of a difference to make thealign dimension tool unuseable? Is there a way to change the percision for the aligned dimension to read fewer decimal places? I have a rather large project that is in the later stages of CD's and really don't want to have to recheck the alignment of every wall.
I have created a form in which I need to see the volume value. For that I created a User Parameter that is set to be equal with part's volume:
Volume=iProperties.Volume
What I don't like is that the precision for the parameter is too long and I can't change it. I changed the precision in Document Settings and also for the parameter itself in the Parameters window, but these changed don't affect what is the form.
How to set display of precision in my parts list to just one digit?
When I edit parts list set up im styles editor or edit parts list and go format column, apply units formatiing and set columns for one unit type and precision, then I get an error about units being incompatible because some items I have listed as each some by lf.
How to change precision in one column of parts list and keep unchanged unit formatting?
I am working on updating my Parts List and ran into a little issue. When I make a Parts List with components from the content center, in this case some angle, I cannot get the correct precision.
See attachment.
The first picture shows the correct units in the QTY column but I would like the 2.000ft to just be 2ft. If I modify the style to correct the precision it adds the units to every item in the QTY column as you can see in the second picture.
Is there a way around this without editing the Parts List each time I create one?
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
When referring to flat pattern length and width you can make an custom iproperty and add =<Sheet Metal Width>. You can then add 2 fields in the drawing parts list and set precision, trailing zeroes and unit string on/off.
Most companies have 1 field for 'Size' or put size inside description and then you cannot format
The problem is that if you fill in description: =Sheet <Thickness>mm, <Sheet Metal Width>x<Sheet Metal Length> you get the following:
Description: Sheet 15mm, 3411,978 mm x 2000,000 mm
i Want to have Description: Sheet 15mm, 3412x2000
You can't change property format as you can with user parameters you set to export as far as I know. Is there a way? excluding iLogic, which would only be a half baked solution. I would really like to have width and length as a sheet metal parameter, rather than a iproperties formula.
I have had a problem with retrieved dimensions decimal precision. I set the precision to 1 decimal place in the ipt but when I retrive the dimension it set the precision to 3 decimal places. I then go to the precision control in the drawing and change it to 1 decimal place.
If I then go back to the ipt and edit the dim, the drawing precision then jumps back to 3 decimal places. (This is particular to the decimal precision for the tolerance of a dimension). How to sort this out?
How can I change the precision of Driven Dimensions. I have a Driven Dimesion in a sketch that I want to use in another dimension later. Let's say that d59 is a Driven Dimension.I want dimension d80 = d59*2. When I measure it using eight decimal places, I can see that it is rounding d59 to 3 decimal places, but I don't want it to do that because then d80 is off.
I'm using ilogic to automatically build standardized descriptions that are linked to a field in our PDM system for future searches. The problem is that the variable "Length" (shown below) can sometimes be a whole number so it drops the trailing zeros and I want it to always be a two decimal value.
Formula:
iProperties.Value("Custom", "2ND_SUBTITLE")=CStr(ID)+" ID x "+CStr(OD)+" OD "+CStr(Round(Length, 2))+" LG"
Is there a way to override a dimension and have it shown as a GD&T Basic dimension. I can override a dimension with the text option but not with a box around the letter. It sounds strange to do this but the letter represents a dimension in a chart format that are Basic dimensions.
In the past we filled in our changes, we did on the part, in the iProperties of the IDW. In the IDW we use some Custom iProperties for this. That's not usefull because you want this data in the 3D-model. Now I have written some code to automate this, which works really great. This code works in the IPT as well as the IDW. But what I want to achieve is: When my IPT is the active document, I want to read out the iProperties from the IDW to check if there is already filled some of these properties, because I have to deal with 'old' documents as well.
So my basis question is: How can I read out iProperties from an IDW into the IPT. I have found lots of solutions which go the opposite direction, IPT -> IDW. I want IDW -> IPT.
I have created a pipe using sweep through 2 planes and 3d sketch. I want a specific bend on that pipe to be extracted for drawing purpose. How do I do that ?
I try to retrieve the values of an occurrence in an assembly document, same as when I click on 'Change size' (see the attachment).
I Know how to get key values (from list) from content center family member (Getting data from content center) but for the expression values (from user entries), I found nothing.
In Inventor 2010 is it possible to retrieve the dimensions from the weld in an idw without rewriting this dimensions?Now when hitting weldings in idw the symbol stays empty.
The code that follows is my attempt to explode the BOM and retrieve the UnitQuantity. When I look at the BOMQuantity object, BaseUnits is always nothing, and UnitQuantity is nothing.
Dim i As Long For i = 1 To oBOMView.BOMRows.Count Dim oRow As Inventor.BOMRow oRow = oBOMView.BOMRows.Item(i) Dim oCompDef As Inventor.ComponentDefinition
I am trying to retrieve dimensions from an assembly. The features that I want were created in the assembly itself, not on the original parts in the assembly. I can manually dimension some of the features, but there are others that I need to retrieve. When I retrieve dimensions from the assembly, I am only given the original dimensions for the parts.
Some months ago I created an iLogic code that creates all my notes that I use in my drawings, linked to a form. A good tool the made my work a little easy. Now I wanna make an update on it.
In my code I create a sketchedSymbol and then some textBoxes with my notes, but before that I erase all the Symbols in all sheets and then the main Symbol itself. Then I create again the symbol and textBox in a specific point of my Sheet. So, everytime that I need to update my Notes, it goes to that point of the sheet, it's not a problem, but it's annoying have to move them always to the correct place. And i can't use a specific final point for the notes because it may change according to the drawing.
So, my idea is:
If the Symbol is already created, how can I get its position ?
I create the points with TransientGemometry and then CreatePoint2D, but I dont know how to retrieve these points, even if that is possible.
The code I use is that below (I just erase the notes because it was too big, this is just the main code creating the stuffs).
' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocument'Update the document oDrawDoc.Update'apaga o symbol existente em cada sheet Dim oSheets
I'm editing someone's 2d inventor dwg, and want to show a part behind an object in the section that isn't currently showing (the part I want to show is on the model, in the appropriate level of detail referenced by the 2d view.)
I believe that the author turned the line visibility off. Is there a way to turn all line visibility back on in a 2d view?