AutoCAD Inventor :: Setting To Specify Predict Offset Number Of Decimal Places?
Sep 13, 2013
I have a couple of strange angles and moving parts going on in an assembly. there is 1 constraint i am happy for inventor to predict the offset for. the problem is I am using other constraints i later want to bin, to pin it in position then try to apply this constraint. it looks like the predict offset tick box only measures to 3 dp, so as soon as i apply this constraint my model goes sick. I have to take a measurment and copy and place the measurment with all dp's into the constraint to make it work.
Is there a setting to specify the predict offset number of decimal places?
How to change the number of decimal places of the elevation of points?
as the points are labeled with their elevations, I couldn’t find how the number of the decimal places of the elevation be chosen. In this case, I wanted to let the number of the decimal places to be zero.
How to set the number of the decimal places to be zero or 1, for example? how to sepcify it height (size)?
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"
The defaul label style for the Elevation of points is set to 3 decimal places. We are trying to change the elevation display to 2 decimal places. We have tried the directions in the following discussion: [URL].......
Which is:
Toolspace
->Settings -->Drawing name --->Edit Drawing Settings ---->Ambient Settings ----->Elevation ------>Precision -> We modify from 3 to 2 decimal places.
It does not modify the display settings.
Also:
Toolspace
->Settings -->Drawing --->Point ---->Label Styles ----->(right-click) Edit label styles ------>Layout ------->Text -------->Contents --------->click on the "..." (three points) button
(Open "Text Component Editor - Contents"
--------->Select Point Elevation in the driop down list. ---------->Precision: Set to 0.01 ------------>Ok, Apply, etc...
I work with ANGTOS and ANGTOF quite a bit. I'm working with latitude and longitude conversions in MAP 3D for an application where accuracy is top priority. Most of the time ANGTOS (and RTOS, for that matter) return an accurate result for the number if decimal places requested, but then I run into a situation like this:
Why does the Round() function require that the number of decimal places be either a number or an object if you want to use a variable? It seems that a Single should work here, but iLogic won't accept it.
See sample code below which is rounding off dimension values. If I dim the variable "somenumber" as Single or Double, I get this error message from the Round() function: "Overload resolution failed because no accessible 'Round' can be called without a narrowing conversion."
When I dim "somenumber" as an object it works, but this seems unnecessary when all it is storing is a single digit number. Why wouldn't Single or Double work for this variable?
Here's the code snippet:
'Dim Current Sketch & Count Constraints Dim oSketch As Sketch = ThisApplication.ActiveEditObject Dim oDimCount As Single = oSketch.DimensionConstraints.Count
I am running AutoCAD Map 3D 2011. When i use the ID command to acquire x,y coordinates by snapping to an object, it gives me only one decimal place. When i do the command out in space, it gives me 4 decimal spaces. I need to get at least two decimal places while snapping to objects. Examples below:
id command (out in space, not using osnap)
X = 4006431.3366 Y = 359556.5635
id command (snapping to entity)
X = 4006252.3000 Y = 360712.5000
by the way, my units precision is set to .00 and it doesnt seem to make any difference with the id command.
I have used stringer connect in the past and it seemed that my traverse shots (which went to four decimal places 0.0000) that were in my raw file were converted to a fbk file and it held the decimal places. Now when I use it, the program rounds my shots to three decimal places (0.000) which changes the locations just slightly. I don't think I changed any settings deliberately. How can I get my four decimal places back?
My professor wants all of our dimensions to have 2 decimals places except for a few that he wants to have 3 decimal places. How do I change those few to have 3 places while everything else has 2?
I'm wondering if it's possible to change the decimal place accuracy to default to only rounded numbers i.e. 1mm instead of 1.325. I want EVERYTHING to snap to the nearest mm (Axis, Dimensions etc.) rather than 1.233 for example.
Yes, I can manually type into the dims / axis boxes everytime but thats a chore.
I was trying to use the guides to make a triangle and everything was fine until I used a third guide on one of the triangles points (2 guides; 1 at 90 degrees and 1 at 60 degrees). When I used the dimension tool on it to measure from the bottom of the page to that point, the measurement did not match the numbers in the 90 degree guide's info. It was like .0000007 or .00000007 inches off. I know that's not much but I really needed precision for my particular drawing and I dont know how to get more accurate measurements with the program rounding to the nearest 6th decimal place (the highest setting on drawing precision). If it says it's centered in the intersection, then why do I see a tiny micro right triangle when I zoom in?
I have an STL (mesh file) file that I converted into DXF file, and then imported into Inventor.
The file contains a surface (meshed) I would like to create a thickness for each face. Since, the number of faces is very large, I cannot do it manually, is there an option/ trick to select them all, or perhaps a different way to create a thickness to the meshed surface.
I have a number like 4534.3245 If I say 4534.3245 as Integer I get 4534 thats fine.
Is there an easy way in maxscript to return the number after the decimal only no matter what it is? like saying: 4534.3245 as fraction returns .3245?
With the numbers I am dealing with the integer part could be any size and fraction decimal section could be any size so I am hoping for a general rule or method for getting that after decimal number.
when I try things like formattedprint there is a rounding off happening changing it to .3245 to .3247 and more digits added etc but I dont want all that because it is changing the value of the number before I have even done anything with it. Maybe their is a formattedprint method but I am not seeing it.
I have a path that turned out to be a litt ethicker than it needs to be.
I see that I can expand a path with Offset Path. I have read online that you can contract a path by entering a negative number, but when I try that, it ignores the minus sign and expends the path instead.
I need to have one assembly constrained to three places on along a bar. Should I ( and how would I?) open another assembly drawing, insert said bar and some how insert those three assemblies into the drawing?
Is there a way to set the decimal place for the columns in Autodesk Inventor 2011? I have a length column I am trying to use for the p/n but I need it to be 2 places and they show up from zero to 4 dec places. I have set it inside excel but it never retains the setting.
I found out that if you have a dimension that is keyed you cannot use the custom property format in the fx. so how do I get ilogic to convert to fractions rounded to a 32nd.
When I put this (see below) in my code it changes my custom iproperty to a yes-no
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?
At our plant we try to place all the parts for an assembly on one drawing. i am now working on an assembly with most of the components being fabricated in the shop and using fractional dimensions. However there are a couple of parts that will be machined and should be dimensioned with decimals. When I select a dimension and attempt to alter it it changes the dimension style of the entire drawing. Is there a method of changing only the desired dimensions and not all of them? I could use dual dimensioning and maybe hide the undesired set but I don't know if that would work either.
We were updating the wall finish schedule in our template. Now using the template, if we create a new room, it's number is 3. Where is the setting that controls what the next available room number is?
I have a piece of steel from the content centre 165mm long. The balloon (stacked format) quantity reads 165.000mm. I've had to format the parts list to get rid of the decimal places but I can't find a way of getting rid of them in the balloon. Any format setting somewhere?
I did, a couple of months ago, a part with a rule containing some input boxes. It worked without a bug and set it as a specific template, on Inventor 2012.
I tried to reuse it as a template without changing its rule on Inventor 2013. When the input box pops out and ask the value it needs, if I type "0.2" it says that "string's conversion "0.2" in a 'double' type isn't valid". But if I type "0,2" I have absolutely no problems.
Way to round decimal dimension values to the nearest 1/16"? For instance, 43.0599 would display as 43.0625 (On a drawing). Tried playing with tolerances, but thought it would be better addressed as customization.
I have a short macro to add the compliment angle to all the bend angles on an Inventor 2014 drawing. I want it to always show one decimal point on the compliment angle, but if that would be '0' then it doesn't show it. I.e. in the attached picture I want it to be 58.0 (122.0) DOWN.
Sub Test() Dim oDoc As DrawingDocument Set oDoc = ThisApplication.ActiveDocument Dim oView As DrawingView Set oView = oDoc.ActiveSheet.DrawingViews(1) Dim oNewDimStyle As DimensionStyle Set oNewDimStyle = oDoc.StylesManager.DimensionStyles.Item("RASOR")